Accounts Receivable Days and Aging Buckets in Excel

Learn how to measure how long customers take to pay and spot cash flow risk before it becomes a problem. In this lesson, you’ll build a month-by-month view of collection speed, then group invoices into aging buckets so you can see where your receivables are concentrated and which balances need attention.

Download the Excel file used in this tutorial:

Accounts Receivable Days Walkthrough

1. Create a Month Name Column from the Date

  • Add a new column to extract the month name from your date field.
  • Use the TEXT function to convert the date into a full month name:
    • =TEXT([DateCell],”mmmm”)
  • Fill the formula down for the entire dataset.

2. Calculate Days to Collect for Each Invoice

  • Add a “Days to Collect” column.
  • If you have both an Invoice Date and a Payment Date, calculate days by subtracting:
    • Payment Date – Invoice Date
  • Handle unpaid invoices so they do not distort your averages:
    • Wrap the subtraction in IFERROR so unpaid rows return a blank instead of 0.
    • The goal is to avoid “0” being included in averages (which would lower the average incorrectly).
  • Fill the formula down so every invoice has either a days-to-collect value or a blank.

3. Build a Month List for Reporting

  • Type Month as the header in a summary area.
  • Under it, type January and drag down until December appears.

4. Calculate Average Days to Collect by Month

  • In the summary table, calculate the average days-to-collect for each month using AVERAGEIFS.
  • Structure:
    • Average range: your Days-to-Collect column
    • Criteria range: your Month Name column
    • Criteria: the month name in your summary list (January, February, etc.)
  • Fill the formula down through December.
  • Adjust decimals if desired.

5. Create the Line Chart for Accounts Receivable Days by Month

  • Highlight the Month list and the Average Days result.
  • Insert a Line Chart (Insert → Line) or use Recommended Charts.
  • Apply your preferred styling (the video uses a dark theme).
  • If you want to remove decimals:
    • Click the axis values → Format Axis → Number → set decimal places to 0.
  • If you want the values displayed on the chart:
    • Turn on Data Labels and format them the same way.

6. Create Aging Buckets Using IFS

  • Add a new column that assigns each invoice to an aging bucket based on Days to Collect.
  • Use IFS (cleaner than nested IF statements) to output bucket labels such as:
    • 0 to 15
    • 16 to 30
    • 31 to 45
    • 46 to 60
    • 60+
    • Outstanding
  • Important detail from the video:
    • Outstanding invoices should be labeled as Outstanding, not 60+.
    • If you used IFERROR(…,””), Excel may treat “blank” as a non-truly blank value.
    • Instead of checking ISBLANK(D3), check if the Days-to-Collect cell equals empty text:
      • If Days-to-Collect equals “”, label it Outstanding.
  • Fill the bucket formula down through the dataset.

7. Sum Invoice Amount by Bucket

  • Create a small bucket summary table with your bucket labels listed down a column.
  • Use SUMIFS to sum Invoice Amount by each bucket:
    • Sum range: Invoice Amount column
    • Criteria range: Bucket column
    • Criteria: bucket label in your summary table (example: 0 to 15)
  • Format the result as currency.

8. Count Invoices by Bucket

  • Use COUNTIFS to count how many invoices fall into each bucket:
    • Criteria range: Bucket column
    • Criteria: bucket label
  • Copy the formula down for each bucket row.

9. Calculate Percent of Total

  • Compute “Percent of Total” using:
    • =BucketCount / SUM(AllBucketCounts)
  • Lock the denominator with F4 so it does not move when dragging the formula down.
  • Format as a percentage.

10. Create the Aging Buckets Chart with Two Axes

  • Highlight the Bucket labels and the Invoice Amount totals.
  • Hold Ctrl and also select the Percent of Total column.
  • Insert a Combo chart from Recommended Charts:
    • Bars for Invoice Amount (primary axis)
    • Line for Percent of Total (secondary axis)
  • Apply the dark theme styling and title it something like:
    • AR by Days

Accounts Receivable Days and Aging Buckets in Excel

Q1. What are Accounts Receivable (AR) Days?
AR Days shows the average time it takes customers to pay after an invoice is issued. It helps you understand whether your cash is coming in fast enough to support payroll, vendors, and growth.

Q2. Why can a business look profitable but still struggle with cash flow?
Profit and cash are not the same. You can show revenue on paper while payments come in slowly, creating a cash crunch even when the business appears healthy.

Q3. What are aging buckets, and why do they matter?
Aging buckets group invoices by how overdue they are (for example: 0–15 days, 16–30 days, 31–45 days, 46–60 days, and 60+ days). This makes it easy to see where receivables are piling up and which customers may need follow-up.

Q4. How does this help me prioritize collections?
By separating invoices into clear time-based groups, you can quickly focus on the buckets that represent the biggest risk (often 46–60, 60+, and outstanding) and take action before balances become harder to collect.

Q5. What should I do with invoices that haven’t been paid yet?
This lesson shows how to keep unpaid items clearly labeled (like “outstanding”) so they don’t distort your averages and you can track them separately.

Q6. What’s the best way to visualize AR by aging bucket?
A combo-style chart works well because it can show both the total dollars by bucket and the percent of total in each bucket, giving a fast snapshot of receivables health.

Q7. Where can I download the dataset used in the video?
You can download the file from the link in the video description (and if you have the book, it’s linked there too). You can also email to request the “AR Days” file mentioned in the lesson.

Get more lessons like this
by joining our newsletter

Receive weekly Excel tutorials, tips, and KPIs straight to your inbox

Databoards

Analysis & Development