Ga naar hoofdinhoud

Grok in Excel: A Hands-On Guide With 6 Practical Examples

Learn how to use Grok in Microsoft Excel to analyze data, generate formulas, clean spreadsheets, create charts, and run financial scenarios using natural-language prompts.
30 jul 2026  · 14 min lezen

Verkennen met AI

Openen in ChatGPTOpenen in ClaudeOpenen in Perplexity

A lot of data work still ends in Excel. The forecast, the regional sales table, the scenario someone wants changed by Friday: that is where the numbers people actually use tend to live. So it is not surprising that AI companies keep trying to put assistants inside the spreadsheet itself, not in a separate chat window.

In the summer of 2026, SpaceXAI (formerly xAI) shipped Grok add-ins across several Office and Workspace apps. Grok for Excel landed on July 20, 2026. It runs as a sidebar next to the workbook, reads the range you select, and can write formulas, build charts, and edit cells in place. The edits show up as normal Excel content: formulas in the formula bar, charts on the sheet. You are not copying answers out of a browser tab.

It is a new add-in, not a settled habit yet. I still check every formula and edit by hand. Below I cover six workflows, plus pricing, what the add-in can see, and where those checks matter most. If you already know the pricing, jump to the six examples.

What Is Grok for Excel?

Grok for Excel is the Microsoft 365 add-in I described above: a chat panel beside the worksheet. You select a cell, table, or range, type in plain English, and it answers in the sidebar or writes into the sheet when you ask. SpaceXAI's product page also says it cites the cells behind an answer, which is useful when you want to see where a number came from.

One caveat on "reads only what you select": Microsoft's Marketplace listing gives the add-in broader permissions than that phrase suggests. As I will cover in the privacy section later, read that consent text before you point this at a sensitive file.

Grok task pane open in a side panel next to an Excel worksheet, with a prompt field visible at the bottom.

Grok sidebar docked beside Excel workbook. Image by Author.

What Grok can do in Excel

SpaceXAI's Marketplace listing and product page list these tasks from the sidebar. I am listing their claims here, not results from a full test suite of my own:

  • Answer plain-English questions about a selected range and cite the cells it used
  • Write, explain, and modify Excel formulas, including relative, absolute, and structured table references
  • Clean, standardize, and fix messy data
  • Create charts and summarize data into PivotTables
  • Rebuild financial forecasts and what-if scenarios, and flag the cells it changed
  • Search the web from the sidebar and, if you set them up, pull context from connectors like SharePoint or Google Drive

I will walk through each of those in the examples below. The product is new, so I would still confirm things like "flags changed cells" and in-sheet PivotTables on your own file.

Which model powers Grok for Excel

SpaceXAI's developer docs say Grok 4.5 is the default model for the Word, PowerPoint, and Excel add-ins. Specs there include a 500,000-token context window, a knowledge cutoff of February 1, 2026, and a reasoning_effort setting (low, medium, or high) that defaults to high. If you later try the financial model in Example 5, the context window is the number I care about more than any scoreboard: it limits how much of the workbook Grok can keep in view. The default model can change. SpaceXAI ships new versions often.

Grok for Excel Pricing and Plan Requirements

Before you spend time on install, it helps to know what the add-in actually costs to use.

Installing Grok for Excel from Microsoft Marketplace is free. Using it for real work is not. The listing says the add-in "is currently available to SuperGrok, Heavy, Business and Enterprise plans" and that usage limits apply. The Register hit those limits fast without an eligible plan. "Free add-in" is true. "Free to use" is not.

SuperGrok is listed around $30 a month for individuals. Business is billed per seat at a similar rate. Enterprise is negotiated with SpaceXAI sales. Heavy sits above SuperGrok; public prices for it jump around, so check x.ai/pricing yourself.

Usage comes from a shared weekly pool across Grok products (chat, image generation, voice, coding, and the Office add-ins). That shared-pool model rolled out in June 2026. There is no separate published quota just for Excel. If you hit the limit, you wait for the weekly reset, buy extra credits, or upgrade. Company admins can also allow, restrict, or block Microsoft 365 add-ins for the whole tenant. If Grok does not show up in the Marketplace search at work, start there.

How to Install and Set Up Grok in Excel

Install itself is quick. The plan requirement from the pricing section is what usually stops people mid-session.

Requirements before you start

You need a Microsoft 365 account that can install add-ins, a version of Excel that supports them (desktop, web, or Mac), and an eligible Grok plan from the list above. Keep a small test workbook ready so you are not pointing this at anything important on day one.

Step 1: Install Grok from Microsoft Marketplace

