Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

IA para Excel: How to Use AI with Spreadsheets

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can use AI with Excel in two practical ways: through Microsoft Copilot if your Microsoft 365 plan includes it, or through a free chatbot like ChatGPT or Gemini that you paste data into and copy results back from. There is no single built-in "AI button" that works on every Excel version, so the right method depends on your subscription and what you are trying to do. This guide walks through both routes, the limits of each, and the mistakes that make AI output unreliable in spreadsheets.

What You'll Need

  • A Microsoft 365 subscription (for Copilot in Excel) or a free account with a chatbot such as ChatGPT, Gemini, or Claude
  • Excel desktop app or Excel for the web, updated to the current version
  • A spreadsheet with clean headers and consistent data types
  • For Copilot: an eligible Microsoft 365 plan and your organisation or account must have Copilot enabled
  • For sensitive data: a policy on what you are allowed to paste into a third-party chatbot

Step-by-Step

Route 1: Copilot inside Excel

Menu labels can differ slightly by version, device, and region, so treat the paths below as a guide rather than an exact script.

  1. Open Excel and sign in with the Microsoft account that has Copilot enabled. If you are not sure, check your Microsoft 365 account page before starting.
  2. Open the workbook you want to work on. Copilot works best when your data is in a formatted table: select any cell in the range and press Ctrl+T (Cmd+T on Mac) to convert it, then confirm the header row.
  3. Look for the Copilot button on the Home tab. In some versions it appears as a separate Copilot tab or a pane on the right. Click it to open the Copilot pane.
  4. Type a plain-language request in the prompt box, for example: "Add a column that calculates the difference between column D and column E" or "Highlight rows where the status is Overdue."
  5. Review the suggested formula or action before applying it. Copilot usually shows a preview and an Insert button; click Insert only after you have checked the formula references the correct cells.
  6. If the result is wrong, do not edit the formula by hand in the cell. Instead, rephrase the prompt with more specific column names and ranges, then try again.
  7. Save a copy of the workbook before applying large changes, so you can revert if a batch edit goes wrong.

Route 2: A chatbot outside Excel

  1. Open your chatbot of choice in a browser or its app and start a new conversation.
  2. Describe your data structure without pasting sensitive rows: "I have a table with columns Date, Region, Salesperson, Amount. I want a formula that sums Amount for a given Region and month."
  3. Ask for the formula, not the answer. For example: "Give me an Excel formula using SUMIFS that sums column D where column B equals a region in cell G2 and column A falls within the month in G3."
  4. Copy the formula into Excel, then check it against a small manual calculation before dragging it down.
  5. For data cleaning, paste a small sample (five to ten rows) with fake or anonymised values, ask the chatbot to describe the pattern, then apply the logic yourself with Excel tools like Text to Columns or Power Query.
  6. Never paste customer names, account numbers, or health data into a consumer chatbot unless your organisation has approved that tool for that data type.

Common Mistakes

  • Assuming Copilot is included in every Microsoft 365 plan. It is not; check your subscription before troubleshooting a missing button.
  • Asking vague questions like "fix my spreadsheet." AI needs column names, ranges, and the desired outcome spelled out.
  • Trusting a generated formula without testing it on a few rows. A SUMIFS with the wrong criteria range can look plausible and still return wrong totals.
  • Pasting confidential data into a free chatbot. Treat every paste as a potential disclosure.
  • Leaving headers inconsistent (for example "Sales " with a trailing space) so the AI references the wrong column.
  • Using AI to generate macros or VBA without reading the code. Generated code can delete rows or overwrite data if run unchecked.

Tips

  • Convert your range to a table first. Structured references make both Copilot and hand-written formulas more reliable.
  • Name your columns clearly and keep one header row. Avoid merged cells in the data area.
  • Ask for the formula and the explanation separately so you can verify the logic.
  • Keep a "scratch" copy of the workbook for AI experiments and only merge verified results into the master file.
  • When a formula works, paste it as values in a separate column and compare totals before replacing the original.
  • Use Power Query for repeatable cleaning jobs; AI is better at suggesting the steps than at running them every month.

Troubleshooting

If the Copilot button is missing, first confirm your subscription includes it, then update Excel and sign out and back in. If Copilot responds but produces errors, check that your data is in a table and that headers are unique. If a formula returns #REF! or #VALUE!, the referenced range likely does not match the table size; rewrite the prompt with explicit column letters.

If a chatbot gives a formula that Excel rejects, the usual cause is regional settings: some locales use semicolons instead of commas as argument separators. Swap them and try again. If results look right on one row but wrong when filled down, check for missing dollar signs in absolute references.

If you applied a Copilot change you did not want, press Ctrl+Z immediately. If you have already saved, close without saving only if you have not made other changes; otherwise restore from File > Info > Version History if your file is stored in OneDrive or SharePoint.

Frequently Asked Questions

Is Copilot free in Excel?

No. Copilot in Excel requires an eligible Microsoft 365 subscription with Copilot enabled. Free chatbots can suggest formulas, but they are not integrated into the spreadsheet.

Can AI write Excel formulas for me?

Yes, both Copilot and general chatbots can generate formulas such as SUMIFS, XLOOKUP, and IF statements. Always test the result on a few rows before relying on it.

Can I use ChatGPT with Excel?

Yes, by copying a description of your data or a small anonymised sample into the chat and copying the returned formula back. Do not paste confidential data into a consumer tool without approval.

Does AI work in Excel for the web?

Copilot availability in Excel for the web depends on your plan and region. If the button is missing there, try the desktop app with the same account.

Can AI clean messy data automatically?

It can suggest steps, but you still apply them. For repeatable cleaning, use Power Query and let AI help you plan the transformations.

Is it safe to let AI edit my workbook?

Only with a backup. Save a copy first, review every preview, and undo anything that changes more rows than you expected.