WerasBlog

What's happening in AI, software, technology and science; plain and sourced.

Subscribe
AI

AI for Excel and Data Analysis: Accurate Results Without Being an Expert

AI makes it easier to recall formulas, clean data, and interpret tables. But you need to know how to check that the numbers are actually right.

AI for Excel and Data Analysis: Accurate Results Without Being an Expert
Image: Rubaitul Azad · Unsplash · Unsplash License

Data analysis with AI speeds up the work Excel and Google Sheets users do every day: writing formulas, cleaning data, setting up pivot tables, and interpreting results. The safest way to use it is to let the spreadsheet do the calculating, not the AI, and to ask the AI for the right formula, the right analysis method, and an interpretation of the results. That way you gain speed and keep your numbers accurate.

Plenty of professionals work in spreadsheets every day without feeling comfortable with advanced formulas, pivot tables, or statistical concepts. AI is a very effective way to close that gap, as long as you use it with its limits in mind.

The core principle of data analysis with AI

Language models are built to generate text, not to do arithmetic. If you paste in a table and say "calculate total sales," the model may or may not get it right. So adopt this division of labor:

  • AI: Suggests formulas, explains the analysis method, lays out the steps, interprets results.
  • Spreadsheet: Does the calculations.
  • You: Check whether the results make sense, and make the decision.

Some AI tools can run code in the background to analyze data. That's far more reliable than calculating directly in text, but it's still a good idea to verify the result by hand against a row or two.

Getting formulas written

Formula writing is where you'll see the fastest payoff. The key is describing your table's structure clearly.

I have an Excel table with this structure:
Column A: Order date (DD.MM.YYYY)
Column B: Customer name
Column C: Region (North, South, West...)
Column D: Amount (USD)
Data runs from row 2 to row 500.

What I need: a formula in G2 that calculates the total 2025
amount for the region entered in F2. I'm using the English
version of Excel. Briefly explain each part of the formula.

Telling the model which language version of Excel you use matters. In localized versions, function names differ (in Turkish Excel, for example, SUMIF is ETOPLA, SUMIFS is ÇOKETOPLA, and VLOOKUP is DÜŞEYARA), and the argument separator may be a semicolon instead of a comma. If you leave this out, you may get formulas that don't work in your version.

Understanding a formula

You can also use AI to understand a formula someone handed you, or a complex one a colleague wrote: asking "what does this formula do? explain it step by step" is a huge help with files you've inherited.

Cleaning data

The most time-consuming part of analysis is usually data cleaning: inconsistently spelled city names, dates in different formats, extra spaces, merged cells. AI helps here in two ways:

  1. Suggesting cleanup steps: Share a few sample rows and ask, "What inconsistencies are in this data, and how do I fix them in Excel?"
  2. Building a mapping table: Create a table that maps variations like "NYC," "new york," and "NEW YORK" to one standard value, then apply it with VLOOKUP or XLOOKUP.

A sample cleanup prompt might look like this:

Below are 15 sample rows from a customer table (names are
fake). Please:
1) List inconsistencies column by column (format, spelling, spacing).
2) For each one, describe a fix I can apply in Excel
   (formula, Find and Replace, Text to Columns, etc.).
3) Tell me which step to do first.
Don't fix the data yourself and send it back; just explain the method.

That last instruction is deliberate. The model can fix 15 rows, but it can't see your 5,000. Learning the method and applying it to all your data in the spreadsheet is both more reliable and reusable. If you do the same cleanup every month, record the steps once and repeat them in the same order each time.

Replace personal data like customer names and phone numbers with fake values in any sample rows you share. The model doesn't need real names to understand the structure of your data.

Asking the right analysis question

Data analysis starts with the right question. AI is a good partner for breaking a raw business question down into sub-questions you can actually analyze.

I have monthly sales data for the last two years (date, product
category, region, amount, units). My manager is asking "why have
sales slowed down?" Which analyses should I run, and in what order,
to answer this? For each one, tell me which Excel tool to use
(pivot table, chart, formula). Don't guess at the answer yet.

The model might suggest a roadmap like comparing categories, breaking results down by region, separating units from average price, and checking for seasonality. The "don't guess at the answer" instruction stops the model from interpreting data it hasn't seen.

Pivot table and chart suggestions

You can also ask which fields belong in rows, columns, and values, or which chart best answers which question. These suggestions make your analysis faster and easier to understand.

Interpreting and verifying results

Once your pivot table or analysis results are ready, you can give the summary to the model and ask for an interpretation. Watch out for two things:

  • Correlation vs. causation: The model may read two variables moving together as cause and effect. Ask: "Which of these interpretations are proven by the data, and which are assumptions?"
  • Missing context: The model doesn't know about the price change, stock shortage, or campaign that happened in that period. You need to add that context.

Verification checklist

  • Are totals and averages consistent with a quick check of the raw data?
  • Does the formula cover every row, or is the range cut short?
  • Are blank or error cells affecting the results?
  • Are percentage changes calculated against the right base?
  • Do the interpretations fit the business context you know?

Privacy and data security

Customer lists, salary tables, and financial data are usually sensitive. Before uploading files like these to AI tools, check the tool's data terms. In most cases, sharing the column structure and a few anonymized sample rows, rather than the whole file, is enough to get formula and method suggestions.

If you run the same analyses regularly, it can be more efficient to set up a reporting system that pulls data automatically, with AI adding an interpretation layer on top. We build data and AI integrations like this as part of our custom software services.

If you're unsure what data you can share, follow a simple rule: to get formula or method suggestions, share only column headers and data types (e.g. "column C: date, column D: amount"). To get interpretation, share aggregated results with no personal information (e.g. total sales by region). Between them, these two approaches cover most analysis needs without sharing any raw data.

Conclusion

Data analysis with AI significantly speeds up formula writing, data cleaning, and interpretation for Excel users. Leave the calculating to the spreadsheet, ask AI for methods and explanations, test its interpretations against your own business knowledge, and verify results with simple checks. That division of labor lets you produce analyses that are both fast and reliable.

#data analysis#excel#ai#reporting#business intelligence

From Weras Labs

We can help you with this

We turn what you just read into working software for your business. You talk to the person writing the code; price and timeline are clear from day one.

Frequently asked questions

Can AI write Excel formulas?

Yes. When you describe your table's structure and the result you want clearly, it can suggest correct formulas. Mentioning which language version of Excel you use ensures you get the right function names and separators.

Can I trust AI calculations?

Language models can make mistakes when they calculate directly in text. It's safer to do calculations in the spreadsheet, or to use tools that can run code and then verify the result against sample rows.

Is it safe to upload my Excel file to an AI tool?

It depends on the tool's data terms and what's in the file. For files with personal or financial data, sharing the column structure and anonymized sample rows instead of the whole file is usually enough.

Can you analyze data with AI without knowing data analysis?

AI can guide beginners by suggesting the right analysis questions and methods. But interpreting results in their business context, and not confusing correlation with causation, remains the user's responsibility.

About the author

Habip Dayan

Habip Dayan

Founder of Weras Labs

Habip Dayan is the founder of Weras Labs, a company that builds software products for professionals and teams. He has been building software since 2018 and writes about AI, cloud architecture and product design.

Comments

Be respectful; no ads or personal data. Comments that break the rules are removed.