Data Analysis with AI in Google Sheets

17 İyul 2026·Updated: ·⏱ ≈11 min·👁 176 views

Data Analysis with AI in Google Sheets
Contents

If spreadsheets make your head spin, this article is for you. AI can read, clean and categorise your data, and even create charts without you writing a single formula. You no longer need to be an Excel expert: just explain what you need in plain language. AI data analysis helps you clean spreadsheet data, answer questions and visualise results.

But there is a catch, and half this article is devoted to it: AI can make mistakes with data, and those mistakes can look convincing. So I will show you both how to use it and how to check its work.

This article is part of the What Is Artificial Intelligence (AI)? is the practical section of the guide.

📊 How Is AI Changing Data Analysis?

Traditionally, data analysis required two things: specialist knowledge of formulas and tools, and plenty of time. AI reduces the need for both.

Now it works like this: you provide messy data, ask a question in plain language and get an answer. "Were this month's sales higher or lower than last month's?" You simply ask, without writing a formula.

Even better, AI can analyse different types of data together . For example, you can provide sales figures alongside customer reviews and ask: "What were customers complaining about in the month when sales fell?"

I want to emphasise one point, because it is often misunderstood: AI helps you analyse data; it does not replace your analyst. Previously, making sense of data meant hiring a trained specialist or spending a long time learning how to do it yourself. Now, someone who knows their business well but lacks technical skills can also "talk" to their data. This is a major change for small businesses in particular, as many do not have an analyst on their team.

The golden rule: AI analyses the data, but you make the decisions. It can tell you that "sales are down 20%", but you, as the person who knows your business, need to assess what that means and what to do next.

🔒 Why Does Data Privacy Matter Before You Start?

I have deliberately put this section first because it is the most important, and where mistakes happen most often. Once information has been shared, it can be difficult to take back.

Do not upload confidential data to a public AI tool. What kind of information does this include?

  • Customers' personal information (names, phone numbers, addresses, card numbers).

  • Internal company financial figures.

  • Contracts and pricing agreements.

  • Employee information and salaries.

The information you upload is sent to an external service. There are two options: use an enterprise tool approved by your company, or remove confidential and personal information before uploading. For example, "Customer 1, 2, 3" may be enough for your analysis instead of customer names, but check for other identifying details too.

Many tools also let you prevent your conversations from being used to train the model. Check the settings and turn off that option.

🧹 How Do You Clean and Structure Data?

The data you encounter at work is often messy: inconsistent formats, empty cells, numbers in images and information buried in text. AI can help bring order to it.

From Image to Table

One of its most useful capabilities is turning data from images or PDFs into structured tables.

"Extract the information from this screenshot and turn it into a table. Columns: date, product, quantity, price."

AI can quickly extract dozens of rows that you would otherwise copy by hand. You then check the figures against the original, transfer the table to Google Sheets or Excel and carry on working. This is particularly useful for digitising old paper documents, handwritten forms or screenshots from another system. However, difficult handwriting and complex tables can lead to errors.

Categorising Text

You have hundreds of customer reviews, support requests or survey responses, and no time to read them all. AI can categorise each one:

"Categorise the following reviews as positive, neutral or negative. Then identify the 3 most common complaints in the negative reviews."

In Google Sheets, you can apply this to an entire column, with each review's category entered alongside it. This can significantly reduce the time it takes to analyse a thousand rows of text.

The AI Function in Google Sheets

This makes marketers' work much easier. Instead of building a complex formula in Google Sheets, you can write instructions in your own words.

For example, suppose column B contains customer reviews. In a new column, enter:

=AI("Classify this review as positive, neutral, or negative", B2)

Then copy the formula down, select the cells and click "Generate and Insert". The first 350 cells are processed in each batch. Previously, you would have had to read every review yourself or build a custom solution.

You can use this function to automate a range of text analysis tasks: classifying reviews, grouping responses to open-ended questions and categorising product names. Just adapt the instruction to each task.

Note: The function is available on eligible Google Workspace and Google AI plans. It supports several languages, but Azerbaijani is not on the official list, which is why the example uses an English instruction.

💬 How Do You Ask Questions in Plain Language?

This is where AI's real strength in data analysis lies: you do not need to know any formulas. You simply ask in plain language.

  • "Which 5 products generate the most revenue?"

  • "Which month had the lowest sales, and what was the total?"

  • "Compare average revenue across channels."

  • "Show the percentage difference between these two periods."

