AI prompts for Finance and accounting

Prompt to write an Excel formula from a plain description

Writes an Excel or Google Sheets formula from a plain description of what you want, with an explanation of each part and a test case.

When to use it When you know what you want to calculate but not the formula, such as aging receivables or summing with two conditions.

The prompt, ready to copy

Role: spreadsheet expert who explains to accountants.
Task: write a formula that does what is described below.
Context:
- Software and version: [Excel 365 / Excel 2016 / Google Sheets]
- UI language and argument separator: [English with , / Arabic with ;]
- Column layout: [e.g. A invoice date, B customer, C amount, D payment date]
- What I need: [plain description]
Constraints:
- Use only functions available in that version
- Explain each part of the formula in one line
- Handle blank cells and errors
- Do not assume data; make a small test example of your own and label it as such
Output:
1. The formula
2. Explanation part by part
3. Test example: 3 rows and the expected result
4. Common mistakes when copying it down

Example of filled brackets

Software: Excel 365, English UI
Columns: A invoice date, C amount, D payment date
Need: classify each unpaid invoice by age: 0-30, 31-60, 61-90, over 90 days

Check these before you use it

  • Test the formula on rows whose results you know
  • Check date formats in your sheet (day/month order)
  • Spot-check results before using them in a report

How to use this prompt

  1. Copy the prompt: Press the copy button or select the whole text.
  2. Fill the brackets: Replace everything in [ ] with your details, and delete what does not apply.
  3. Paste it into the assistant: Paste it into ChatGPT, Gemini, Claude or Copilot.
  4. Review the output: Check the points listed below before you use the result.

All Finance and accounting prompts