The three invoices are a sample ledger. The sheet does not write a legal invoice, and it does not set terms for a real client.
Northline Studio, invoice 1041, was issued October 1, 2026 for $1,200 and is paid in full. Harbor Co, invoice 1042, was issued October 15 for $800, with $300 paid and $500 open. Northline Studio, invoice 1043, was issued November 3 for $450, and nothing has been paid. The as-of date in the aging picture is November 17, 2026.
The workbook with a longer list is the invoice and payment tracker.
Due one month later
EDATE returns the date a number of months before or after a start. One month after each issue date is the due date on this sheet.
=EDATE(A2,1)| A | B | |
|---|---|---|
| 1 | Issued | Due |
| 2 | 10/01/2026 | 11/01/2026 |
| 3 | 10/15/2026 | 11/15/2026 |
| 4 | 11/03/2026 | 12/03/2026 |
=EDATE(DATE(2026,10,1), 1)
=EDATE(DATE(2026,10,15), 1)
=EDATE(DATE(2026,11,3), 1)
Those results are November 1, November 15, and December 3.
October 1 plus one month is November 1, which is 31 days later. October has 31 days. A due date of the issue date plus 30 would be October 31. This sheet uses EDATE, so the day of the month stays 1. October 15 stays the 15th. November 3 stays the 3rd. November has 30 days, so November 3 plus 30 days is also December 3. The October 1 row is the one that shows the difference.
The EDATE page uses a date that does not exist in the next month. January 31, 2026 plus one month is February 28, 2026, because 2026 is not a leap year. The 1st, the 15th, and the 3rd all exist in the following month, so none of these three rows moves to the last day of the month.
Who still owes
The balance is the amount minus what has been paid. 1,200 − 1,200 = 0. 800 − 300 = 500. 450 − 0 = 450.
=SUMIFS(D2:D4,A2:A4,"Harbor Co")| A | B | C | D | |
|---|---|---|---|---|
| 1 | Client | Amount | Paid | Balance |
| 2 | Northline Studio | 1200 | 1200 | 0 |
| 3 | Harbor Co | 800 | 300 | 500 |
| 4 | Northline Studio | 450 | 0 | 450 |
| 5 | Billed | 2450 | 1500 | 950 |
| 6 | Harbor open | 500 | ||
| 7 | Northline open | 450 | ||
| 8 | Open invoices | 2 |
=SUM(B2:B4)
=SUM(C2:C4)
=SUM(D2:D4)
=SUMIFS(D2:D4, A2:A4, "Harbor Co")
=SUMIFS(D2:D4, A2:A4, "Northline Studio")
=COUNTIFS(D2:D4, ">0")
SUMIFS adds the balance column where the client is Harbor Co. That is the $500 on invoice 1042. Northline Studio has two rows. The paid invoice contributes 0, and invoice 1043 contributes 450, so the name totals $450. The three balances are 0 + 500 + 450 = 950. Billed is 1,200 + 800 + 450 = 2,450. Collected is 1,200 + 300 + 0 = 1,500.
COUNTIFS of balances greater than 0 is 2. The paid invoice is the row that fails the test.
Collected over billed is 1,500 / 2,450. That ratio is 0.612244…, and a percent format shows 61.22%. The cell keeps the division. It does not store 61.22 as a number that still needs to be divided by 100.
How many days past November 17
The counts below use November 17, 2026, so they stay put on this page. In a file you keep open, that cell is:
=TODAY()
TODAY takes no arguments, and the parentheses are required. It is volatile. Tomorrow’s recalculation changes the day counts. The TODAY page uses a different stand-in, November 11, 2026, and counts 34 days until December 15, 2026. This sheet’s as-of date is November 17, 2026.
DAYS puts the later date first. Here the as-of date is first, and a due date in the future comes back negative.
=DAYS($B$1,B4)| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | As of | 11/17/2026 | |||
| 2 | Invoice | Due | Days | Bucket | Open |
| 3 | 1041 | 11/01/2026 | 16 | 1-30 | 0 |
| 4 | 1042 | 11/15/2026 | 2 | 1-30 | 500 |
| 5 | 1043 | 12/03/2026 | -16 | Current | 450 |
| 6 | Labels in 1-30 | 2 | |||
| 7 | Owed in 1-30 | 1 | 500 |
=DAYS(DATE(2026,11,17), DATE(2026,11,1))
=DAYS(DATE(2026,11,17), DATE(2026,11,15))
=DAYS(DATE(2026,11,17), DATE(2026,12,3))
November 17 minus November 1 is 16. November 17 minus November 15 is 2. November 17 minus December 3 is −16. Subtracting the serials is the same three numbers. Excel 2010 does not have DAYS. The subtraction still works there.
The bucket label uses xl.between, which is true when the value is between the ends, including the ends:
=IF(C3<=0, "Current", IF(xl.between(C3, 1, 30), "1-30", "Later"))
16 and 2 are both between 1 and 30, so invoices 1041 and 1042 are labeled 1-30. −16 fails the first test, so invoice 1043 is Current. A due date on the as-of date is 0 days, which this formula calls Current. The between page treats an end date as inside the window. A day count of 0 is not yet past due.
xl.between(45, 31, 60) is TRUE. That is the test for a 31 to 60 bucket. None of these three invoices is in it, so a sum of open balances with days from 31 to 60 is 0.
The name needs Microsoft 365, Excel 2024, or Excel for the web. Excel 2021 returns #NAME?. The same test without the name is AND:
=IF(C3<=0, "Current", IF(AND(C3>=1, C3<=30), "1-30", "Later"))
Invoice 1041 is paid, and its day count is still 16, so the label is still 1-30. COUNTIFS of the label 1-30 is 2. COUNTIFS of that label and an open balance greater than 0 is 1. SUMIFS of the open amount, with both tests, is $500. The zero balance does not change a sum, and it does change the count. The Current dollars are the $450 on invoice 1043. The longer open list, with buckets through 91+, is How to make an accounts receivable aging report in Excel.
The open amounts in words
xl.number.words spells a dollar amount under $1,000,000 in the check style. The spell-out page uses 1234.56. These two amounts are the Harbor balance and the open total.
=xl.number.words(A2)| A | B | |
|---|---|---|
| 1 | Amount | Words |
| 2 | 500 | five hundred dollars and zero cents |
| 3 | 950 | nine hundred fifty dollars and zero cents |
=xl.number.words(500)
=xl.number.words(950)
500 is five hundred dollars and zero cents. 950 is nine hundred fifty dollars and zero cents. The cents stay in the phrase when they are zero. Five hundred is plural. The spell-out page shows the singular case, one dollar and one cent, on 1.01.
The name needs Microsoft 365, Excel 2024, or Excel for the web. Excel 2021 returns #NAME?. Saving it is the same Name Manager step as the LAMBDA how-to.
A number that is not on the list
1042 is the second invoice. MATCH with 0 returns 2, and INDEX returns the second client, Harbor Co.
=IFERROR(INDEX(B2:B4,MATCH(D2,A2:A4,0)),"No invoice")| A | B | C | D | |
|---|---|---|---|---|
| 1 | Invoice | Client | Lookup | |
| 2 | 1041 | Northline Studio | 1042 | |
| 3 | 1042 | Harbor Co | Harbor Co | |
| 4 | 1043 | Harbor Co | No invoice | |
| 5 | Approximate | Harbor Co |
=IFERROR(INDEX(B2:B4, MATCH(1042, A2:A4, 0)), "No invoice")
=IFERROR(INDEX(B2:B4, MATCH(1099, A2:A4, 0)), "No invoice")
=INDEX(B2:B4, MATCH(1099, A2:A4))
1099 is not in A2:A4. Exact MATCH returns #N/A. IFERROR turns that into the words No invoice. The same wrapper on 1042 returns Harbor Co, because a found client is not an error.
Leave the 0 off and MATCH uses an approximate match. The invoice numbers are in order: 1041, 1042, 1043. 1099 is larger than all three, so MATCH returns 3, and INDEX returns Harbor Co. That is a client name for an invoice the sheet does not contain. The XLOOKUP and INDEX/MATCH page shows the same miss on a state code. Pass 0 unless you sorted the list on purpose and an approximate match is what you want.