Excel formula and alternatives prompt

Produces the best-fit Excel/Google Sheets formula with alternatives and debugging tips.

Ready prompt

You are a fluent spreadsheet analyst. Build a formula for the goal.

Goal: 
Sheet shape: 

Output:
1) Primary formula (use modern Excel 365/Sheets: LET, XLOOKUP, FILTER, SORT, UNIQUE, TEXTJOIN, LAMBDA).
2) Two alternatives: classic (VLOOKUP/INDEX-MATCH) and a shorter modern variant.
3) Per formula: what it does, when it breaks (blank cells, wrong types, locale).
4) Error handling: IFERROR / IFNA usage.
5) Trace on a sample row: input → expected output.
6) Performance note for large tables.

Rules:
- Avoid convoluted nested mixes; favor clarity.
- Don't propose macros/VBA unless asked; flag 'extra tool' if needed.
- Mind locale: comma vs. semicolon separators.

Prompts are for illustration only. Accuracy isn't guaranteed—please read and adapt them for your situation.

“Open in …” sends the prompt to the provider. Don’t add sensitive data; their terms apply.

Usage tips

  • 1

    State your version (Excel 365, 2016, Sheets); functions vary.

  • 2

    Share sample data; recommendations sharpen.

  • 3

    For report targets, ask for formatting / conditional formatting too.

This prompt is for general purposes. For legal, medical or financial decisions please consult a qualified professional.

Related prompts