Previously, each of these questions meant looking up a formula or asking someone for help. Now you can simply ask AI.

Even better, you can take a formula you do not understand and ask AI to explain it. Ask: "What does this formula do?" or "Why is this formula returning an error?" This is a quick way to learn how to work with data.

📈 How Do You Create Charts and Visualisations?

Numbers often go unnoticed in a spreadsheet. Turn them into a chart and the picture becomes clearer: changes and differences are easier to spot.

"Show monthly sales in a column chart. Highlight the month with the highest sales."

AI creates the chart, and you copy it into your presentation or report. If your manager does not enjoy reading spreadsheets (and many do not), this can be a real help.

Go one step further and ask for an explanation alongside the chart. "Explain the trend shown in this chart in 3 sentences and suggest possible reasons." You then have both a chart and an explanation ready to use. The chart answers "What is happening?", while the explanation suggests possible causes. Remember, though, that these are hypotheses you need to check separately.

🔗 Combining Different Data Sources

One of AI's most powerful yet underused capabilities is combining seemingly unrelated data to find connections.

We usually look at sales figures, customer reviews and advertising spend separately. Each stays in its own spreadsheet, and we miss the connections between them.

AI can "see" them all at once:

"I am giving you two datasets: monthly sales figures and customer reviews from the same months. Which theme appears most often in reviews during months when sales fell? Is there a connection?"

Answering this question manually could take hours of comparing two spreadsheets and looking for patterns. AI can speed up the process. Sometimes the answer is unexpected: for example, complaints about slow delivery increased in every month when sales fell. This suggests that the sales problem could be linked to logistics.

One caveat: AI can identify correlation (metrics that change together), but this does not establish causation . Two metrics changing together does not mean one causes the other. Investigating the cause is your job.

🔮 "What If?" Scenarios

Data does more than show the past; it also helps you plan for the future. With AI, you can build interactive "what if?" scenarios.

"Based on my data, how would my total revenue change if I increased prices by 15% but the number of products sold fell by 10% as a result? Show the calculation."

Some tools can also build an interactive calculator : move the sliders and see the results change instantly. This can be more useful than a standard spreadsheet for explaining the reasoning behind a decision to your team.

But remember: this is a scenario calculation, not a guarantee. AI calculates based on the assumptions you provide. If those assumptions are unrealistic, the result will not reflect reality either.

❓ Which Metrics Should I Track?

The challenge I encounter most often is less about analysing data and more about knowing what to look at. You have a hundred columns and do not know which ones matter.

Here, AI can act as an adviser. But context is still essential:

"I run a small online shop. My main goal this quarter is to increase repeat purchases. I am preparing a presentation for management, whose main concern is profit. Which 5 metrics should I focus on for this goal, and why?"

Notice that the question includes three things: your business, your goal and your audience. Without these details, AI will give you a generic list. With them, it can suggest metrics tailored to your specific situation .

Then go one step further: "What challenging questions might management ask about one of these metrics?" That way, you know in advance both what to examine and how to justify your findings.

⚠️ What Must You Always Check?

Now we come to the most important part of this article. AI can hallucinatewhen working with data too. This is particularly risky because numbers can look convincing.

Why Does AI Make Maths Mistakes?

When a language model answers without using tools, it can make calculation errors. Data analysis tools can run Python code or use a calculator, but they may still select the wrong data, formula or method. Check the results rather than trusting them blindly.

How Do You Check?

  • Compare the result with a simple formula. If AI says "total revenue is 85 000 AZN", use Google Sheets to check it yourself by adding the relevant cell range to the =SUM() function. Do the results match?

  • Check whether it makes sense. Does the figure look realistic? Is this result plausible compared with last year? What does your experience tell you?

  • Ask for the calculation steps. "How did you calculate this result?" Some tools show the code they used, which can help you spot an error.

The golden rule: Before sharing any figure from AI with your manager or client, check it using at least one method. You are accountable for an incorrect figure.

📌 Practical Example: From Customer Reviews to a Decision

Let's put the theory into practice. Suppose you run a small online shop and have collected 300 customer reviews over the past three months. You do not have time to read them, but you feel something needs to change.

Here is how to build the sequence (each step builds on the previous result):

  • Step 1: "Categorise these 300 reviews: delivery, product quality, price, customer service, other. Count the reviews in each category."

  • Result: You discover that 45% of the reviews are about delivery. You had not realised this; you were worried about product quality.

  • Step 2: "Read the complaints in the delivery reviews. What exactly are customers complaining about: delays, packaging or something else?"

  • Result: It turns out that the problem is products arriving damaged rather than arriving late. Your packaging is worth checking.

  • Step 3: "What should I look at in my own data to investigate this problem?" AI suggests which metrics to check, such as the return rate and which products are affected most often.

  • Step 4: "Create a 30-day plan to resolve this problem."

