Please help me out with subtotals. Here's what I am trying to do:
If any cell in the B column has the text "ShiftEnd", then I need to have a subtotal in the corresponding cell up till we encounter another "ShiftEnd". My data goes as follows:
A B C
Mins ShiftStatus Subtotal
217
19
58
44 ShiftEnd =Sum(A2 to ShiftEnded)
338
134
21
15
24
114 ShiftEnd =Sum(A6 to ShiftEnded)
51
166
82
19 ShiftEnd =Sum(A11 to ShiftEnded)
143 ShiftEnd =Sum(A15 to ShiftEnded)
Thanks so much!
Sandy
Bookmarks