Confident CellsExcel practice Start free

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.

Your turn

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.

ABCDEFGH
1CustomerInvoiceDue dateDays overdueReport date26/10/2026
2Dunmore LettingsINV-610023/09/2026
3Oakwood NurseryINV-611523/06/2026
4Oakwood NurseryINV-612602/10/2026
5Foxglove InteriorsINV-613218/11/2026
6Elmfield DentalINV-613817/11/2026
7Dunmore LettingsINV-614626/10/2026
8Northgate MotorsINV-616028/08/2026
9Oakwood NurseryINV-616826/06/2026
10Northgate MotorsINV-617501/11/2026
11Oakwood NurseryINV-618322/06/2026
12Kestrel ElectricalINV-619127/08/2026
13Dunmore LettingsINV-620511/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

ABCDEFGH
1CustomerDue dateAmountDays overdueBandFromBand
2Ashdown Joinery15/09/2026£1,200.00460Current
3Beacon Print Co20/10/2026£480.001111 to 30 days
4Ashdown Joinery05/11/2026£650.0003131 to 60 days
56161 to 90 days
6Report date31/10/202691Over 90 days
  1. =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.
  2. =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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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