I'm trying to sum the contents of contiguous cells that have values resulting from a formula.
Before Macro
Cell: Value
M2: 4
M3: 6
M4:""
M5:""
M6: 8
M7: 9
M8: ""
M9:""
Cells M4, M5, M8 and M9 are not empty. These cells have formulas that return "". All cells in this column have the same formula.
After Macro:
M4: 10, M8: 17
A different challenge is that I also need M9 to calculate the sum of M4 and the results of other subtotals in Column M, except M8 (the last sub-total cell). M9=10. M9 is always two cells below the last cell that contains a value in the column.
I would like to post the file or an image, but I can't figure it out. Thanks in advance!
Before Macro
Cell: Value
M2: 4
M3: 6
M4:""
M5:""
M6: 8
M7: 9
M8: ""
M9:""
Cells M4, M5, M8 and M9 are not empty. These cells have formulas that return "". All cells in this column have the same formula.
After Macro:
M4: 10, M8: 17
A different challenge is that I also need M9 to calculate the sum of M4 and the results of other subtotals in Column M, except M8 (the last sub-total cell). M9=10. M9 is always two cells below the last cell that contains a value in the column.
I would like to post the file or an image, but I can't figure it out. Thanks in advance!