Spreadsheet Formula Builder
Added Apr 2, 2026
About This Prompt
This prompt converts plain English descriptions of calculations into working spreadsheet formulas for Excel or Google Sheets. Whether you need a complex VLOOKUP with multiple criteria, dynamic array formulas, conditional aggregations, or nested IF statements, this prompt generates paste-ready formulas with full explanations. It is ideal for business analysts, finance professionals, and operations teams who know what they want to calculate but struggle with spreadsheet syntax. The output includes not just the formula but also performance considerations and alternative approaches, making it valuable for both quick fixes and production-grade spreadsheet models.
Variables to Customize
[CALCULATION_GOAL]
What you want the formula to compute in plain English
Example: Sum all revenue in column D where the region in column B is 'West' and the date in column A falls within Q1 2026
[SPREADSHEET_APP]
Excel or Google Sheets with version if known
Example: Google Sheets
[COLUMN_LAYOUT]
Description of your column headers and data types
Example: A: Date (mm/dd/yyyy), B: Region (text), C: Product (text), D: Revenue (currency), E: Units (integer)
[CONDITIONS]
Any special conditions, filters, or edge cases to handle
Example: Ignore rows where revenue is blank or zero, and the date column sometimes has text entries like 'TBD'
Tips for Best Results
- Specify your exact column letters and header row to get a formula you can paste directly without editing
- Mention if you need the formula to work as an array formula or a single-cell formula
- If you are building a financial model, ask for the LAMBDA version so you can name and reuse complex logic
Example Output
**Primary Formula (Google Sheets):** ``` =SUMPRODUCT((B2:B1000="West")*(A2:A1000>=DATE(2026,1,1))*(A2:A1000<=DATE(2026,3,31))*(ISNUMBER(A2:A1000))*(D2:D1000<>"")*(D2:D1000<>0)*D2:D1000) ``` **How it works:** The SUMPRODUCT multiplies five TRUE/FALSE arrays element-by-element...