In Excel, open Insert (or Home) > Add-ins > Get Add-ins, then search for "Grok" or "Grok by SpaceXAI for Excel." Check the publisher name. Copycat listings can show up in the same search. Click Add, then read the permissions Microsoft shows before you accept. As I will cover later, that consent screen is clearer than SpaceXAI's product copy about what the add-in can do with your file.

Grok by SpaceXAI for Excel Marketplace overview page with publisher name and Add button.

Grok add-in overview before installing. Image by Author.

If the Add button is missing at work, that usually matches the admin block I mentioned under pricing. An admin has to approve or deploy the add-in.

Step 2: Open Grok from the Excel ribbon

After install, Grok shows up under the Home tab or in My Add-ins. Open the sidebar and sign in with an eligible Grok account. You should only need to sign in once. SpaceXAI's add-in copy says "sign in once and it's ready when you need it."

Step 3: Select workbook data and start a conversation

Select a cell, table, or range first (same rule as the intro). Grok scopes answers to what you have highlighted. An empty or vague selection is how you get a vague reply. Type a clear instruction, read the response, and check that any formulas, values, or charts landed as normal Excel content you can edit yourself.

How to Use Grok in Excel: 6 Practical Examples

These six workflows match the feature list above. I built a small practice workbook with three sheets so I could try the prompts without risking a real file: regional sales, a messy customer list, and a monthly financial model. Treat the prompts as starting points. Check every output.

Example 1: Ask questions about Excel data

Start with a small table and clear headers. Mine has five regions and six months of revenue, cost, and units sold. Select the whole table and ask something direct: which region grew fastest, what changed between two months, or whether any value looks off.

SpaceXAI says Grok cites the cells it used, the same claim I noted under "What Is Grok for Excel?". That helps you find the source. It does not prove the math. I still spot-check at least one number before I pass a summary along.

Grok answer citing specific source cells. Video by Author.

Example 2: Generate and explain Excel formulas

This is the workflow I reach for first. Excel syntax has small traps (AVERAGEIF() and AVERAGEIFS() reverse their argument order, for example) that a plain-English request can avoid. Ask for a month-over-month growth column that stays blank instead of #DIV/0! on each region's first month, or a three-month rolling average next to it.

Grok formula appears in formula bar. Video by Author.

When the formula lands, open the formula bar and read it before you fill down. Ask Grok to explain the formula, and why it picked that function. If the fill needs to restart at each region, say that up front. A vague ask like "the revenue column" leaves Grok guessing at ranges you already know.

Example 3: Clean up messy spreadsheet data

Messy sheets usually share the same issues: mixed capitalization, country names like USA, united states, and U.S.A. in one column, mixed date formats, duplicate rows, and blank cells. My practice file puts all five into a ten-row customer list on purpose.

Messy customer data before Grok cleanup. Video by Author.

Select the range and ask Grok to standardize text, normalize dates, flag duplicates and blanks, and write the cleaned result to a new sheet. Keep the original. The same cleanup prompt can return slightly different text on a second run. Compare row counts before and after, and check values that should not have changed.

If you clean the same file on a schedule, I still use Power Query for that job. It gives the same result every time. An AI pass does not.

Example 4: Create charts and PivotTables with Grok

Select the regional sales table again. Ask Grok to total revenue by region, then make a chart. Charts and PivotTables are both named on the Marketplace listing, as in the feature list above. Check the chart type. A bar chart is fine for comparing regions; change it if you need something else.

Grok chart generated from regional sales. Video by Author.

For a PivotTable, name the rows, columns, and values you want. A loose prompt often produces a table that answers a different question than the one you had in mind. Check whether it used sum or average, and whether the source range covers the full table.

Example 5: Run a financial what-if scenario

SpaceXAI talks about this use case a lot in its own materials. It works better when assumptions sit in their own cells, apart from the formulas that use them. My practice model has starting revenue, a monthly growth rate, a cost-of-goods percentage, and fixed monthly opex, then twelve months of forecasted profit.

Ask Grok to explain the baseline before it changes anything. Then run a downside case: lower growth, raise opex, and ask for the new Month 12 profit next to the old one. As I noted in the feature list, SpaceXAI says changed cells get flagged. I have not seen enough independent write-ups to describe exactly how that looks on screen. Check which assumption cells moved, and whether the downstream formulas updated the way you would expect. Duplicate the sheet first if you cannot easily undo the edits.

Grok scenario rebuild shows changed cells. Video by Author.

Example 6: Add external research to an Excel workbook

