I missed the message about inserting rows. Here are revised formulas that will work (after you copy the formula down into the inserted row and put a value next to it in the intervals column)..These formulas should work if you delete rows...
N2: ="1-"&M2
N3: =SUM(M$2:M2,1)&"-"&SUM(M$2:M3)
Copy the formula in N3 down to the end of your intervals.
These formulas should work if you delete rows...
N2: ="1-"&M2
N3: =SUM(M$2:M2,1)&"-"&SUM(M$2:M3)
Copy the formula in N3 down to the end of your intervals.
I missed the message about inserting rows. Here are revised formulas that will work (after you copy the formula down into the inserted row and put a value next to it in the intervals column)..
N2: ="1-"&M2
N3: =SUM(M$2:INDIRECT("M"&ROW()-1),1)&"-"&SUM(M$2:M3)
Ricks adapted formula will be
=SUBTOTAL(9,M$2:INDIRECT("M"&ROW()-1))+1&"-"&SUBTOTAL(9,M$2:M3)
I came late to this thread and I will confess that I did not read all the messages in the entire thread... there were too many of them... so I sort of skimmed it and posted what I thought the OP was after. Thanks TheCman81 for following up on my posting and fixing it for what the OP actually was looking for.Ricks adapted formula will be
=SUBTOTAL(9,M$2:INDIRECT("M"&ROW()-1))+1&"-"&SUBTOTAL(9,M$2:M3)
I came late to this thread and I will confess that I did not read all the messages in the entire thread... there were too many of them... so I sort of skimmed it and posted what I thought the OP was after. Thanks TheCman81 for following up on my posting and fixing it for what the OP actually was looking for.
I came late to this thread and I will confess that I did not read all the messages in the entire thread... there were too many of them... so I sort of skimmed it and posted what I thought the OP was after. Thanks TheCman81 for following up on my posting and fixing it for what the OP actually was looking for.