Prompt Details
Model
Chat - (gpt-5.6)
Token size
359
Example input
[Describe what you want the formula to do, in normal words]: total the amounts in column B where the category in column C says Rent and the date in column A falls anywhere in 2025
[Describe your columns, e.g. A = dates, B = amounts, C = category]: A = dates, B = amounts, C = category
[Excel or Google Sheets, plus version if known]: Excel 365
Example output
Request: total the amounts in column B where category in C says Rent and the date in A falls in 2025 (A = dates, B = amounts, C = category, Excel 365)
1. THE FORMULA
=SUMIFS(B:B, C:C, "Rent", A:A, ">="&DATE(2025,1,1), A:A, "<"&DATE(2026,1,1))
2. HOW IT WORKS
SUMIFS adds up B only where every condition passes. The category condition keeps Rent rows, and the two date conditions fence column A inside 2025. DATE() builds the boundaries safely regardless of your regional date format.
3. WATCH OUT FOR
Returns 0 unexpectedly: your dates are stored as text - fix with Data > Text to Columns > Finish. "Rent " with a trailing space will not match "Rent" - clean once with Find & Replace.
4. SIMPLER OPTION
Need it once? A PivotTable with dates grouped by year gives every category's yearly total with zero formulas.
5. UPGRADE PATH
Excel 365 / Google Sheets: =SUM(FILTER(B:B,(C:C="Rent")*(YEAR(A:A)=2025))) - easier to read, and FILTER can also spill the matching rows themselves.
Get this prompt + 9 more with Select$14 your first month, then $19/mo$14 first month, then $19/mo
View SelectBy purchasing this prompt, you agree to our terms of service
GPT-5.6
Turns a plain English request into a working Excel or Google Sheets formula. Describe what you want in normal words and get the exact formula, a cell-by-cell explanation of how it works, the common errors it can throw and how to fix them, plus a simpler alternative when one exists. Handles lookups, conditional sums, date math, text cleanup, deduplication and nested logic. Works for beginners who have never written a formula and for analysts who want a faster first draft.
...more
Added over 1 month ago