Two separate features get mixed up here. First is web search from the sidebar: ask Grok for a public figure that matters to your model (an interest rate, a commodity price, a competitor's reported revenue), then store the source, publication date, and the date you pulled it.

Second is connectors, set up at grok.com/connectors, not inside the Excel install. SharePoint and Google Drive sit in that connector set from the feature list. Google Drive is available on a wide set of plans. SharePoint and OneDrive are Business and Enterprise features, and SharePoint may need a Microsoft 365 admin to grant tenant-wide consent. On personal SuperGrok, do not expect SharePoint to be one toggle away.

Do not drop an external number into the same column as your own verified actuals with no label. That is how a stale figure becomes "the number" months later.

Feature Area

Grok for Excel

Microsoft Copilot

Claude for Excel

Status

Live since July 2026

Generally available

Beta

Underlying Model

Grok 4.5

GPT-5.2 or Claude Opus 4.5

Claude Opus 4.6

Workbook Editing

Formulas, charts, PivotTables, scenarios

Formulas, charts, PivotTables, Python execution

Formulas, charts, PivotTables, conditional formatting

Research & Connectors

Web/X search, SharePoint & Google Drive

Microsoft Graph, workbook import, finance connectors

MCP connectors to financial data providers

Access

Paid Grok plan required

Bundled with M365 Copilot licenses

Included in paid Claude plans (~$20/mo)

I am not ranking these. Pick based on what you already use and pay for.

Grok for Excel Privacy, Permissions, and Security

As I flagged under "What Is Grok for Excel?", SpaceXAI's product page and Microsoft's install prompt do not say the same thing about data access. This is the section where that gap gets specific.

What workbook data can Grok access

SpaceXAI's page repeats the "reads only the ranges you pick" line I mentioned earlier. In places it also says "data never leaves the workbook." Read literally, that second line sounds like the data stays on your machine. The Marketplace listing instead says the add-in "can read and make changes to your document" and "can send data over the Internet." That is Microsoft's own permission text. I treat that as the clearer statement of what the add-in is allowed to do. Treat "never leaves the workbook" as product wording about the workflow, not as a claim that your selection never leaves the device.

Understanding the add-in's permissions

Cloud Office add-ins often ask for read, write, and internet access. Grok fits that pattern. The consent screen you see during install (the one I mentioned in Step 1) is the text to keep. If you deploy this for a team, send that same screen to whoever reviews add-ins before they approve it for the tenant.

Microsoft Marketplace listing for Grok showing App capabilities to read and change the document and send data over the Internet.

Marketplace lists Grok data permissions. Image by Author.

Training rules differ by plan. Business and Enterprise materials say SpaceXAI does not train on that account's data. The Google Drive and SharePoint connector docs, the same connectors I covered in Example 6, say the same for data pulled through those links. Consumer privacy language is wider and allows personal information to be used to develop and improve the service. I did not find Excel-add-in-specific text that settles how that applies to workbook data on personal SuperGrok. If that matters for your file, ask SpaceXAI support.

Using Grok with sensitive workbooks

Skip confidential workbooks unless your org's policy allows AI add-ins that send data over the internet. Test on a copy. Before a wide cleanup or analysis prompt, look for hidden sheets, comments, and external links. Grok may process content you did not mean to include. If you pull files through a connector, watch for prompt injection: text inside a shared document can try to steer the model, and this add-in can write back into the workbook. Review every change before you save or share.

Current Limitations of Grok for Excel

A few limits are worth keeping in view before you build a habit around the add-in.

Usage limits follow your plan and pull from the shared weekly pool covered under pricing. A long day of scenario work uses the same allowance as chat and coding. Cell citations, as Example 1 showed, do not mean the answer is right just because the tone sounds sure. Vague prompts on unlabeled ranges are how you get a reply that looks fine and still misses the point.

VBA, macros, Power Query, and Power Pivot support are not clearly documented either way. Test them if you need them. Large multi-sheet workbooks are the same: public materials do not say how the add-in behaves when the file gets big. Check that yourself before you build a process around it.

Best Practices for Using Grok in Excel

I keep coming back to the same short list after running the examples above. None of this is clever. It just cuts rework when the add-in edits the sheet for you.

  • Ask Grok to explain a workbook before you let it change anything (as in Example 5)
  • Name the sheet, columns, cell ranges, and where you want the output
  • Keep assumptions, calculations, and outputs in separate cells or sheets
  • Test a new prompt on a small range before you apply it to a full table
  • Save a backup, or duplicate the sheet, before a multi-step change (as in Example 5)
  • Ask Grok to explain every formula it writes, even the simple ones (as in Example 2)
  • Check totals, filters, and scenario assumptions yourself
  • Write the source and retrieval date next to any number pulled from outside the workbook (as in Example 6)
  • Split a large task into a few shorter prompts

Conclusion

If you want to see whether Grok for Excel helps with your work, do not start with a blank sheet or a polished demo. Start with a copy of a real workbook, or the practice file from the examples above.

Open the sidebar and select a range first. Then ask something specific, such as:

  • Which region grew fastest in this table, and which cells support that answer?
  • Add a month-over-month growth column that stays blank instead of #DIV/0! on the first month of each region.
  • Lower the growth rate and raise opex, then show me the new Month 12 profit next to the baseline.

From there, move in small steps. Ask Grok to explain the sheet before it edits anything. Read every formula in the formula bar before you fill it down. Keep outside research labeled so it does not blend into your own numbers.

Treat Grok as a helper that can write into the workbook, not as the final check. You still own what lands in the cells. If you want to tighten the Excel skills underneath that, our Excel Fundamentals skill track and Data Analysis in Excel course cover that side.


Khalid Abdelaty's photo
Author
Khalid Abdelaty
LinkedIn

I’m a data engineer and community builder who works across data pipelines, cloud, and AI tooling while writing practical, high-impact tutorials for DataCamp and emerging developers.

FAQs

Is Grok for Excel actually free?

As I covered in the pricing section, install is free and real use is not. The extra detail people miss is the free daily allowance on regular Grok chat: nothing I found says that same light free tier applies inside the Excel add-in, so do not plan a workflow around it.

Does Grok for Excel work on Mac and in the browser?

The install section lists desktop, web, and Mac as supported Excel surfaces because Office add-ins usually share the Office.js stack. SpaceXAI still has not published a client-by-client matrix for this specific add-in, so if your team is on Mac or Excel for the web, run one of the practice prompts there before you depend on it.

Can Grok write or run VBA macros in my workbook?

As I noted under limitations, VBA and macros are not clearly documented for the add-in. It can write macro code as text if you ask, the same way any chat model can. Running that code still goes through Excel's own macro security settings, so this is not a way around your organization's macro policy.

Does Grok train on the data in my workbook?

The privacy section covers the Business versus consumer split. One practical step that often gets skipped: on a personal plan, check Settings under Data Controls on grok.com for a training opt-out, and do not treat that toggle as Excel-add-in-specific confirmation for workbook data.

Which is better for Excel: Grok, Copilot, or Claude?

Same answer as in the comparison section: there is no single winner. If you already pay for Microsoft 365 Copilot, that is usually the default. If you want a clear log of what changed, look at Claude. If you need web or X search, or you work across Google and Microsoft files, look at Grok.

Onderwerpen

Learn with DataCamp

Leerpad

Gegevensanalyse met Excel Power Tools

9 Hr
Geef je Excel-vaardigheden een boost met Excel Power Tools: Word een expert in Power Query, Power Pivot en de dynamische M-taal.
Bekijk detailsRight Arrow
Begin Met De Cursus
Meer zienRight Arrow
Gerelateerd

blog

Copilot in Excel: A Full Review With Real Examples

Learn how to use Copilot in Excel to analyze data, automate formulas, and generate insights using natural language—all within your spreadsheet.
Josef Waples's photo

Josef Waples

10 min

Tutorial

Grok 3 API: A Step-by-Step Guide With Examples

Learn how to use the Grok 3 API for tasks ranging from basic queries to advanced features like function calling and structured outputs.
Tom Farnschläder's photo

Tom Farnschläder

Tutorial

Grok 4 API: A Step-by-Step Guide With Examples

Learn how to use Grok 4’s API through practical examples featuring image recognition, reasoning, function calling, and structured output.
Tom Farnschläder's photo

Tom Farnschläder

Tutorial

Seven Grok 4 Examples to Try in the Chat Interface

Learn how to make the most of Grok 4 through seven practical examples you can try in the chat interface.
Aashi Dutt's photo

Aashi Dutt

Tutorial

Excel Regex Tutorial: Mastering Pattern Matching with Regular Expressions

Discover the power of Regular Expressions (RegEx) for pattern matching in Excel. Our comprehensive guide unveils how to standardize data, extract keywords, and perform advanced text manipulations.
Chloe Lubin's photo

Chloe Lubin

Tutorial

Excel Copilot: A Tutorial with Examples

Learn step-by-step how to activate Copilot in Excel, use AI prompts to analyze, visualize, and automate your data, and apply ready-made examples to real-world spreadsheet tasks.
Laiba Siddiqui's photo

Laiba Siddiqui

Meer ZienMeer Zien