Match multiple payments to Invoices for calculating overdue charges

rdavuluri44

New Member
Joined
Sep 2, 2018
Messages
5
Hi, I need help to automate overdue calculation based on matching multiple payments to multiple invoices on date basis. first payment goes to oldest invoice.
hope below sheet better explains what i'm trying to achieve
thanks in advance


sample data.xlsx
ABCDEFGHIJKLMNOPQRS
1Loan_DateLoan_refLoan_ValuePmt_DatePmt_refPmt_ValueLoan_DateLoan_refLoan_ValuePmt_refPmt_Valuedue (+120d)Pmt_Datedelay daysfee1 @ 6% (<30d)fee2 @ 12% (>30d)Total fee
201-02-22110029-06-22120001-02-221100110001-06-2229-06-22280.460.000.46
314-02-22217031-07-22230014-02-222100110014-06-2229-06-22150.250.000.25
428-02-22328010-10-22350014-02-2227027014-06-2231-07-22470.350.390.74
506-03-22454826-07-22450028-02-223230223028-06-2231-07-22331.130.231.36
616-03-2259029-06-22516928-02-2235035028-06-2210-10-221040.251.221.46
721-03-226481166906-03-224450345004-07-2210-10-22982.2210.0612.28
8166906-03-2245045004-07-2226-07-22220.180.000.18
906-03-2244844804-07-2226-07-22220.170.000.17
1016-03-2259049014-07-2226-07-22120.180.000.18
1121-03-226312431219-07-2226-07-2270.360.000.36
1221-03-226169516919-07-2229-06-22-200.000.000.00
13166916695.5411.8917.44
example
Cell Formulas
RangeFormula
Q2:Q12Q2=IF(P2<0,0,IF(P2<30,P2,30))/365*6%*M2
R2:R12R2=IF(P2<30,0,(P2-30)/365*12%*M2)
S2:S12S2=Q2+R2
Q13:S13,M13,K13Q13=SUM(Q2:Q12)
G7G7=SUM(G2:G6)
C8C8=SUM(C2:C7)
N2:N12N2=I2+120
P2:P12P2=O2-N2
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I cannot promise to assist but I'll try. Unfortunately, the need is not clear. Please give me a more detailed explanation. Describe results and how they are calculated.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top