Standardizing formatting in Analyse function