Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Glad it worked for you and thanks for the reply.
Basically, the subtotal part returns an array of running sums and associated max values. The negatives and min function ensure the data is ordered correctly for the lookup function. "John Casey" wrote: This is it. Brilliant, thanks. I have to work through this as I've never used most of these functions before, but it's extremely elegant and it gives exactly the result expected. Sl thanks a million, Lori. "Lori" wrote: Maybe this filled down from c2 (with d1 as threshold value): =-LOOKUP(-MIN(D$1,SUM(A$1:A2)),-SUBTOTAL({9,4}, OFFSET(A2,ROW(A$1:A2)-ROW(),{0,1},ROW()-ROW(A$1:A2)+1))) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
running total based on text | Excel Discussion (Misc queries) | |||
Pivottable calc. avg. field based upon monthly running price | Excel Discussion (Misc queries) | |||
Running total of hours based on last 7 days | Excel Worksheet Functions | |||
Having trouble finding a BASIC running balance sheet. in/out bala | Excel Discussion (Misc queries) | |||
Finding values based on color | Excel Worksheet Functions |