Translate plain English requests into Google Sheets QUERY
Transforms plain business questions into working Google Sheets QUERY formulas with correct syntax, quotation marks, and date formats.
Text prompt for ChatGPT and Claude
You get: Production Formula, formula Breakdown and common Pitfalls to Check
Prompt
Act as a Google Sheets formula specialist. Convert the plain English reporting request pasted below into a production-ready QUERY formula.
Rules:
- Output the single formula ready to paste directly into Google Sheets.
- Handle date literals using the mandatory `date 'yyyy-mm-dd'` format if dates are involved.
- Ensure column letters use standard uppercase letters.
- Explain how each clause works in simple, plain terms.
- Highlight any potential breakages regarding mixed data types in columns.
Output format:
- Production Formula (in code block)
- Formula Breakdown (bullet points explaining SELECT, WHERE, ORDER BY, or LIMIT clauses)
- Common Pitfalls to Check
Here is my table structure and plain English request:Example output
Paste your column list and your plain English question into ChatGPT, Claude, or Gemini. If your data contains blank rows or currency signs, ask the model to adjust the formula to ignore nulls or strip formatting.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Fix an Excel or Google Sheets Formula That Returns an Error or Wrong Result
Get a ranked list of the likely reasons your formula fails, a quick check for each, and a corrected formula you can paste straight into your sheet.
Plan a Pivot Table That Answers a Specific Business Question
Get a pivot table plan mapping your fields to rows, columns, values and filters, with aggregation choices, data shape fixes and build steps.
Summarize Pasted Spreadsheet Data into Key Findings and Trends
Paste rows from Excel or Google Sheets and get numbered findings tied to exact figures, a trend table, data quality flags and the gaps that limit conclusions.
Write an Excel or Google Sheets Formula from Plain English
Get a ready-to-paste Excel or Google Sheets formula built for your version and columns, with a step-by-step walkthrough and one test case to check it.
Create an Automated Customer Cohort Retention Matrix in Excel
You receive a step-by-step guide to building a cohort retention matrix in Excel, including the exact formulas for calculating monthly retention rates from raw data.
Highlight matching values across two separate spreadsheet columns
Generate the exact conditional formatting formula and click-by-click instructions to mark duplicate values found across two columns.
- Convert dragged Google Sheets formulas to ARRAYFORMULA
- Write Google Sheets REGEX Formulas to Extract and Clean Text
- Build an Invoice Template in Excel or Google Sheets with Automatic Totals
- Calculate Year-over-Year and Month-over-Month Growth in Excel Without Misleading Percentages
- Design a One-Page Manager Dashboard in Excel or Google Sheets
- Set Up Data Validation Rules That Stop Bad Entries in a Shared Excel Sheet