collegeitdept
Board Regular
- Joined
- Nov 14, 2008
- Messages
- 185
Does anyone know of a formula (variable – not locked) that will find the sum of the rows above up to the next blank cell/row?
IE: I have a very large spreadsheet full of data that are broken up into separate sections (quarters/semesters/months) – they are “broken”/separated by a blank row. At the end of every section, I need to sum the rows above for only each section.
So I need a formula that will find the sum of the rows above (from the current row) up to the next blank row.
I found a similar formula here:
{=SUM(INDIRECT("B2:B"&MATCH(TRUE,INDIRECT("B2:B100")="",0)+1))}
But this does not work because it sums down to the first blank row and that it is not variable (it is locked to start at cell B2).
Thanks.
IE: I have a very large spreadsheet full of data that are broken up into separate sections (quarters/semesters/months) – they are “broken”/separated by a blank row. At the end of every section, I need to sum the rows above for only each section.
So I need a formula that will find the sum of the rows above (from the current row) up to the next blank row.
I found a similar formula here:
{=SUM(INDIRECT("B2:B"&MATCH(TRUE,INDIRECT("B2:B100")="",0)+1))}
But this does not work because it sums down to the first blank row and that it is not variable (it is locked to start at cell B2).
Thanks.