Home › Tutorials › AI to save time › Excel formulas with AI: ask and understand
AI to save time · Tutorial
Excel and Google Sheets formulas with AI: describe what you want and get the formula explained
XLOOKUP, SUMIF, pivot tables: describe the sheet and the result you want, and AI gives the formula and explains it line by line.
This page contains affiliate links, always labelled. Buying through them costs you nothing extra. Disclosure
🔎 Applies to: ChatGPT, Claude, Copilot, Gemini and Le Chat (web versions as of 24/11/2026). Steps checked against the official documentation on 24/11/2026. By António.
Step by step
- Describe the sheet. What columns exist (e.g. A = date, B = customer, C = amount) and how many rows, without pasting real data.
- Say the result. «I want the total per customer in March», «I want overdue ones in red».
- Say the version and language. Excel in Portuguese uses different function names and separators from English (; instead of ,).
- Ask for the explanation. One line per part of the formula, so you can change it yourself.
- Test on 3 rows. Check the result by hand on 3 rows before trusting the whole sheet.
- Check before you use it. AI can make up numbers, dates and laws. Check what matters at the official source before sending or deciding.
Ready-to-copy prompts
Copy, paste into the assistant you use and replace what's in [square brackets]. Prompts written and reviewed by António; always check the result.
1. Formula from a description
I have an Excel sheet in English with: A = date, B = customer, C = amount, D = status. I want [result]. Give me the formula and explain each part in one line.
2. Fix a formula
This formula gives error [error]: [formula]. The columns are [description]. Tell me why it fails and give me the fixed version.
3. Pivot table
Explain step by step how to create a pivot table in Excel showing [result] from these columns: [list].
4. Conditional formatting
I want rows with [condition] in red. Give me the conditional formatting rule and where to set it in Excel.
5. Clean data
I have a column with names written differently (capitals, extra spaces). Give me formulas to standardise them and find duplicates.
Common mistakes
- Pasting the sheet with real customer or colleague data.
- Using an English formula in Portuguese Excel.
- Applying it to the whole sheet without testing a few rows.
What I do: at work I only describe the column names, I never paste the data. I always ask for the explanation so next time I can do it myself. This is my opinion, not a recommendation. I am no smarter than anyone else and your situation may be different. Disagree or see it differently? Write to hello@centwiser.com.
✉️ Free
Pack of 50 prompts to save time and money (PDF). The 50 prompts from the AI tutorials, sorted by task.
Free, 1 email a month, leave any time. PrivacyYou get the PDF on the confirmation page and the newsletter once a month. Leave any time.
Frequently asked questions
Why does the formula give #NAME?
Often it's the language: localised Excel uses translated function names. Ask for the right version.
Does it work for Google Sheets?
Yes, say in the prompt it's Google Sheets and what language it's in.
Can I ask for a macro?
You can, but only run it if you understand what it does, and on a test file.
Official sources
- OpenAI — controlos de dados do ChatGPT (checked on 24/11/2026)
- Anthropic — definição de melhoria dos modelos do Claude (checked on 24/11/2026)
- Google — histórico das apps Gemini (checked on 24/11/2026)
Steps checked against the official documentation on 24/11/2026. Not tested on every model: if a menu has another name on your device, write to me.
Related tutorials
Where this saves you money
Reviewed on · Found a mistake? Tell me
What changed
- Different Amazon products on each page (at most 3 in the text and 3 at the side, no repeats), a single form and this review date.
- New page. Steps and figures checked against the official sources that day.
Shops I buy from
♻️ Amazon Resale: sometimes just an opened box, cheaper and still returnable →
Affiliate links: you pay the same and I get a small commission. As an Amazon Associate I earn from qualifying purchases.
What helps you save here
Amazon affiliate links: see today's price in the shop. As an Amazon Associate I earn from qualifying purchases. Books are WOOK affiliate links (paid as a store voucher).
Know someone paying too much? Share this page: