Here is an example of what I want.
Let X be any natural number ≤ 1,048,576
If cell HX ≠ 0, then cell A(2+X) = "Totals"
For example:
If cell H10 ≠ 0 , then cell A(2+10) = A12 = "Totals"
Let me describe what I am doing. In a given row I am placing three numbers in different columns and then calculating the sum of these numbers (a sub-total) in the right-most column of the given row. In the bottom row of the right most column I am calculating the grand total. Currently, if obtain three subtotals, the grand total is calculated at the very bottom of the page. I want the grand total to automatically two rows from the last sub-total. I want to be able to add an entry and then have the grand total automatically move down again.
The reason I want to do this is because I do not want a huge amount of blank space between the most recent sub-total and the grand total.
Is this possible to do in excel?
I appreciate your help.
Bookmarks