I recieve numerous data sheets where the number of columns the data runs into varies. For Eg City A Data runs till column X and city b data runs into column AA.
As part of my analysis i require to check the diffrences in my last three columns
eg: x2-w2, y2-x2 and z2-y2. However I cannot recored a comon macro for this as the no of columns keeps changing with every sheet.
Would love if someone would help out with a macro which would calculte the last column till which data is populated and
then paste the formula to calculate the difference in the last three columns
Thanks
Ameya
As part of my analysis i require to check the diffrences in my last three columns
eg: x2-w2, y2-x2 and z2-y2. However I cannot recored a comon macro for this as the no of columns keeps changing with every sheet.
Would love if someone would help out with a macro which would calculte the last column till which data is populated and
then paste the formula to calculate the difference in the last three columns
Thanks
Ameya