AI prompt to write spreadsheet formulas
Email, data entry, reports and planning take up a large share of an agent's week. AI can draft, summarize and organize that work, and specialized tools can pull data from documents and keep client records tidy.
Below is a ready-to-copy prompt to write spreadsheet formulas, a detailed version that asks you clarifying questions first, and 1 specialized AI tool (Gaya) with instructions for this task. It also works in ChatGPT, Claude, Gemini or Copilot.
The prompt
Write Excel/Google Sheets formulas for: count of policies by line, sum of premium by month, and a lookup of producer names by ID, with a short explanation of each. Use sample column letters.
Detailed version (asks clarifying questions first)
Act as an experienced assistant to a licensed insurance agent. Before answering, ask me up to 3 clarifying questions (your goal, the format you want and the tools you already use). Then complete this task, and finish with a short checklist of statements I should verify with my compliance team. Task: Write Excel/Google Sheets formulas for: count of policies by line, sum of premium by month, and a lookup of producer names by ID, with a short explanation of each. Use sample column letters.
What a good result looks like
A good result gives you working formulas for each request (COUNTIF for policies by line, SUMIFS for premium by month, XLOOKUP or VLOOKUP for producer names) with sample column letters and a one-line explanation of what each formula does.
Common mistakes and watch-outs
Check that the formulas match your column layout and that they work in your tool; some functions differ between Excel and Google Sheets. Test on a few rows first. Describe your columns (for example [Client], [Premium], [Renewal Date]) so the formula fits your sheet.
How to adapt the prompt
Describe your real column headers and ask for formulas for other reports, like renewals due next month or retention by producer. Ask for a step-by-step guide to build a pivot table, too.
Assuming: A = Policy line, B = Effective date, C = Premium, D = Producer ID Policies by line (Auto): =COUNTIF(A:A,"Auto") Premium by month (January [Year]): =SUMIFS(C:C,B:B,">="&DATE([Year],1,1),B:B,"<"&DATE([Year],2,1)) Producer name from ID (lookup table in Sheet2 A:B): =XLOOKUP(D2,Sheet2!A:A,Sheet2!B:B,"Not found")
How to use it
- Copy the prompt. Copy the short prompt above, or the detailed version if you want the AI to ask clarifying questions first.
- Add your details. Add the details for your situation (your goal, the format you want and the tools you already use).
- Run it in the right tool. Paste it into ChatGPT, Claude, Gemini or Copilot, or use Gaya as described below.
- Review before you use it. Double-check numbers and extracted data against the source document. Check every fact, name and number yourself.
- Take the next step. Next, see: Clean up and standardize client data.
Best AI tools for this task
Specialized tools first, ordered by fit for this task (never by payout), then any general AI assistant.
Gaya site ↗
AI browser extension (Chrome/Edge) for insurance agencies: captures client data from dec pages, ACORD forms and your AMS, then autofills carrier portals and raters with Super Paste.
Best for: P&C agencies that want to stop retyping client data into carrier portals and raters · Price: From $300/month plus a one-time setup fee, month to month Built for larger agencies · sales demo required · Works with: AgencyZoom, EZLynx, Vertafore QQCatalyst, Vertafore AMS360, HawkSoft, Applied Epic, Momentum (NowCerts), Salesforce, Zoho CRM
Suggested from the related task Clean up and standardize client data.
Pull the client record from your AMS into Gaya once, check the captured fields, then use Super Paste to fill carrier portals and raters instead of retyping.
Any AI assistant
ChatGPT Claude Google Gemini Microsoft Copilot
Paste the prompt above (short or detailed) into any of these.
Want to start today? The specialized tools above need a sales call; paste the prompt into any AI assistant (ChatGPT, Claude, Gemini or Copilot) now.
Before you use it
- Double-check numbers and extracted data against the source document.
- Review every AI output for accuracy and compliance before you use it.
Related tasks
More: All operations and productivity prompts · All AI prompts · Quoting & Comparative Rating tools