How to Make an AR Aging Report in Excel From an Invoice Export
Build an accounts receivable aging report in Excel: days overdue, 30-day buckets with IFS, the summary by customer with SUMIFS or a pivot table, and DSO.
- Excel
- Finance
- Reporting Workflows

On this page
An accounts receivable aging report lists what customers still owe you and sorts it by how late it is: current, 1 to 30 days overdue, 31 to 60, 61 to 90 and over 90. Your accounting or invoicing tool can export the open invoices, and Excel turns that export into the report with three formulas: days overdue, a bucket, and a SUMIFS or a pivot table by customer. Below: the columns you need, each formula on a worked example, the summary table, DSO, and the mistakes that make the totals wrong.
What is an AR aging report?
An AR aging report groups unpaid invoices by how many days they are past their due date, usually in 30-day buckets, with one row per customer and a total per bucket. It shows who to chase first and how much of what you are owed is getting old.
The Corporate Finance Institute puts it this way: the report "sorts the unpaid customers and credit memos by date ranges" Corporate Finance Institute. Its examples are due within 30 days, 31 to 60 days past due, and 61 to 90. The same page shows how some organizations apply a higher bad-debt allowance to the older buckets. Age matters. An invoice 100 days late is less likely to be paid than one 10 days late.
Two questions come up at each month end. Which customers need a reminder or a call this week? Is the share of old receivables growing from one month to the next?
Which columns does the invoice export need?
You need one row per open invoice with the customer, the invoice number, the due date and the amount still open. The invoice date helps for checks, but the age counts from the due date. Export open invoices only, or filter paid ones out first.
The examples below use eight open invoices, with the customer in column A, the invoice number in B, the invoice date in C, the due date in D and the open amount in E. The report date, 30 November 2026, sits in J1.
| Customer | Invoice | Invoice date | Due date | Open amount |
|---|---|---|---|---|
| Atelier Nord | F-1041 | 2026-07-15 | 2026-08-14 | 1,800 |
| Atelier Nord | F-1088 | 2026-10-20 | 2026-11-19 | 2,400 |
| Atelier Nord | F-1102 | 2026-11-10 | 2026-12-10 | 1,500 |
| Bleu Studio | F-1059 | 2026-08-28 | 2026-09-27 | 3,200 |
| Bleu Studio | F-1095 | 2026-11-03 | 2026-12-03 | 2,100 |
| Cobalt Retail | F-1067 | 2026-09-12 | 2026-10-12 | 950 |
| Cobalt Retail | F-1079 | 2026-10-05 | 2026-11-04 | 4,300 |
| Cobalt Retail | F-1099 | 2026-11-06 | 2026-12-06 | -300 |
Use the open amount. Not the invoice total. A 5,000 invoice with 3,000 paid is a 2,000 receivable. The last row is a credit note, a negative amount that reduces what Cobalt Retail owes. Keep it in the report so the customer total matches the ledger.
Check that the due dates are real dates before going further. returns TRUE for a date and FALSE for text that looks like one. Text dates from a CSV are covered in how to convert text to date in Excel.
How do you calculate days overdue in Excel?
Subtract the due date from the report date: . Positive means late. Zero or a negative result means the invoice is not yet due. Format the cell as a number, or Excel shows a date.
=$J$1-D2Put the report date in its own cell. Don't write TODAY() in each row. returns the current date and recalculates each time the workbook opens Microsoft Support. That is fine for a live list, but a month-end report must show the same figures next week. Type the month-end date in J1, or there when you want the live view. More on date arithmetic in how to calculate days between two dates in Excel.
On the sample, F-1041 is 108 days late. F-1088 is 11 days late. F-1102 is due in 10 days, which shows as -10, and it will move into the first overdue bucket on its own once the report date passes 10 December.
How do you put each invoice in an aging bucket?
Test the days overdue from the smallest bucket to the largest with IFS, and return the first label that fits. With days overdue in F2:
=IFS(F2<=0,"Current",F2<=30,"1-30",F2<=60,"31-60",F2<=90,"61-90",TRUE,"90+")IFS checks each condition in order and returns the value of the first TRUE one. The last pair, , catches everything left Microsoft Support. Order matters. Testing first would put a 5-day-late invoice in 61-90.
When the buckets change often, keep them in a small table instead. Put the lower bound of each bucket in L2:L6 (-99999, 1, 31, 61, 91) and the labels in M2:M6, then use . The last argument, -1, returns the next smaller match when there is no exact one Microsoft Support. Changing a bucket then means editing one cell.
The same formulas work in Google Sheets. IFS takes the same pairs of conditions and values Google Docs Editors Help, and SUMIFS the same argument order Google Docs Editors Help.
How do you summarize the aging by customer?
Build a grid with customers down the side and buckets across the top, and fill it with SUMIFS on the open amount. With the customer in P2 and the bucket label in Q1:
=SUMIFS($E:$E,$A:$A,$P2,$G:$G,Q$1)The mixed references let one formula fill the whole grid. SUMIFS adds the amounts where every condition holds, as explained in SUMIFS with multiple criteria. On the sample, the grid gives:
| Current | 1-30 | 31-60 | 61-90 | 90+ | Total | |
|---|---|---|---|---|---|---|
| Atelier Nord | 1,500 | 2,400 | 0 | 0 | 1,800 | 5,700 |
| Bleu Studio | 2,100 | 0 | 0 | 3,200 | 0 | 5,300 |
| Cobalt Retail | -300 | 4,300 | 950 | 0 | 0 | 4,950 |
| Total | 3,300 | 6,700 | 950 | 3,200 | 1,800 | 15,950 |
37.30% of the 15,950 owed is more than 30 days overdue, 5,950 across three invoices.
A pivot table builds the same grid. Put Customer in Rows, Bucket in Columns and the sum of Open amount in Values. Pivot tables sort the labels as text, so 90+ and Current end up in the wrong place. Drag them into order once, or name the buckets "0 Current", "1-30" and so on. Refresh it after each new export, as covered in how to refresh a pivot table.
Always check the grand total against the receivables balance in your accounting tool. A gap means trouble. An invoice was missed, filtered out, or exported with its full amount when part of it had already been paid.
How do you calculate DSO from the same export?
Days sales outstanding is receivables divided by credit sales over a period, times the number of days in that period. The Corporate Finance Institute gives "DSO = Accounts Receivables / Net Credit Sales X Number of Days" Corporate Finance Institute.
=15950/27000*91In this example, invoiced sales from September to November were 27,000 over 91 days. With 15,950 still open, customers take about 54 days to pay on average. Use the same period length each month, so the figure moves only when payment behaviour moves. Compare it with your payment terms. A DSO of 54 against 30-day terms says customers pay well past due.
The aging grid and DSO tell different stories. DSO says how long. The grid says who.
Where does Glow Reports fit?
The formulas above build one month's report. The work repeats every month end: a fresh export, the report date to change, a pivot to refresh, a total to tie to the ledger, and the same charts to redo for the finance review.
With Glow Reports, you upload the invoice export as a CSV or Excel file and ask, in plain language, for the open balance by customer and aging bucket at a given date. The AI writes the SQL, builds the charts and drafts the text. The SQL sits under each figure, so you can check the bucket limits and the report date and edit them if needed. Reports export to PDF and stay in the workspace. The free plan gives 300 credits once, and a report costs 100 credits. For the rest of a month-end pack, see budget vs actual in Excel.
Common questions
Do you age receivables from the invoice date or the due date?
From the due date, if the report is about late payment. Some organizations age from the invoice date to see how old the sale is. Pick one, write it in the report title, and keep it every month.
Where do credit notes and unapplied payments go?
Keep them in the report as negative amounts, in the bucket of their own date or in Current. They reduce what the customer owes. Removing them makes the total disagree with the ledger.
Why does the aging total not match my balance sheet?
The export missed invoices, included paid ones, or used invoice totals instead of open amounts. Check one customer line by line against their ledger account. The difference usually shows on the first customer you check.
What are the usual aging buckets?
Current, 1-30, 31-60, 61-90 and over 90 days past due. Monthly billing fits 30-day steps. With 60-day payment terms, some teams add a 91-120 bucket before 120+.
I am a product engineer and the founder of Glow Reports. I spent more than 6 years building products in tech, data and cybersecurity, for large groups, startups and SMEs. In most organizations I saw data treated as a technical topic, when it drives business decisions. I built the reporting tool I was looking for, so the people who run small and mid-sized organizations can read their own numbers without a data team.
More from El Mehdi BenaneUpload your open invoices to Glow Reports and ask for the balance by customer and aging bucket, with the SQL behind each figure so you can check every limit.


