The basic formula for ageing in Excel is =$H$1-C2, where H1 holds the report date and C2 holds the invoice due date. It returns the days overdue. Then sort each invoice into a bucket with =IFS(E2<=0,"Current",E2<=30,"1-30",E2<=60,"31-60",E2<=90,"61-90",TRUE,"90+") and total each bucket with SUMIFS.
- Put the report ("as at") date in one cell, for example H1, using
=TODAY()or a fixed date. - Calculate days overdue for each invoice:
=$H$1-C2. - Assign an ageing bucket with IFS, nested IF or LOOKUP.
- Total the balance in each bucket with SUMIFS, or build a PivotTable.
- Highlight the oldest debts with conditional formatting.
What is an ageing report in Excel?
An ageing report groups unpaid invoices by how long they've been outstanding, so you can see at a glance how much money is current and how much is 30, 60 or 90+ days late. It's mostly used for accounts receivable (money customers owe you), but the same method works for payables, stock age or support tickets.
We'll use this sample data throughout. The report date in H1 is 31/12/2026.
| A: Invoice | B: Customer | C: Due date | D: Balance | E: Days overdue | F: Bucket | |
|---|---|---|---|---|---|---|
| 2 | INV-101 | Northwind | 20/12/2026 | 1,200 | 11 | 1-30 |
| 3 | INV-102 | Contoso | 25/11/2026 | 850 | 36 | 31-60 |
| 4 | INV-103 | Fabrikam | 15/10/2026 | 2,400 | 77 | 61-90 |
| 5 | INV-104 | Northwind | 10/09/2026 | 600 | 112 | 90+ |
| 6 | INV-105 | Adatum | 15/01/2027 | 975 | -15 | Current |
| 7 | INV-106 | Contoso | 01/08/2026 | 1,500 | 152 | 90+ |
How do I calculate ageing in Excel?
Subtract the due date from the report date. Excel stores dates as serial numbers, so one date minus another gives the number of days between them.

- In H1, type the report date, or enter
=TODAY()for a report that always uses today's date. - In E2, enter
=$H$1-C2. - Copy the formula down to E7. The dollar signs keep the reference to H1 fixed while C2 moves to C3, C4 and so on.
- If E2 shows a date such as 11/01/1900 instead of a number, change the cell format to General or Number on the Home tab.
A negative result means the invoice isn't due yet. INV-105 shows -15 because it falls due 15 days after the report date. If you'd rather show 0 for anything not yet due, use =MAX(0,$H$1-C2).
To age from the invoice date rather than the due date, point the formula at the invoice date column instead. Ageing from the due date tells you how late payment is. Ageing from the invoice date tells you how old the debt is. Be clear in the report heading which one you've used.
Microsoft's TODAY function page notes that TODAY recalculates when the workbook calculates, so a report built on it changes every day it's opened.
What is the Excel aging formula for 30, 60 and 90 day buckets?
Use IFS to test the days overdue from the smallest band to the largest. In F2, enter:
=IFS(E2<=0,"Current",E2<=30,"1-30",E2<=60,"31-60",E2<=90,"61-90",TRUE,"90+")
IFS stops at the first test that's TRUE, so the order matters. An invoice 36 days overdue fails E2<=0 and E2<=30, then passes E2<=60, so it lands in 31-60. The final TRUE,"90+" pair catches everything else. Microsoft's IFS function reference explains why that last TRUE acts as the default. For more examples, see our IFS function guide.
IFS works in Excel 2019, 2021, 2024 and Microsoft 365. In Excel 2016, use nested IF instead:
=IF(E2<=0,"Current",IF(E2<=30,"1-30",IF(E2<=60,"31-60",IF(E2<=90,"61-90","90+"))))
Our guide to the IF then statement in Excel walks through how nested IFs are read.
A third option, which works in every version and is easier to edit when your bands change, is LOOKUP with two arrays:
=LOOKUP(E2,{-99999,1,31,61,91},{"Current","1-30","31-60","61-90","90+"})
LOOKUP finds the largest threshold that's less than or equal to E2 and returns the matching label. The thresholds must be in ascending order. You can also put the thresholds and labels in a small table on the sheet and reference that range instead of typing arrays, which lets anyone change the bands without editing formulas.
How do I build the ageing summary table?
Total the balance for each bucket with SUMIFS. Set up the bucket labels in H3:H7, then in I3 enter:

