2026-12-09 · Blog
Invoice aging report in Excel or Google Sheets: days overdue, status and 30/60/90 buckets with SUMIFS
If you invoice clients yourself, "who owes me money, and how late is it?" is the question you need answered every week. A list of invoices with a "paid?" column doesn't answer it. You need three more things:
- a status that changes by itself once the due date passes,
- days overdue for every unpaid invoice,
- an aging report that adds up open balances per client in Current, 1-30, 31-60, 61-90 and 90+ day buckets.
This tutorial builds all three with plain formulas: IF, N, SUMIFS, LARGE, INDEX/MATCH. Nothing here needs FILTER, LET or XLOOKUP, so it works the same in Excel 2010+ and Google Sheets. The clients and amounts are made up.
1. The invoice register
Make a sheet called Invoices. Put the "as of" date in B1:
B1: =TODAY()
Every date check below reads $B$1 instead of calling TODAY() directly. That way you can type a fixed date into B1 to see what the report looked like at month end, or to test your formulas.
Headers go in row 3 and data starts in row 4:
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 3 | Invoice # | Client | Issue date | Terms (days) | State | Total | Amount paid |
| 4 | INV-101 | Larkspur Studio | 01 Aug 2026 | 30 | Sent | 1,200 | |
| 5 | INV-102 | Oakline Bikes | 15 Sep 2026 | 14 | Sent | 800 | 300 |
| 6 | INV-103 | Fernway Bakery | 10 Oct 2026 | 30 | Sent | 450 | 450 |
| 7 | INV-104 | Larkspur Studio | 20 Oct 2026 | 14 | Sent | 950 | |
| 8 | INV-105 | Oakline Bikes | 20 Nov 2026 | 30 | Sent | 600 | |
| 9 | INV-106 | Fernway Bakery | 25 Nov 2026 | 14 | Draft | 300 | |
| 10 | INV-107 | Fernway Bakery | 20 Sep 2026 | 30 | Sent | 700 | 200 |
| 11 | INV-108 | Larkspur Studio | 05 Nov 2026 | 30 | Void | 400 | |
| 12 | INV-109 | Oakline Bikes | 25 Nov 2026 | 30 | Sent | 1,000 | 400 |
State is the only thing you set by hand: Draft, Sent or Void (a data-validation dropdown helps). Amount paid is the running total received. If a client pays in two parts, type the new total, not a second row.
2. Due date and balance
H4 Due date: =IF(C4="","",C4+D4)
I4 Balance: =IF(A4="","",IF(E4="Sent",MAX(0,F4-N(G4)),0))
Format H as a date. Drafts and voided invoices have a balance of 0 because nobody owes you money for them yet, or any more. N(G4) turns an empty "Amount paid" cell into 0, and MAX(0, …) keeps an overpayment from showing up as a negative balance.
3. Status that updates itself
J4 Status:
=IF(A4="","",IF(E4="Void","Void",IF(E4<>"Sent","Draft",IF(N(I4)<=0.005,"Paid",IF($B$1>H4,"Overdue",IF(N(G4)>0,"Partly paid","Sent"))))))
Read it top to bottom. The order of the checks is what makes it work:
- Void beats everything.
- Anything that isn't Sent is still a Draft.
- A sent invoice with no balance left is Paid. The
0.005tolerance stops a rounding leftover like 0.0000001 from keeping it open. - Past the due date with money still owed is Overdue, whether or not part of it was paid.
- Otherwise it's Partly paid or simply Sent.
With B1 = 30 Nov 2026, INV-101 and INV-102 come out Overdue, INV-103 Paid and INV-109 Partly paid (it isn't due until 25 Dec).
4. Days overdue and the aging bucket
K4 Days overdue: =IF(J4="Overdue",$B$1-H4,0)
L4 Aging bucket:
=IF(OR(N(I4)<=0.005,H4=""),"",IF($B$1<=H4,"Current",IF($B$1-H4<=30,"1-30 days",IF($B$1-H4<=60,"31-60 days",IF($B$1-H4<=90,"61-90 days","90+ days")))))
Format K as a plain number (not a date), or 91 days will show up as a date in 1900.
The bucket is empty for anything with no balance, so paid, draft and void invoices never land in the report. Everything with money owed gets exactly one label. "Current" means sent but not due yet.
A note on labels: use 1-30 days, not just 1-30. If you type 1-30 into a header cell, Excel will turn it into the date 30 January, and your SUMIFS will quietly return 0.
Fill H4:L4 down as far as your register goes (row 500 below).
5. The aging report by client
Make a second sheet, Aging:
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 3 | Client | Current | 1-30 days | 31-60 days | 61-90 days | 90+ days | Total owed |
| 4 | Larkspur Studio | ||||||
| 5 | Oakline Bikes | ||||||
| 6 | Fernway Bakery |
The headers in B3:F3 must match the bucket labels exactly, because the formula uses them as criteria:
B4: =SUMIFS(Invoices!$I$4:$I$500,Invoices!$B$4:$B$500,$A4,Invoices!$L$4:$L$500,B$3)
G4: =SUM(B4:F4)
Fill B4 right to F4 and down. The mixed references do the work: $A4 keeps the client column fixed, and B$3 keeps the header row fixed. A total row underneath uses the same formula without the client condition:
B7: =SUMIFS(Invoices!$I$4:$I$500,Invoices!$L$4:$L$500,B$3)
With the sample data you get:
| Client | Current | 1-30 | 31-60 | 61-90 | 90+ | Total |
|---|---|---|---|---|---|---|
| Larkspur Studio | 0 | 950 | 0 | 0 | 1,200 | 2,150 |
| Oakline Bikes | 1,200 | 0 | 0 | 500 | 0 | 1,700 |
| Fernway Bakery | 0 | 0 | 500 | 0 | 0 | 500 |
| Total | 1,200 | 950 | 500 | 500 | 1,200 | 4,350 |
Add one check cell so a typo can't hide money:
B8: =G7-SUM(Invoices!$I$4:$I$500)
It should be 0. If it isn't, an invoice has a client name that isn't in column A of Aging, for example "Oakline Bikes " with a trailing space.
6. A "chase first" list, most overdue at the top
Sorting by hand every week gets old. Add a helper column to Invoices:
M4 Sort key: =IF(J4="Overdue",K4+ROW()/10000,"")
The ROW()/10000 part breaks ties: two invoices that are both 30 days late get different keys, so MATCH can't return the same row twice.
On a third sheet, Chase, row 4 and down:
A4 Row: =IFERROR(MATCH(LARGE(Invoices!$M$4:$M$500,ROWS(A$4:A4)),Invoices!$M$4:$M$500,0),"")
B4 Invoice #: =IF($A4="","",INDEX(Invoices!$A$4:$A$500,$A4))
C4 Client: =IF($A4="","",INDEX(Invoices!$B$4:$B$500,$A4))
D4 Days overdue: =IF($A4="","",INDEX(Invoices!$K$4:$K$500,$A4))
E4 Balance: =IF($A4="","",INDEX(Invoices!$I$4:$I$500,$A4))
ROWS(A$4:A4) counts 1, 2, 3… as you fill down, so each row picks the next-largest key. LARGE skips the empty-text cells, and once the overdue invoices run out, IFERROR leaves the rest blank. Fill down 15 rows or so and hide column A.
You can even draft the reminder line:
F4: =IF($A4="","","Invoice "&B4&" has "&TEXT(E4,"#,##0.00")&" still open, due "&TEXT(INDEX(Invoices!$H$4:$H$500,$A4),"d mmm yyyy")&" ("&D4&" days ago).")
For the sample data the first row reads: Invoice INV-101 has 1,200.00 still open, due 31 Aug 2026 (91 days ago). (In a non-English Excel, the TEXT format codes may need your locale's letters.)
Things to watch
- Partial payments: type the running total paid, not each payment. The status and balance follow it.
- Terms of 0 ("due on receipt") work fine: the due date equals the issue date, and the invoice turns Overdue the next day.
- Credit notes are easiest as a Void on the original and a new, corrected invoice, so the register stays simple.
- These are admin numbers, not accounting. Your bookkeeping or tax rules may need something different.
The finished workbook
I sell a workbook built around this register, called Freelance HQ. It adds a client CRM with next actions, projects (hourly, fixed fee or retainer) with an effective hourly rate, a time log with an unbilled-hours helper, a printable one-page invoice, two ready-to-copy reminder emails and a dashboard. It has no macros and works in Excel and Google Sheets. It's on Gumroad: https://khalidmasscom.gumroad.com/l/kddlg
Launch sale: 40% off with code LAUNCH40 until 19 Dec.
Disclosure: I run the store that sells Freelance HQ. Every formula above works on its own, without buying anything.
More templates like this
Excel & Google Sheets templates, planners, website templates and AI kits.
Browse the catalog