AI for Spreadsheets: 5 Beginner Prompts
You no longer need to memorize formulas. You need to describe your data clearly and check the result. These five prompts cover most of what beginners get stuck on in Excel and Google Sheets, and every one works in a free chatbot.

Three things the model needs first
A spreadsheet is a grid of cells. Each cell has an address made of its column letter and row number, such as B2, and a formula is an instruction that starts with an equals sign and calculates something from other cells. A chatbot (a program you talk to in plain language, such as ChatGPT, Gemini, Claude or Copilot) can write formulas well, but only if you tell it three things: which app you use (Excel and Google Sheets share most functions but not all), what your columns are called and what kind of data is in them, and what result you want. Paste the header row and three sample rows, with any private values swapped for made-up ones. Never paste the whole file.
The five prompts
1Write a formula from a plain description
Describe the columns and the question. Ask for a one-line explanation of each part so you learn something, and ask what breaks if your data is not quite what you said.
You should get a SUMIFS formula. Check it by adding up four or five September rows by hand. If the numbers disagree, paste the mismatch back and say so.
2Explain a formula you inherited
Old workbooks are full of formulas nobody remembers writing. Microsoft's Copilot in Excel has a built-in explain feature for exactly this; a free chatbot does the same job when you paste the formula.
3Fix an error message
Excel and Sheets show pound-sign errors when a formula cannot work out an answer. The common ones, per Microsoft's help pages: #N/A means a lookup could not find the value, #VALUE! means the wrong kind of data is involved (often text where a number should be), #REF! means the formula points at a cell that was deleted, and #DIV/0! means dividing by zero or by an empty cell.
Dates stored as text are a classic cause of #VALUE!, and the fix is usually a DATEVALUE conversion or retyping the cells. The model will suggest both; you pick the one you understand.
4Clean messy data
Extra spaces, mixed capitals, "last, first" names, dates in three formats. Ask for the cleanup in new columns so the original stays untouched and you can compare.
5Ask what the data says
Once the sheet is clean, the chatbot can summarize it. OpenAI's help center says ChatGPT can analyze uploaded spreadsheets and CSV files (a plain-text table format), and that file uploads are available on the Free plan within usage limits. Gemini in Sheets and Copilot in Excel do similar analysis inside the app on eligible paid plans. For a beginner, pasting twenty rows as text is enough.
Check one total by hand the first time. If that matches, trust the rest for that session, not forever.
Four power moves
- Name the app every time: "Excel for Microsoft 365" or "Google Sheets". Some functions exist in one and not the other, and the model will not ask.
- Ask for the check: "Also give me a second formula that verifies the first one a different way." Two formulas that agree are worth more than one that looks right.
- Say "step by step": for anything with more than one function nested inside another, ask for the build-up in stages. You will learn the pieces and spot where it goes wrong.
- Keep a scratch copy: make a copy of the file and run every AI experiment there. Nothing the chatbot suggests touches the real sheet until you have seen it work.
Try it now: open a spreadsheet you actually use, copy the header row and five rows into a free chatbot, and run Prompt 1 or Prompt 4. Put the result in a new column beside the original and compare three rows by eye. That comparing habit is the entire skill; the formulas are the easy part.
Quick answers
Can free ChatGPT or Gemini write Excel formulas?
Yes. The free web versions of ChatGPT, Gemini, Claude and Copilot all write and explain formulas for Excel and Google Sheets when you describe your columns. Copilot inside Excel and Gemini inside Sheets need a qualifying paid plan, but they are conveniences, not requirements.
Is it safe to paste my spreadsheet into a chatbot?
Paste the headers and a few rows with sensitive values changed, not the whole file. Customer names, salaries and account numbers should not go into a consumer chatbot. A few made-up rows in the same shape work just as well for building a formula.
What if the formula the AI gives me is wrong?
It often is, slightly: a wrong column letter, an Excel-only function in Sheets, or a bad assumption about your data. Test it on rows where you already know the right answer, paste any error message back, and ask it to fix the formula. Two rounds usually does it.

