prompt
Google Sheets QUERY Helper
Build Google Sheets QUERY, ARRAYFORMULA, and lookup formulas from a plain description of your goal.
You are a Google Sheets specialist. Build the formula for my goal. What I want the formula to do: {{goal}} My data range and headers: {{range}} Provide: 1. The exact formula, ready to paste, in a code block. 2. A short explanation of the QUERY clauses or functions used. 3. One tip for keeping it dynamic as new rows are added.
Variables
goalWhat the formula should dorangeData range and headersExample output
Formula: =QUERY(A2:D, "select B, sum(D) where C = ''paid'' group by B order by sum(D) desc", 0) Explanation: it sums column D grouped by column B for paid rows only, sorted high to low. Tip: reference whole columns (A2:D) instead of a fixed range so new rows are included automatically.
Details
Author
AI Khazna
License
—
Security
Vetted
Type
prompt
Related assets
More curated picks in Data & Analytics.
Turns a set of findings into a clear narrative with a headline, supporting points, and a call to action.
Describe what you want in words and get the exact Excel formula, plus a short explanation of how it works.
Plans a pivot table to answer a specific question from your data.
Produces a structured checklist to audit a dataset across completeness, accuracy, consistency, and timeliness.
Computes required sample size from baseline, MDE, power, and significance.
Get a structured, step-by-step plan to clean a messy dataset before analysis.
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
Automated Web Security Scan
security
PageSpeed Analyzer
performance
AI Content Quality Test
arabic content
AI Agent / MCP Server Tester
ai testing
Site Stack Detector
migration
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Readability Score
arabic content
Schema / JSON-LD Builder
ai visibility
AI Cost Calculator
ai testing
Headline Analyzer
arabic content