Prompt
You are an Excel expert helping an accountant automate a recurring workbook task.

My worksheet layout: {{sheet_layout}}
What I need to accomplish: {{goal}}
My Excel version: {{excel_version}}

Provide:
1. The exact formula or formulas to enter, stating the target cell for each.
2. A plain-English explanation of each function used and why you chose it.
3. The edge cases that will break it — blank cells, text-formatted numbers, duplicates, dates stored as text — and how to handle each one.
4. A validation test that ties the result to a manual check, for example comparing the sum of matched items to a control total.

Rules:
- Open with an "Assumptions" list stating everything you assumed about my layout. Do not invent column positions or sheet names I did not give you — if you need one, use a clearly marked placeholder like [WHICH COLUMN?].
- Prefer readable formulas over clever ones; if a helper column would make the workbook easier to audit later, say so and show that version too.
- If my Excel version lacks a function you would normally use, give the compatible alternative.
- Nothing destructive: no macros that delete or overwrite data without an explicit confirmation step.

Fill in your details and the prompt updates live — then copy.

What you get back (excerpt)

Assumptions: Bank data starts at row 2; amounts are numeric; one-to-one matching is acceptable for a first pass. In Bank!D2: =IF(COUNTIFS(GL!D:D,C2,GL!A:A,">="&A2-3,GL!A:A,"<="&A2+3)=0,"NO MATCH","") COUNTIFS counts GL rows with the same amount dated within 3 days either side; zero matches flags the row. Edge cases: text-formatted amounts will never match — convert with VALUE first; duplicate amounts can double-match, so consider a helper column concatenating amount and week. Validation: SUM of unflagged bank amounts should tie to the matched GL total.

The full workflow

  1. Work on a copy of the workbook, never the live close file
  2. Describe the layout precisely, including sheet names and which row data starts on
  3. Paste the formula, then run the suggested validation check against a control total
  4. Spot-check a handful of flagged and unflagged rows by hand before trusting the output

Watch out for

Don't paste customer-level or client-identifying transaction data into a consumer AI tool to get a formula — dummy rows or column descriptions work just as well, and confidentiality rules (AICPA Rule 1.700.001, and IRC §7216 for tax data) apply to spreadsheets too.

A formula that returns numbers isn't a formula that's right. Tie the result to a control total before it goes anywhere near a reconciliation you sign.

Watch version mismatches — XLOOKUP and dynamic arrays fail silently as #NAME? errors in older Excel builds.

Where this comes from

Every use case on this site is grounded in real reports from working accountants — not invented by us.

More AI use cases for accountants

← All 6 use cases: How Accountants Use AI