Hi I have a worksheet with a process I am trying to automate to save time. So far I am able to record simple macros to get most of the job done but I cannot work out how to make a macro for the second step. I first click on a cell that has information in it and have made a shortcut to insert a blank row. The second step (the step i need an answer for) needs to sum all the cells above it until it comes to a blank row and provide the total in a cell three cells to the right of the targeted cell.
I have tried recording one using relative referencing but as the number of cells above the target varies each time i use the macro it returns an incorrect result. Please see the attached worksheet for an example of the data.
In the example i have already added rows at 63 and 72 to give an idea of the difference there can be in the amount of rows above the targeted cell and i need a macro that will total the cells in the column above B63 and provide the answer in the cell E63.
Then i need to be able to use the same macro to start at B72 and for it to total all the numbers in the column above it until it reaches the blank row and provide the answer in cell E72
I am only new to using macros so if someone could suggest how to do this with the record function that would be great.
Thanks in advance
Bookmarks