Excel or Sheets Formula From Plain English
Describe a calculation in plain words and get a working formula, a line-by-line explanation, and the edge cases that will silently break it.
Write a formula for [Excel / Google Sheets: pick one; the function sets differ].
What I want to calculate: [PLAIN ENGLISH, e.g. "sum column C where column A says 'West' and the date in column B falls in the current month"]
My layout: [WHERE THINGS LIVE, e.g. "headers in row 1, data in A2:F500, dates in column B"]
My version, if I know it: [e.g. "Microsoft 365" / "Excel 2016" / "no idea"]
Give me four things:
1. THE FORMULA: paste-ready, using my actual cell references. If my description is ambiguous, make the sensible call and state it in one line ("Assuming 'this month' means the current calendar month, not the last 30 days"): don't stop to ask.
2. HOW IT READS: one line per function, explaining what it does to MY data, not a textbook definition. I should be able to modify this formula myself next month.
3. WHAT WILL BREAK IT: the 2-3 realistic failure cases for this specific formula: blanks, numbers stored as text, dates that are really text, trailing spaces, case sensitivity. For each: the symptom I'd see ("returns 0 with no error") and the one-line fix or check.
4. THE MODERN VERSION: if a newer function does this better (XLOOKUP over VLOOKUP+MATCH, FILTER, SUMPRODUCT, LET for readability), show it and name the versions that support it. If I said an older version or "no idea", make the compatible formula the primary answer.
Rules:
- Don't wrap everything in IFERROR by default: blanket error-hiding hides bad data. Suggest it only where a miss is legitimate (a lookup that can validly find nothing), and say what it will mask.
- If what I described is really a pivot table or Power Query job (repeated manual formulas across changing data), say so and give me the three-step version of that path instead of a heroic formula.How to use
The layout line is what separates a paste-ready formula from a template you still have to adapt. Give real columns and rows. For anything gnarly, paste 5-10 sanitized rows of actual data; the model catches text-formatted numbers and layout surprises it can't guess from a description. If the formula errors, paste the exact error and the formula back rather than re-describing the task.
More business prompts
Build me a monthly budget and a debt payoff plan from these numbers. Take-home income per month: [AMOUNT, and note if it varies] Fixed costs: [RENT/MORTGAGE, UTILITIES, INSURANCE, SUBSCRIPTIONS, TRANSPORT, CHILDCARE, with amounts] Variable spending, last 3 months if known: [GROCERIES, DINING, SHOPPING, ETC.] Debts: [FOR EACH: name, balan
Budget and Debt Payoff Plan
Turn your real income, bills, and debts into a monthly budget and a payoff schedule with the math shown and the tradeoffs named.
Build a 13-week cash flow forecast. Cash on hand today: [AMOUNT, and which accounts] Any restricted or committed cash: [AMOUNT AND WHAT IT IS FOR] Expected inflows: - Receivables outstanding: [CUSTOMER, AMOUNT, INVOICE DATE, TERMS, and how reliably each pays] - Recurring revenue: [AMOUNT, BILLING DATE, CHURN ASSUMPTION] - New sales expe
13-Week Cash Flow Forecast
Build the rolling weekly cash forecast operators actually run on: opening balance, timed inflows and outflows, and the week you run short.
Help me set pricing for [PRODUCT/SERVICE]. What it does and who buys it: [PRODUCT + BUYER] The alternative if they do not buy: [COMPETITOR, IN-HOUSE, SPREADSHEET, DOING NOTHING] What that alternative costs them: [MONEY, TIME, RISK. Estimate if needed and say so.] Value we create, quantified if possible: [TIME SAVED, REVENUE GAINED, COST
Pricing Strategy
Work out what to charge and how to package it: value basis, tier structure, the metric you meter on, and how to test before committing.