Note: you have moved from data to a decision and could pause at every step to ask: "Is this correct?" A single prompt saying "Analyse the reviews" might not have taken you this far. This is prompt chaining applied to working with data.

🚀 AI Data Analysis: How to Build a Practical Workflow

Let's bring it all together. Suppose you are preparing a quarterly sales report:

  • 1. Clean the data: AI structures the messy file (remove confidential and personal information first).

  • 2. Get the big picture: "Summarise the key figures."

  • 3. Explore further: ask specific questions.

  • 4. Check: verify the key figures using formulas.

  • 5. Visualise: create a chart and prepare an explanation.

  • 6. Anticipate management's questions: "What 5 questions might a manager ask after reading this report?"

The final step is particularly valuable: it helps you identify weaknesses before your presentation. Having considered the likely questions in advance, you will be better prepared to answer your manager.

Notice that only two of these six steps (2 and 3) directly involve asking AI to analyse data. The others involve cleaning, checking, visualising and preparing. AI can therefore help at every stage of your workflow, including the analysis itself. For anyone working with data, this makes AI more than a single tool: it is an assistant throughout the process.

❓ Frequently Asked Questions

Can I use it if I do not know Excel?

Yes, this is exactly how AI has changed data analysis. You ask questions in plain language, without needing to know formulas. AI can also teach you Excel/Sheets formulas. Ask: "How do I do this calculation in Sheets?" and it will walk you through the steps.

How many rows of data can I provide?

It depends on the tool, the file's size and structure, and the context window . For large datasets, uploading the file or using a suitable Google Sheets integration is more practical than copying and pasting. Gemini also offers these options.

How much can I trust AI's analysis?

It is useful for identifying broad trends and analysing text, such as categorising reviews, but it can make mistakes in these tasks too. Always verify exact figures. A simple rule: use it for direction, and check important findings.

Which tool is best for data analysis?

If you work in Google Sheets, Gemini is a convenient choice thanks to its direct integration. ChatGPT is also strong for general analysis. For more detail, see the comparison article.

How do I remove personal information?

The simplest approach is to replace names with "Customer 1, 2, 3" and delete phone and card numbers. Check whether other details could still identify someone. If you keep a file linking names to codes, store it securely and separately, and do not upload it to AI.

Can AI's analysis be biased?

Yes, and this risk is often overlooked. AI may tailor its answer to your expectations, especially if you ask a leading question. If you ask "Why is this product bad?", AI may focus on the negatives even if the data is neutral. Ask a neutral question instead: "What do the reviews say about this product?" If the answer still seems one-sided, ask directly: "Are there reviews that suggest the opposite? What do the positive reviews say?"

Is it useful to check the analysis with another tool?

Yes, this is one way to add an extra check. Ask two different tools, such as ChatGPT and Gemini, to check an important finding. Matching answers do not prove the result is correct, as both tools could make similar mistakes. If the answers differ, investigate why. In particular, check figures against the original data and an independent calculation.

Conclusion

AI has made data analysis more accessible: you can now make sense of data without being an analyst. That gives you much greater independence.

But independence brings responsibility: AI produces the figure; you sign it off. So if you remember one thing from this article, make it this: independently check every important figure AI gives you.

Try something this week: give AI an old data file, after removing confidential and personal information, and ask: "Is there a trend here that I have missed?" Then check the most important figure it finds yourself in Google Sheets. Two steps: one can reveal something new, while the other teaches you when to trust AI. Working well with data comes down to these two habits: staying curious and checking your findings.

Final step: research and planning: Research and Planning with AI: Deep Research, NotebookLM and Gems

If you need to bring your channels and budget together in one plan, my media planning and strategy service explains how I approach this work.

Topic: Artificial Intelligence: posts in this topic →

Tural Rəhimov

About the author

Tural Rəhimov

Digital Marketing Manager: UM Azerbaijan

Digital marketing manager at Universal McCann (UM Azerbaijan). Experienced in Google Ads, Meta Ads, TikTok Ads and media planning. I help brands grow online.

More about me →

Need digital marketing support for your business?

Let's talk: I can help with everything from strategy to ad management.

Message me