Invoiced date & amount to payment date and amount

totemos

New Member
Joined
Jun 30, 2022
Messages
6
Office Version
  1. 2016
  2. 2013
Platform
  1. Windows
Hi all,
Hoping to find a solution, to something. Maybe it has already been solved but searching i couldnt find something relative to my problem.

There are data in four columns, seperated by invoice date, invoice amount, payment date and payment amount.

I want to calculate how many days payment have been delayed considering that payments amount is not the excact amount of the invoice. It can be less or more than the invoice amount.

For example :

Invoice DateAmount Payment DateAmount Days
01/3/20225000
03/03/202210000
15/04/202213000
10/05/20228000

Consider the following parameters :
  1. Customer have open payment terms for example 100 days from invoice date and then he has to pay cash.
  2. I want to be able to predict in quick time what money he has to deposit in order to pass the open terms days that we have agreed.
  3. Amount of payments doesnt relate to the amount of the invoice, could be less or more.
  4. So, what i need it to be able to calculate haw many days is the delay for each invoice.

regards

Ioannis
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
how about

=IF(A3="","",IF(C3="",TODAY()-A3, IF(D3<>B3,C3-A3,"")))

Book1
ABCDE
1
2nvoice DateAmountPayment DateAmountDays
33/1/2250004/1/22600031
43/3/22100004/1/2290029
54/15/22130005/17/2213000 
65/10/22800051
7
Sheet1
Cell Formulas
RangeFormula
E3:E6E3=IF(A3="","",IF(C3="",TODAY()-A3, IF(D3<>B3,C3-A3,"")))


you could test the invoice date and only show today() - invoice if over 100 days not paid

a few things possible to do
 
Upvote 0
Correct approach but there is a flaw.

Because the payment amount its not the excact amount of the invoice, some times it leaves an amount unpaid or over paid.

The unpaid amount must be transferred to the next payment as also the overpaid amount will reduce next payment invoice amount.
 
Upvote 0
is this what you mean

Or
not sure i see that needed in the original request

can you give some examples of how that would be shown,
if you want to alter an entry - so if you make an invoice for 6000, BUT they owe 1000 from sometime before , and now you want excel to change the 6000 entered into 7000 you will probably need VBA to do that - which is not my area


Book1
ABCDEF
1
2nvoice DateAmountPayment DateAmountDebit/CreditDays
33/1/2250004/1/226000($1,000.00)31
43/3/22100004/1/22900$8,100.0029
54/15/22130005/17/2213000$8,100.00 
65/10/228000$16,100.0051
Sheet1
Cell Formulas
RangeFormula
E3:E6E3=IF(A3="","",SUM($B$3:B3)-SUM($D$3:D3))
F3:F6F3=IF(A3="","",IF(C3="",TODAY()-A3, IF(D3<>B3,C3-A3,"")))



may want to change the formatting to show RED / Black the other way round
 
Upvote 0
Yes the point is to calculate what amount is left from payment and relate to the next payment. According to this the calculated days differ.
 
Upvote 0
how do the days differ?
can you give examples of expected results and why
 
Upvote 0
for example. invoice date 01/01/2022 invoice amount 1000$
Payment 1) 800 $ on date 30/03/2022
Payment 2) 200 $ (or more if there is newer invoice amount) 30/04/2022

1rst payment has 88 days payment
2nd payment has 119 days.

Imagine that you agree with a customer that he can buy from your store with 100 days open Credit.

Then you ask him to pay, but he makes partial payments that it must not exceed 100 days due to the agreement.

So you must check to always be less than 100 days.

Hope im explaining ok
 
Upvote 0
ok,
so i have added your example

Book1
ABCDEFG
1
2Invoice DateAmountPayment DateAmountDebit/CreditDays
31/1/2210003/30/22800$200.0088
44/30/22200$0.00 
5New date may occurnew amount
6
Sheet1
Cell Formulas
RangeFormula
E3E3=IF(A3="","",SUM($B$3:B3)-SUM($D$3:D3))
G3G3=IF(A3="","",IF(C3="",TODAY()-A3, IF(D3<>B3,C3-A3,"")))
E4E4=SUM($B$3:B4)-SUM($D$3:D4)
F4F4=IF(A4="","",IF(C4="",TODAY()-A4, IF(D4<>B4,C4-A4,"")))


So now , there is no invoice for the 200

how do i then use a date

lets take another example
Book1
ABCDEFG
1
2Invoice DateAmountPayment DateAmountDebit/CreditDays
31/1/2210003/30/22800$200.0088
44/30/2210$190.00 
55/2/2210$180.00
65/4/2210$170.00
75/6/2210$160.00
8new invoice$160.00
Sheet1
Cell Formulas
RangeFormula
G3G3=IF(A3="","",IF(C3="",TODAY()-A3, IF(D3<>B3,C3-A3,"")))
F4F4=IF(A4="","",IF(C4="",TODAY()-A4, IF(D4<>B4,C4-A4,"")))
E3,E8E3=IF(A3="","",SUM($B$3:B3)-SUM($D$3:D3))
E4:E7E4=SUM($B$3:B4)-SUM($D$3:D4)


do i just look for the latest invoice date and use that -
will invoices dates be sequential

and use a more complicated TEXT - but simply something like

Book1
ABCDEFG
1
2Invoice DateAmountPayment DateAmountDebit/CreditDays
31/1/2210003/30/22800$200.0088
44/30/2210$190.00 119
55/2/2210$180.00121
65/4/2210$170.00123
75/6/2210$160.00125
86/1/22$160.00
Sheet1
Cell Formulas
RangeFormula
F4F4=IF(A4="","",IF(C4="",TODAY()-A4, IF(D4<>B4,C4-A4,"")))
G3:G7G3=C3-MAX($A$3,A3)
E3,E8E3=IF(A3="","",SUM($B$3:B3)-SUM($D$3:D3))
E4:E7E4=SUM($B$3:B4)-SUM($D$3:D4)
 
Upvote 0
I cannot upload an spreadsheet so i have attached a photo.
 

Attachments

  • Untitled.png
    Untitled.png
    56.4 KB · Views: 5
Upvote 0
To answer to your question next date is or the next payment date or i must propose to the customer that you have also a remaining amount that must be paid due to this date in order to be below the agreed days.
 
Upvote 0

Forum statistics

Threads
1,216,041
Messages
6,128,467
Members
449,455
Latest member
jesski

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