Press Enter to search  ·  Esc to close

Automate Accounts Receivable Tracking in Excel with Claude AI

Stop manually counting days on the calendar to figure out which clients owe you money. This guide demonstrates how to use Claude AI to build an automated Accounts Receivable (AR) tracker in Excel. You will learn to generate dynamic formulas that automatically calculate days outstanding and assign past-due invoices into priority collection buckets, ensuring your finance team focuses on securing cash flow rather than updating spreadsheets.

The Final AR Output

By the end of this mini-course, your raw invoice data will be transformed into a dynamic tracker that instantly flags overdue accounts. It will look like this:

A
B
C
D
E
1
Customer
Invoice Date
Due Date
Amount ($)
Collection Status
2
Global Industries
08/01/2026
08/31/2026
12,500
31-60 Days Late
3
Tech Solutions
09/25/2026
10/25/2026
3,400
Current
4
Apex Logistics
09/10/2026
10/10/2026
8,200
1-30 Days Late
5
Global Industries
07/15/2026
08/14/2026
5,000
60+ Days Late
Claude generates the formula for Column E, dynamically comparing the Due Date to today's date and assigning a status.

Managing AR is the lifeblood of corporate liquidity. As detailed in our AI for Finance hub, keeping a real-time view of outstanding collections allows you to proactively mitigate bad debt.

Preparing Invoice Data

Before prompting Claude, export your open receivables from your billing software. Ensure each row represents a single unpaid invoice. For the formula to work accurately, you need an exact Due Date. If your export only provides an "Invoice Date" and "Terms" (e.g., Net 30), Claude can help you calculate the Due Date first.

A
B
C
D
1
Customer Name
Invoice Date
Terms
Amount ($)
2
Global Industries
08/01/2026
Net 30
12,500
3
Tech Solutions
09/25/2026
Net 30
3,400
4
Apex Logistics
09/10/2026
Due on Receipt
8,200
If your data looks like this, you will need a prompt that calculates the Due Date based on the Terms before finding the days overdue.

Once you have standardized dates, the process becomes entirely automated. You can even link this clean data into a larger visual representation, as shown in our cash flow dashboard course.

The Exact Claude Prompt for AR Tracking

Copy this prompt into Claude. It contains instructions to handle empty dates gracefully and to use the dynamic TODAY() function so your spreadsheet remains accurate every day you open it.

Prompt — paste into Claude
I am building an Accounts Receivable tracking spreadsheet in Excel. I have the following columns: Customer Name, Invoice Date, Due Date, and Amount. Please provide the exact Excel IF or IFS formula to calculate the Collection Status for each invoice. The logic should compare the Due Date against TODAY(). Use these exact buckets: - "Current" (Due Date is in the future or today) - "1-30 Days Late" - "31-60 Days Late" - "60+ Days Late" CRITICAL INSTRUCTIONS: 1. Do not invent any financial figures. Output only the formula and brief instructions on how to use it. 2. If the Due Date cell is blank, the formula should return "Missing Data". 3. Write the formula so it is ready to paste directly into the first row of my data.

Context: Taking Action on the Data

Once the formula assigns every invoice a status, you can easily use Excel's filter functionality to isolate the "60+ Days Late" bucket. This allows your collections team to prioritize their morning calls based on age and amount outstanding.

Frequently Asked Questions

How does Claude handle partial invoice payments in Excel?

Claude does not automatically know about partial payments unless your data includes an "Amount Paid" column. You must instruct Claude to calculate the "Remaining Balance" (Invoice Amount - Amount Paid) and only flag the invoice as overdue if the Remaining Balance is greater than zero.

Can I use Claude to calculate Days Sales Outstanding (DSO)?

Yes. Once your basic AR tracker is functioning, you can prompt Claude to write the formula for DSO using your total accounts receivable and total credit sales over a specific period.

Will the AR tracker update automatically tomorrow?

Yes, provided Claude uses the TODAY() function in the formula. This ensures the "Days Overdue" calculation recalculates dynamically every time you open the Excel file.