# AI Excel assistant that works in your workbooks

https://getmegabrain.com/tools/ai-excel-assistant

> Hand MegaBrain the workbook instead of pasting cells into a chat. It reads every sheet, fixes broken formulas, adds summaries and checks, and saves the result as a new .xlsx next to the original, so nothing is lost. With computer use it can also work in the Excel window itself.

How it gets in: Files on your Mac, Computer use.

## Prompts to try

### Fix broken formulas

> Open Finance/forecast.xlsx, find every #REF!, #N/A and #VALUE! error, fix the formula behind each one and list what you changed on a new Changes sheet. Save it as Finance/forecast-fixed.xlsx and leave the original as it is.

### Explain a workbook

> Explain Finance/pricing-model.xlsx to me: what each sheet does, which cells are inputs, how the price is calculated and which formulas look wrong. Write it up in Finance/pricing-model-notes.docx and change nothing in the workbook.

### Summary by region and month

> In a copy of Sales/orders-2026.xlsx, add a Summary sheet with revenue and order count by region and month using formulas, and a column that flags orders over [amount]. Save it as Sales/orders-2026-summary.xlsx.

### Merge monthly files

> Combine the 12 monthly files in Finance/Expenses/2026 into Finance/expenses-2026.xlsx: one sheet with every row and a Month column, and a summary sheet by category and month with formulas.

### Work in the open workbook

> In Excel on my Mac, in the open workbook [name], sort the Leads sheet by score, add a filter to the header row and freeze the top row. Do not save; I will check it first.

## What it does

- Reads the whole workbook: Every sheet and formula, not just the cells you paste into a chat.
- Fixes and documents: It repairs errors and writes down each change, so the fix can be reviewed.
- Keeps the original: The prompts save a new file unless you tell it to overwrite.
- Uses Excel itself when needed: With computer use it can sort, filter and format in the Excel window on your Mac.

## How it works

1. Put the workbook in a folder: Or name the one open in Excel.
2. Say what you need: A fix, a new summary, an explanation or a merge.
3. Check the new file: Open it, read the Changes sheet and ask for adjustments.

## AI employees who do this

- [AI financial analyst](https://getmegabrain.com/ai-employees/financial-analyst)
- [AI bookkeeper](https://getmegabrain.com/ai-employees/bookkeeper)
- [AI data entry clerk](https://getmegabrain.com/ai-employees/data-entry-clerk)

## Works in

- [Microsoft Excel](https://getmegabrain.com/automate/microsoft-excel)
- [Apple Numbers](https://getmegabrain.com/automate/apple-numbers)

## Questions

### Is this an Excel add-in?

No. MegaBrain is a Mac app. It works on .xlsx files in your folders directly, and with computer use it can also work in the Excel window itself.

### Will it overwrite my workbook?

Only if you ask. The prompts here save a new file next to the original and list what changed.

### Does it work with Numbers too?

Numbers opens the .xlsx files it writes. With computer use it can also work in the Numbers app on your Mac.

### How big a workbook can it handle?

Ordinary business workbooks with several sheets work well. For very large files, work one sheet at a time and ask it to summarize first.

All tools: https://getmegabrain.com/tools · Download for Mac: https://getmegabrain.com/download · Plans: https://getmegabrain.com/pricing · Computer use: https://getmegabrain.com/computer-use