=SUMIFS($D$2:$D$7,$F$2:$F$7,H3)
Copy it down. With the sample data, the summary looks like this:
| Bucket | Balance | % of total |
|---|---|---|
| Current | 975 | 13.0% |
| 1-30 | 1,200 | 15.9% |
| 31-60 | 850 | 11.3% |
| 61-90 | 2,400 | 31.9% |
| 90+ | 2,100 | 27.9% |
| Total | 7,525 | 100% |
The percentage column is each bucket divided by the total, for example =I3/$I$8 formatted as a percentage. Our guide to calculating percentages in Excel covers that step in more detail.
You can skip the bucket column entirely and sum straight from the days. For the 31-60 band:
=SUMIFS($D$2:$D$7,$E$2:$E$7,">=31",$E$2:$E$7,"<=60")
To produce a customer-by-bucket grid, add a customer criterion: =SUMIFS($D$2:$D$7,$B$2:$B$7,$K3,$F$2:$F$7,L$2), with customers down column K and buckets across row 2. To count invoices rather than sum them, swap SUMIFS for COUNTIFS, as shown in our COUNTIFS with multiple criteria guide. Microsoft's SUMIFS reference confirms that the sum range always comes first.
Can I make an ageing report with a PivotTable?
Yes, and it's the quickest option once the bucket column exists. Select the data, choose Insert > PivotTable, then drag Customer to Rows, Bucket to Columns and Balance to Values. Excel builds the customer-by-bucket grid with totals in a few clicks.
PivotTables sort text buckets alphabetically, which puts "1-30" before "Current". To fix the order, click a column label and drag it into place, or name the buckets so they sort correctly, such as "0 Current", "1 1-30", "2 31-60" and so on. Refresh the PivotTable (right-click > Refresh) whenever the data or the report date changes.
What we commonly see: the days-overdue column returns #VALUE! or nonsense numbers because the due dates are text, not real dates. This is typical of exports from accounting software. Test a cell with =ISNUMBER(C2). If it returns FALSE, convert the column with Data > Text to Columns, choosing the right date order (DMY for UK dates) on the last step of the wizard.
Should I use TODAY() or a fixed report date?
Use a fixed date for any report you send to someone or file at month end. TODAY() changes every day, so a report emailed on 31 December shows different ageing when it's opened on 5 January. Type the month-end date into H1, or copy H1 and use Paste Special > Values to freeze the current date.
Use TODAY() for a live working sheet, such as a credit controller's daily chase list, where you always want the current position.
Advanced nuance: if your terms are measured in working days, replace the subtraction with =NETWORKDAYS(C2,$H$1)-1, which skips weekends and can take a holiday list as a third argument. Also decide how to treat part-payments and credit notes. Age the open balance of each invoice, not the original amount, or old part-paid invoices will overstate the 90+ bucket.
How do I highlight overdue invoices automatically?
Select A2:F7, then choose Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Enter =$E2>90, click Format, choose a red fill and click OK. Every row more than 90 days overdue turns red, and the colour updates as the report date changes. Add a second rule such as =AND($E2>60,$E2<=90) with an amber fill for the 61-90 band.

All the formulas in this guide work in Excel 2016 and later, except IFS, which needs Excel 2019 or newer. If you're still on an older release, the nested IF version does the same job. If you're choosing a version for finance work, the Office 2024 collection covers a version supported until 9 October 2029.
Frequently asked questions
How do I calculate the number of days between two dates in Excel?
Subtract the earlier date from the later one, for example =B2-A2, and format the result as General or Number. Excel stores dates as whole numbers, so the subtraction gives days. For working days only, use =NETWORKDAYS(A2,B2), which counts both the start and end dates and skips Saturdays and Sundays.
Why does my ageing formula show a date instead of a number?
Excel often copies the date format from the cells used in the formula. The result is correct, but it's displayed as a date. Select the days-overdue column, go to Home and change the Number Format box to General or Number. The cell then shows the day count, such as 36, instead of 05/02/1900.
Can I age invoices by month instead of days?
Yes. Use =DATEDIF(C2,$H$1,"m") to return the number of complete months between the due date and the report date. DATEDIF returns #NUM! if the due date is later than the report date, so wrap it as =IF(C2>$H$1,0,DATEDIF(C2,$H$1,"m")) to handle invoices that aren't due yet.
Is ageing spelt "ageing" or "aging"?
Both are correct. "Ageing" is the usual British spelling and "aging" is the usual American spelling. Accountants in the UK commonly say "aged debtors report" or "debtors ageing", while US teams say "AR aging report". The Excel method is identical whichever term your organisation uses.
How often should I update an ageing report?
Most businesses run a formal ageing report at each month end, using the last day of the month as the fixed report date. Credit control teams often keep a live version based on TODAY() for daily chasing. Refresh any PivotTables and check for new invoices and payments before sharing the figures.
Related guides
- IFS function in Excel: syntax and examples
- COUNTIFS with multiple criteria in Excel
- How to calculate percentages in Excel
- How to convert a pivot table to a normal table
Links in this guide
| Link | Type | Why it helps |
|---|---|---|
| Microsoft Support: TODAY function | External | How TODAY works and when it updates |
| Microsoft Support: IFS function | External | Syntax, the TRUE default and version availability |
| Microsoft Support: SUMIFS function | External | Argument order for the bucket totals |
| IFS function in Excel | Internal | More IFS examples |
| IF then statement in Excel | Internal | Nested IF for Excel 2016 users |
| Calculate percentages in Excel | Internal | Bucket share of the total |
| COUNTIFS with multiple criteria | Internal | Count invoices per bucket |
| Office 2024 collection | Internal | Supported Excel version with IFS |
| Convert a pivot table to a normal table | Internal | Turn a PivotTable ageing grid into static figures |
