[Solved] auto less cn

Hello Devroy,

To do FIFO allocation of minus values against plus values for each customer, you can use a helper column with a formula to track cumulative amounts.
  • Sort your data by Customer and Date.
  • Use a formula like this in your helper column (assuming amounts in F2):
=IF(F2>0,
MAX(0, F2 - SUMIFS(F$2:F2, A$2:A2, A2, F$2:F2, "<0")),
MIN(0, F2 + SUMIFS(F$2:F2, A$2:A2, A2, F$2:F2, ">0"))
)
 

Online statistics

Members online
0
Guests online
201
Total visitors
201

Forum statistics

Threads
436
Messages
1,935
Members
1,203
Latest member
motox3monline
Back
Top