Aged debtors: practice exercises
Days overdue at a report date, age bands with XLOOKUP, totals by customer and band, credit limits, invoices to chase with FILTER, debtor days. 6 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.
In D2, work out how many days each invoice is overdue on the report date in H1. An invoice that isn't due yet is 0 days overdue, not a minus number.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Customer | Invoice | Due date | Days overdue | Report date | 26/10/2026 | ||
| 2 | Dunmore Lettings | INV-6100 | 23/09/2026 | |||||
| 3 | Oakwood Nursery | INV-6115 | 23/06/2026 | |||||
| 4 | Oakwood Nursery | INV-6126 | 02/10/2026 | |||||
| 5 | Foxglove Interiors | INV-6132 | 18/11/2026 | |||||
| 6 | Elmfield Dental | INV-6138 | 17/11/2026 | |||||
| 7 | Dunmore Lettings | INV-6146 | 26/10/2026 | |||||
| 8 | Northgate Motors | INV-6160 | 28/08/2026 | |||||
| 9 | Oakwood Nursery | INV-6168 | 26/06/2026 | |||||
| 10 | Northgate Motors | INV-6175 | 01/11/2026 | |||||
| 11 | Oakwood Nursery | INV-6183 | 22/06/2026 | |||||
| 12 | Kestrel Electrical | INV-6191 | 27/08/2026 | |||||
| 13 | Dunmore Lettings | INV-6205 | 11/07/2026 |
How it works
Your debtors (receivables) are the customers who owe you money. An aged debtors report splits what each one owes by how long it's been overdue: current, 1 to 30 days, 31 to 60, 61 to 90 and over 90. Credit control works from it: who to chase first, and who has gone over their credit limit.
Ages are worked out at a report date, usually the month end, kept in a cell. Then the report can be run again next month by changing one date, and it still matches the figures you sent on the day.
=MAX(0,$B$6-B2) =XLOOKUP(D2,$G$2:$G$6,$H$2:$H$6,,-1) =SUMIFS($C$2:$C$40,$A$2:$A$40,$F2,$E$2:$E$40,G$1) =IF(C2>XLOOKUP(A2,$F$2:$F$20,$G$2:$G$20),"Over limit","") =FILTER(A2:C40,(D2:D40>G1)*(C2:C40>=G2)) =ROUND(SUM(C2:C40)/G1*365,0)
Debtors and the report date
Debtors (receivables) are customers who owe you money. Each invoice has a due date. On the report date, usually the month end, days overdue = report date − due date. An invoice due after the report date isn't overdue yet: the subtraction gives a minus number, and MAX(0, …) turns that into 0.
Keep the report date in a cell rather than using TODAY(). Then the report gives the same figures next week as it did on the day, and next month you change one date.
Worked example
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Customer | Due date | Amount | Days overdue | Band | From | Band | |
| 2 | Ashdown Joinery | 15/09/2026 | £1,200.00 | 46 | 0 | Current | ||
| 3 | Beacon Print Co | 20/10/2026 | £480.00 | 11 | 1 | 1 to 30 days | ||
| 4 | Ashdown Joinery | 05/11/2026 | £650.00 | 0 | 31 | 31 to 60 days | ||
| 5 | 61 | 61 to 90 days | ||||||
| 6 | Report date | 31/10/2026 | 91 | Over 90 days |
=MAX(0,$B$6-B2)in D2. From 15 September to the report date, 31 October, is 46 days. Beacon's invoice is 11 days overdue, and the November one isn't due yet, so it shows 0.=XLOOKUP(D2,$G$2:$G$6,$H$2:$H$6,,-1)in E2. Each band starts at the number in column G. Match mode -1 finds 46, or the next one down, 31: 31 to 60 days. 0 days is Current.
The aged debtors report
The report has customers down the side and bands across the top. One SUMIFS fills it all if the right parts are locked: =SUMIFS($D$2:$D$25,$A$2:$A$25,$G2,$C$2:$C$25,H$1). $G2 keeps the customer's column when it's copied across, and H$1 keeps the band's row when it's copied down. The criteria come from cells, so the report matches whatever names are in them.
Each customer also has a credit limit: the most they're allowed to owe. Flag anyone over it with IF and a lookup: =IF(B2>XLOOKUP(A2,customers,limits),"Over limit",""). Owing exactly the limit is still within it, so use >, not >=.
Invoices to chase and debtor days
To list the invoices to chase, FILTER with two tests multiplied: =FILTER(A2:C21,(D2:D21>H1)*(C2:C21>=H2)) keeps rows more than H1 days overdue and for at least H2. Adding the tests (+) would keep rows that pass either one.
Debtor days is roughly how long customers take to pay: what they owe now ÷ the year's credit sales × 365. £45,000 owed on credit sales of £360,000 is 45,000 ÷ 360,000 × 365 = 45.6, or 46 days. If your terms are 30 days, customers are paying late.
What you'll practise
- In D2, work out how many days each invoice is overdue on the report date in H1. An invoice that isn't due yet is 0 days overdue, not a minus number.
- The age bands are in G1:H6, each with the lowest number of days in it. In D2, look up each invoice's band from its days overdue.
- Build the aged debtors report. In H2, total what the customer in G2 owes in the band named in H1. Your formula will be copied across to column L and down to row 5, so lock the right parts.
- Each customer's credit limit is in the table in G1:H9, in a different order. In C2, show Over limit for a customer who owes more than their limit, and leave the cell blank for everyone else. Owing exactly the limit is fine.
- Credit control chases invoices that are more than H1 days overdue and for at least the amount in H2. In J2, use FILTER to list the customer, invoice and amount for each one to chase.
- Debtor days is how long, on average, customers take to pay: what they owe now ÷ the credit sales for the year × 365. In H2, work it out to the nearest whole day.
Guide with worked examples: Aged debtors in Excel: days overdue, ageing bands and totals