Hello
I have a worksheet with multiple rows showing multiple bills details. I have bill amount in column C in each row. I want to enter a lumpsum payment amount in column F and want it to break down in column H as allotted payment to settle each bill in full and then flow onto the next row of H until the amount is fully consumed i.e 0.
The bills are entered datewise. So, basically when I enter a payment amount at a later date after the credit period, that row has multiple pending bill rows above. I would like it pick up the last unpaid / partly paid bill and settle from there down until the payment amount in that row is completely consumed.
I am attaching a sample sheet for your reference.
I would really appreciate any help I can get.
Thanks
I have a worksheet with multiple rows showing multiple bills details. I have bill amount in column C in each row. I want to enter a lumpsum payment amount in column F and want it to break down in column H as allotted payment to settle each bill in full and then flow onto the next row of H until the amount is fully consumed i.e 0.
The bills are entered datewise. So, basically when I enter a payment amount at a later date after the credit period, that row has multiple pending bill rows above. I would like it pick up the last unpaid / partly paid bill and settle from there down until the payment amount in that row is completely consumed.
I am attaching a sample sheet for your reference.
I would really appreciate any help I can get.
Thanks
Test Cycle.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | 24-Jun-23 | Credit Period: | 30 | Current Opening Balance: | 5,00,000 | ||||||
2 | Total Overdue: | 6,25,000 | |||||||||
3 | |||||||||||
4 | Milestone | Amount | Work Date | Bill Due Date | Payment Amount | Payment Date | Allotted Payment | Balance From the bIll | |||
5 | 1 | B-9 | 1,25,000 | 05-May-23 | 04-Jun-23 | 1,25,000 | 0 | ||||
6 | 2 | A-10 | 5,00,000 | 10-May-23 | 09-Jun-23 | 5,00,000 | 0 | ||||
7 | 3 | B-10 | 3,75,000 | 02-Jun-23 | 02-Jul-23 | 1,75,000 | 2,00,000 | ||||
8 | 8,00,000 | #VALUE! | |||||||||
9 | #VALUE! | ||||||||||
10 | #VALUE! | ||||||||||
11 | #VALUE! | ||||||||||
12 | #VALUE! | ||||||||||
13 | #VALUE! | ||||||||||
14 | #VALUE! | ||||||||||
15 | #VALUE! | ||||||||||
BILL CYCLE |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B1 | B1 | =TODAY() |
H2 | H2 | =SUMIF(E5:E21,"<"&B1,C5:C21) |
I5:I15 | I5 | =C5-H5 |
H8:H15 | H8 | =IFERROR(H7+C8-F8,"") |
C8:C15 | C8 | =IFERROR(VLOOKUP($B8,#REF!,2),"") |
E5:E15 | E5 | =IF(D5="","",D5+$E$1) |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B5:B15 | List | =SLAB |