A person analyzes spreadsheet charts on a laptop beside a server, with digital AI and cloud-security graphics.
XDA Developers writer Anurag Singh describes a way to give Excel an AI assistant without sending workbook contents to a cloud AI service. He runs Qwen3.5-9B on his own machine through Ollama and connects it to desktop Excel with an open-source add-in. Microsoft 365 users who keep sensitive spreadsheets will care about this setup, but "local" has limits. This piece covers what the setup does, where its privacy boundary sits, and what to check before you trust it.

A person analyzes spreadsheet charts on a laptop beside a server, with digital AI and cloud-security graphics. What the setup is​

Three pieces make it work:

  • The model: Qwen3.5-9B. Ollama runs locally. Ollama's model page lists the identifier qwen3.5:9b and shows the local API on [url]http://localhost:11434[/url]. The author notes the model supports tool calling. That means it can ask the add-in to read cells or insert a formula instead of only describing the steps.
  • The runtime: Ollama. It has to stay running while you use the AI features. You don't need its chat window open.
  • The bridge: Excel LLM Add-in. This open-source project has two editions. The Office.js edition covers Mac, Windows, Web and iPad. The VBA .xlam edition covers Mac and Windows desktop Excel. The author uses the VBA edition because it needs no hosted web interface.

His setup steps, as he describes them:

  1. Load the .xlam file into Excel. On a Mac he uses Tools → Excel Add-ins → Browse, selects the file and enables it. That menu path is his own account. Other Excel versions may differ.
  2. Choose Ollama as the provider.
  3. Enter qwen3.5:9b as the model.
  4. Point the server address at [url]http://localhost:11434[/url].

What it can do​

The add-in has two kinds of features. Worksheet functions pass cell contents to the model and return the answer to the sheet. In the project's documentation these include prompting, classification, extraction, summarizing, translation, sentiment, and formula writing and explanation. In the VBA edition the names drop the LLM. prefix, so you write =CLASSIFY(...).

The agent is the second kind. You describe a change in plain English. The model then reads and edits the workbook using tools for ranges, formulas, formatting, sheets and charts. The documentation says edits wait for your approval by default.

The author's examples:

  • Turning "revenue from quantity and price, with a discount" into a formula.
  • Categorizing customer comments into labels you supply.
  • Applying currency formats and changing headers.
  • Building a chart from a range.

The results are ordinary Excel cells and charts that you can edit afterward.

Where it falls short of Copilot​

The author says plainly that Copilot has a broader feature set. He names PivotTable creation and access to external information. His claim is narrower than "Qwen replaces Copilot." He says the local setup covers the jobs he actually does. That is a personal experience report. The source includes no benchmarks, accuracy tests or speed measurements. I couldn't verify hardware requirements or how reliably a 9B model handles tool calls inside Excel, so treat both as untested.

The project documents one concrete limitation. VBA worksheet functions run synchronously, so the STREAM function with live cell updates exists only in the Office.js edition. On a big range, expect Excel to wait on the model.

What "private" means here​

The privacy claim holds in a narrow form. With a downloaded model selected and the add-in pointed at Ollama on localhost, the model processing can stay on your computer. That is the author's point, and it fits how the pieces work. It is not the same as an offline computer, and several other paths can still carry data.

Check these settings​

  • Ollama's cloud features. Ollama can run in local-only mode. Doing so means losing the ability to use Ollama's cloud models and web search. You have two options. Set disable_ollama_cloud to true in ~/.ollama/server.json, or set the environment variable OLLAMA_NO_CLOUD=1. Then restart Ollama. The author describes the JSON method. Ollama's documentation also says that once disabled, the logs will show Ollama cloud disabled: true. That gives you a way to confirm the change took effect.
  • Cloud model names. A model with a -cloud or :cloud tag is routed to a remote service. One guide points out that your code can still say localhost while the cloud suffix on the model name does the routing. Use the downloaded qwen3.5:9b.
  • The add-in's provider list. The add-in supports many cloud providers, including OpenAI, Mistral, Gemini and others, alongside Ollama. Choosing the wrong provider sends data out. The add-in doesn't enforce locality. Your configuration does.
  • Remote MCP tools. The add-in can add remote MCP servers to the agent's toolset. That changes the privacy boundary, so skip them if the goal is to keep everything on the machine.
  • Network exposure. Ollama binds to the local machine by default. The OLLAMA_HOST setting can change that, so don't expose it to the network unless you mean to.
  • File storage. The author keeps his spreadsheets outside OneDrive and Google Drive. Desktop and Documents folders can sync to the cloud depending on your setup, so check rather than assume. Turning off AutoSave doesn't remove a copy already stored online.

Excel's own connected experiences​

Microsoft's support page explains that Microsoft 365 has cloud-backed connected experiences. These include ones that analyze your content, and ones that download online content. You can turn them off from File → Account → Manage Settings in Microsoft 365 apps. Microsoft also says some essential services can't be disabled, such as licensing, and that required service data is sent regardless of other settings.

So the accurate claim is that this setup's AI requests can stay local. It does not make Excel or Microsoft 365 silent toward Microsoft.

A catch for managed environments​

Microsoft's Office Add-ins documentation says disabling optional connected experiences can cut off access to add-ins and the Microsoft 365 and Copilot store. It says some essential add-ins and admin-deployed ones remain available. The details differ by client. In the new Outlook on Windows, for example, sideloaded add-ins can't be used when that setting is off. That page covers Office.js add-ins and doesn't mention VBA .xlam files. I found no source on how the VBA edition behaves under those settings, so test it before you rely on it in a locked-down environment.

Practical advice​

  • Review every proposed edit. The agent writes to your workbook. The approve-before-apply default is a safeguard, so keep it on and check the target range and formulas.
  • Verify the output. Classifications and formulas from a small local model need spot checks, as cloud assistants do. The source gives no accuracy figures.
  • Confirm your sync status. Look at where the file is actually stored before assuming it is local.
  • Leave Ollama's cloud features off if you want a strictly local setup.
  • Check the add-in's licensing. The repository lists AGPL-3.0, which matters if you plan to deploy it inside an organization.

My take​

The appeal is that you don't need a model that's brilliant at everything. Formula drafting, text cleanup and labeling are bounded jobs, and a 9B model plausibly handles them. That is my reading and the author's, not a tested result. The tradeoff is more setup, more settings to audit, and fewer features than Copilot. For people who keep sensitive spreadsheets off the cloud, that trade may be worth making.

 

References

  1. I replaced Excel's Copilot with a local LLM, and spreadsheet work finally feels private XDA 2026-11-01T17:30:22+00:00
  2. Privacy and security for Office Add-ins - Office Add-ins | Microsoft Learn learn.microsoft.com
  3. Connected experiences in Microsoft 365 | Microsoft Support support.microsoft.com