Does anyone know how to get a maximum running total based on another field? For example, a running total of quantity purchased during the year up to ending inventory quantity.
QTY PURCH Running TOtal Ending Inv
80 80 200
20 100
50 150
60 210 (but I want this to be max 200=Ending Inv)
QTY PURCH Running TOtal Ending Inv
80 80 200
20 100
50 150
60 210 (but I want this to be max 200=Ending Inv)