Hello,
I have a worksheet that has some data that is a copy and paste from 2 different sheets. We calculate the percentage complete and then manually calculate the differences. I need some help in creating a macro to automate this process. Can someone please help.
Attached is a sample worksheet with "Sample" as the worksheet with the data and "Result" is what I am trying to achieve.
I want to be able to find the first blank cell in column E and then calculate the average of all the digits before the next blank cell is found and so on.
The rows between the blanks will vary based on the month and the week the report is run but will always have a blank cell before the data for the next person. The format will remain the same though.
Then, as per the results worksheet.
1. Insert 3 columns for Target % (E), Distribution % (F) and the Difference in % (G).
2. Calculate the average percentage for Distribution in Column (H).
3. Values in Column F are essentially copy of calculated values from column (H).
4. Column E is the % complete using the formula for Column (D) and (E).
5. And finally column G is the difference between column (E) and (F).
I part I am struggling the most is the calculations in column (H).
I really appreciate your help.
I have also asked this questions here
Bookmarks