In this guide
A plausible number can hide the wrong formula
A forecast error need not produce an Excel warning. A formula pointing to last month’s growth assumption can return a perfectly plausible number. The useful task for Codex is therefore specific: trace the reference, propose the smallest correction, and show what changed.
The fictional workbook below contains one deliberate error. Its expected values are calculated for teaching. They are not a claim that this workflow was tested live in Excel. Use a copy named Forecast-review.xlsx so the original remains available.
Connect to the workbook already open
In Excel, use Home → Add-ins to find and add ChatGPT, then open its ribbon pane. Sign in with the same ChatGPT account and workspace as desktop Codex. Open Forecast-review.xlsx. In the ChatGPT desktop app, select Codex and mention @Microsoft Excel. This is the direct-workbook route described in OpenAI’s instructions. Spreadsheets documentation calls working through the add-in Excel Live Control.
If the workbook is missing, keep the add-in pane open and check its ••• menu for Allow Codex control. Computer Use is optional for this route. Current documentation lists the spreadsheet experience across ChatGPT plans. Usage and workspace permissions still apply. A Microsoft 365 administrator can deploy the add-in when store access is blocked.
Build the five-row test
Create one sheet named Forecast. Enter exactly these values and formulas, with no other sheets or inputs. Amounts are SAR. Growth assumptions are monthly. Save the working copy before requesting any repair.
Cell Content
A1 Metric
B1 Jan
C1 Feb
D1 Mar
A2 Growth
B2 0%
C2 10%
D2 20%
A3 Revenue
B3 100000
C3 =B3*(1+C2)
D3 =C3*(1+C2)
A4 Costs
B4 60000
C4 65000
D4 70000
A5 Profit
B5 =B3-B4
C5 =C3-C4
D5 =D3-D4Before editing, confirm February revenue is 110,000 and March revenue is 121,000. March profit is 51,000. The problem is D3: it uses February’s 10% assumption again, although March’s assumption is 20%.
Inspect first, then authorize one change
@Microsoft Excel Inspect Forecast-review.xlsx, sheet Forecast, cells A1:D5. Do not edit yet. Compare each revenue formula with its own month’s growth assumption. Report the exact cell, current formula and value, proposed formula and expected value. List every dependent result that would change within this sheet. Stop if the workbook, sheet, or inputs differ from my example.
Once the proposal matches, send this instruction:
In Forecast-review.xlsx, change only Forecast!D3 from =C3*(1+C2) to =C3*(1+D2). Keep every other formula, input and format unchanged. Recalculate and report the before-and-after results. Do not save over the original or share the workbook.
Codex may choose a different spreadsheet route for some requests. Ask which workbook it is controlling before approving the edit. An exported file is a different deliverable from a change to your open workbook.
Check the repair in Excel
March revenue must now be 132,000 and March profit 62,000. Both increase by 11,000. February revenue remains 110,000 and February profit 45,000. January profit remains 40,000.
Select D3 and inspect the formula bar yourself. Confirm D5 is still =D3-D4, rather than a hardcoded 62,000. Check that D2 remains 20% and the cost inputs remain 60,000, 65,000 and 70,000. A correct headline number does not excuse replacing the workbook’s calculation logic.
Keep three decisions separate
Missing information: if the workbook cannot be found or an assumption differs, resolve that before editing. Unexpected changes: reject extra edits to formulas, inputs, sheet names, or formatting and restore the working copy. Approval: approve the specified cell repair only after inspecting its before-and-after record.
Save the reviewed copy with the change record and reviewer’s name. In a real forecast, extend the dependency check to other sheets, charts and linked outputs before release. A one-cell repair is complete only when the results that depend on it have also been checked.
Tool details in the directory
Sources
- OpenAI: Excel setup, availability and Codex control (new tab)
- OpenAI: working with an open Excel workbook (new tab)
- OpenAI: Spreadsheets and Excel Live Control (new tab)
Sources checked ·
