Hi, I'm trying to figure out if it is possible by using a macro/vba to sum a list of contiguous cells in column B by determining if the value in column A = 'Total'. I know I can do something like IF(A10 = "Total", Sum(B1:B9)), but the problem is I don't know automatically how many rows will need to be summed for that group. I can't use subtotals because I need to preserve the existing formatting and there are other subtotals that I need to leave along. Is there a way by using a macro/vba to determine how many rows need to be totalled in each contiuous group of rows, seperated my blanks (2 or more blank rows divide each group).
Thanks for your help,
Andre
Thanks for your help,
Andre