I'm having difficulty in writing a formula that will conditionally total values until the next non-blank cell in an adjacent column. Column 'A' contains the category labels (the individual titles do not repeat are not repeated - subsequent rows that are contained in the same category are represented as blank). Column 'B' contains the values for each line item. Column 'C' is where I want to include a formula that provides the category totals. the category totals must be at the TOP of the category, in the same row as the category labels. It is possible that Column 'B' may have blank cells, so that column cannot be used for any COUNT functions. Column 'A' seems to be the one with a consistent pattern - it either contains a label or is blank.
The user will be inserting and/or deleting rows to accommodate additional line items, and cannot be relied upon to modify a typical SUM function range. The desired function must by dynamic, as far as the number of rows to include in the sum. The screenshot and attached worksheet represent only a small portion of the actual. There are numerous spreadsheets, and numerous category labels on each. I am familiar with dynamic ranges, but cannot see that working very well in this application.
Thanks in advance for any help that you may provide,
SUM screenshot.jpg
Bookmarks