In this guide
The invoice date does not set the expense
A prepaid schedule can add up correctly while recognizing expense in the wrong months. Claude needs the service period and the approved allocation policy, not just the invoice date.
Consider three fictional contracts at a Dammam company. P01 costs SAR 24,000 for January–December 2026. P02 costs SAR 12,000 for September 2026–February 2027. P03 costs SAR 6,000 for July–September 2026. All cover complete calendar months. This example uses equal monthly expense and carrying costs after the company’s applicable tax assessment; it does not determine VAT treatment.
Trace the inputs to evidence
Obtain approved contract or invoice copies, the August closing schedule, and the September prepaid general-ledger extract. Use the company’s approved workspace, remove unnecessary supplier details, and retain source-document references.
For each contract, verify the cost, service start, service end, and amendment status against the source. Confirm that the September addition P02 was recorded once. An invoice issued in August may still relate to service beginning in September. Do not let Claude fill missing dates from the invoice month.
Build the workbook around a roll-forward
Create Source, Schedule, GL, and Checks sheets. In Schedule, use A=ID, B=Cost, C=ServiceStart, D=ServiceEnd, E=Months, F=MonthlyExpense, G=Opening, H=Additions, I=SeptemberExpense, and J=Closing. Set L1 to the real Excel date September 1, 2026.
For these full-month contracts, E2 can be =(YEAR(D2)-YEAR(C2))*12+MONTH(D2)-MONTH(C2)+1; F2 is =B2/E2; I2 is =IF(AND($L$1>=C2,$L$1<=D2),F2,0); J2 is =G2+H2-I2. Copy down. Partial months, cancellations, and refunds require a separately approved rule.
Use Microsoft’s function catalog to open the YEAR, MONTH, IF, and AND instructions, then compare their arguments with these formulas.
Give Claude a bounded request
Use this copyable prompt:
Create the four-sheet Excel workbook using the stated columns and full-month policy. Preserve source references and use formulas for monthly expense and closing balances. Link opening balances to the approved August schedule and additions to September postings. Show missing dates, duplicates, negative balances, and differences against the general ledger. Do not infer contractual dates or post entries. Include a reviewer column and a separate arithmetic check.
Claude’s file-creation documentation describes producing Excel files with formulas. Check availability in your organization before uploading. Download the workbook, open it in Excel, and recalculate rather than trusting displayed cached results.
You can run this example with a copy of your workbook. If you want Claude to work inside Excel, start with the add-in instructions and return here for the prepaid expense calculation.
Calculate the answer without the generated formulas
Each contract expenses SAR 2,000 in September: 24,000 ÷ 12, 12,000 ÷ 6, and 6,000 ÷ 3. September expense therefore totals SAR 6,000.
The opening balances are P01 8,000, P02 zero, and P03 2,000. Additions are SAR 12,000 for P02. Expected closing balances are:
- P01: SAR 6,000.
- P02: SAR 10,000.
- P03: zero.
Independently, 10,000 opening + 12,000 additions − 6,000 expense = SAR 16,000 closing. Verify that the expired P03 has no remaining balance.
Explain the ledger difference before posting
Assume the ledger shows SAR 17,000 because only SAR 5,000 expense was posted. The schedule is SAR 1,000 lower. Trace posted expense by contract; do not force the spreadsheet to equal the ledger.
Once the missing allocation is confirmed, prepare a draft debit to prepaid-related expense and credit to prepaid expenses for SAR 1,000. After approval and posting, the expected ledger and schedule balances are both SAR 16,000, with zero unexplained difference. Retain the contracts, formulas, posting reference, and reviewer sign-off for the next close.
Sources
- Anthropic: Create and edit files with Claude (new tab)
- Microsoft: Excel functions by category (new tab)
- Anthropic — Get started with Claude for Excel (new tab)
- ICAEW — 20 principles for good spreadsheet practice (new tab)
Sources checked ·
