How can I calculate the number of days past due based on the date paid and invoice due date?

Pancakey

New Member
Joined
Sep 27, 2023
Messages
22
Office Version
  1. 2021
Platform
  1. Windows
Hello,
I am trying to figure out how I can calculate the number of days the invoice remains outstanding until paid.

So column G is supposed to show how many days have passed since the invoice date. This number will continue to increase until column J is marked as paid. We can use column I or column J to determine when the days stop counting. Is there a formula I can use to get the desired result?

1695872872206.png


Thank you in advanced!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Book1
EFGHIJ
1Invoice DateInvoice due dateDays exceededInvoice TotalPayment DatePaid
29/20/20239/20/20230$ 630.009/27/2023Paid
39/19/20239/19/20239$ 2,695.03Unpaid
Sheet1
Cell Formulas
RangeFormula
G2:G3G2=IF(J2<>"Paid",TODAY()-F2,0)
 
Upvote 0
Hi & welcome to MrExcel.
Is this question for Excel or Google Sheets?
 
Upvote 0
Hello! Thank you.

I am working off both Excel and Google sheets. I imagine both of them would work similarly.
Sorry I realized I shared a screenshot of my google sheet.
 
Upvote 0
Book1
EFGHIJ
1Invoice DateInvoice due dateDays exceededInvoice TotalPayment DatePaid
29/20/20239/20/20230$ 630.009/27/2023Paid
39/19/20239/19/20239$ 2,695.03Unpaid
Sheet1
Cell Formulas
RangeFormula
G2:G3G2=IF(J2<>"Paid",TODAY()-F2,0)
Thank yooou so much!! This worked for me. I have been trying to figure out which formulas to use to get the expected results.
 
Upvote 0

Forum statistics

Threads
1,215,102
Messages
6,123,097
Members
449,096
Latest member
provoking

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