Today's AI Tip
← All posts

Excel formula broken? Paste the formula, not “it’s broken.”

· View on Instagram · View on Facebook

Excel formula broken? Paste the formula, not “it’s broken.”
The question most of us ask. When a formula breaks, we usually type something short like this. It gives the AI almost nothing to work with.

The question most of us ask

My VLOOKUP in Excel isn’t working. How do I fix it?

Tested in GPT-5.5 (OpenAI API), Oct 2026

When a formula breaks, we usually type something short like this. It gives the AI almost nothing to work with.

Nine fixes, one real cause. In this run, the vague question got nine possible causes. The real one is number 2, and number 8 only hides the error with IFERROR.

Nine fixes, one real cause

Real output · GPT-5.5 (OpenAI API) · Oct 2026

## 1. Check the basic formula structure … ## 2. Make sure the lookup value is in the first column of the table … ## 8. If you get `#N/A` … If you share your exact formula and a small example of your data layout, I can tell you exactly what’s wrong.

In this run, the vague question got nine possible causes. The real one is number 2, and number 8 only hides the error with IFERROR.

The AI can't see your sheet. Without your data, the AI lists every common cause. Give it three things: the formula, the error, and the headers plus one row from each sheet.

The AI can't see your sheet

Without your data, the AI lists every common cause. Give it three things: the formula, the error, and the headers plus one row from each sheet.

The prompt with real details. The same question, with the formula, the error and one row from each sheet. That gives the AI something to check.

The prompt with real details

My Excel formula returns #N/A and I need the fix. Formula in Orders!D2: =VLOOKUP(B2, Prices!A:C, 3, FALSE) Orders sheet, first two rows: A: Order ID | B: SKU | C: Qty | D: Unit price 1001 | TB-104 | 40 | #N/A Prices sheet, first two rows: A: Product | B: SKU | C: Price Canvas tote | TB-104 | 6.50 TB-104 is definitely on the Prices sheet. Tell me why it fails and give me the corrected formula for D2.

Tested in GPT-5.5 (OpenAI API), Oct 2026

The same question, with the formula, the error and one row from each sheet. That gives the AI something to check.

One cause, one corrected formula. This run named a single cause and gave a corrected formula for D2, using the sample rows we pasted.

One cause, one corrected formula

Real output · GPT-5.5 (OpenAI API) · Oct 2026

It fails because `VLOOKUP` only searches the **first column** of the lookup range. … So Excel looks for `TB-104` in `Prices!A:A`, which contains product names like `Canvas tote`, not SKUs. The SKU is in `Prices!B:B`. … Correct formula for `Orders!D2`: … =VLOOKUP(B2, Prices!B:C, 2, FALSE)

This run named a single cause and gave a corrected formula for D2, using the sample rows we pasted.

We checked the fix by hand. Microsoft says the lookup value must be in the first column of the range. Ours started at product names, so TB-104 was never found. Starting at column B finds it.

We checked the fix by hand

Microsoft says the lookup value must be in the first column of the range. Ours started at product names, so TB-104 was never found. Starting at column B finds it.

Source: Microsoft Support: VLOOKUP function

Before you paste, and after. Paste one or two rows, not the whole file. Remove names, account numbers and other personal details first, and check your employer's approved tools. Test the fix on one row before filling it down.

Before you paste, and after

Paste one or two rows, not the whole file. Remove names, account numbers and other personal details first, and check your employer's approved tools. Test the fix on one row before filling it down.

Try it: Next time a cell shows #N/A, paste the formula, the error and a header row.

Sources and assumptions

Assumptions:

The short version

Follow @todaysaitipSave this post on Instagram

More posts