Excel errors

Green triangle in Excel cells: what it means and how to fix it

The green triangle in Excel: numbers stored as text, inconsistent formulas, formulas that omit cells and other error checking rules. Fix, ignore or switch off.

The small green triangle in the top-left corner of a cell is not an error value. The cell calculates and displays normally; Excel's background error checking simply thinks something about it looks suspicious and wants you to have a look. The most common reasons are numbers stored as text, a formula that is different from its neighbours, and a formula that leaves out adjacent cells. Sometimes the warning catches a real mistake that would otherwise go unnoticed; sometimes it is a false alarm you can safely ignore. This page explains each rule, shows the situation on a small sheet, and shows how to fix, ignore or switch off the warning. The error values themselves are covered in Formula errors: what each one means and how to fix it.

What the green triangle means

Select a cell with a triangle and a small warning icon (a yellow diamond with an exclamation mark) appears next to it. Hover over the icon to read the reason, and click it for a menu: the reason in words, Help on this error, Show Calculation Steps (for formulas), Ignore Error, Edit in Formula Bar, and Error Checking Options. Depending on the rule there are also specific fixes such as Convert to Number or Copy Formula from Above. The triangle has no effect on calculation; it only marks the cell.

Rule 1: numbers stored as text

The most important triangle. Numbers imported from other systems, typed after an apostrophe ('250) or entered into cells formatted as Text are stored as text. They look like numbers, but SUM ignores them, so totals come out too low without any error:

B6fx=SUM(B2:B5)
AB
1InvoiceAmount
2INV-01100
3INV-02250
4INV-03300
5INV-0450
6Total400

B3 (250) and B5 (50) are text, each with a green triangle, so SUM adds only 100 + 300 = 400.

Result: 400

B6fx=SUMPRODUCT(--B2:B5)
AB
1InvoiceAmount
2INV-01100
3INV-02250
4INV-03300
5INV-0450
6Total700

-- converts the text to numbers inside the formula: 100 + 250 + 300 + 50 = 700.

Result: 700

Fix the data, not just the formula. Select the cells (start the selection on a cell with a triangle), click the warning icon and choose Convert to Number; it converts the whole selection at once. For long columns, Data › Text to Columns › Finish does the same, or type 1 in an empty cell, copy it, select the text-numbers and use Paste Special › Multiply. Lookups are also affected: a text 1002 does not match a numeric 1002, the classic cause of #N/A error in Excel: causes and how to fix it.

Note. Some "numbers" should stay text: phone numbers, ZIP codes with a leading zero (02134), product codes. For those, choose Ignore Error.

Rule 2: a formula inconsistent with the formulas around it

Excel compares each formula with its neighbours. If a column of formulas follows a pattern and one breaks it, that one gets a triangle. This catches real typos:

D3fx=B3*C2
ABCD
1ItemQtyPriceAmount
2Pens3412
3Paper51020
4Ink2612

D3 multiplies by the price in the row above (4 instead of 10). Its neighbours use the same row, so Excel flags it.

Result: 20

D3fx=B3*C3
ABCD
1ItemQtyPriceAmount
2Pens3412
3Paper51050
4Ink2612

Corrected with Copy Formula from Above (or by hand): 5 × 10 = 50.

Result: 50

When the difference is deliberate, for example a subtotal row in the middle of a column, choose Ignore Error. In Excel tables the similar rule Inconsistent calculated column formula flags a cell that was overwritten in a column where every row should share one formula.

Rule 3: a formula that omits adjacent cells

If a formula refers to a range and there are more numbers right next to that range, Excel suspects you left some out. This happens when a row is added below a total's range:

B6fx=SUM(B2:B4)
AB
1ExpenseAmount
2Rent120
3Travel80
4Software200
5Training50
6Total400

The total stops at B4, leaving out the 50 in B5. The correct total is 450.

Result: 400

Fix. Click the icon and choose Update Formula to Include Cells, or extend the range to B2:B5. To stop this happening, use an Excel table (Ctrl+T) with a total row, or insert new rows inside the range rather than below it.

Other rules

RuleWhat it flagsUsual action
Cells containing formulas that result in an errorAny formula showing #N/A, #DIV/0! and so onFix the error; see the pages for each error
Cells containing years represented as 2 digitsText dates such as '3/15/26 whose century is ambiguousChoose Convert XX to 20XX, or enter a real date
Unlocked cells containing formulasFormulas that would stay editable when the sheet is protectedLock them (Format Cells › Protection) or ignore
Formulas referring to empty cellsA formula that uses a blank cell (off by default)Useful when auditing a model
Data entered in a table is invalidTable values that break the column's data validationCorrect the value or the rule
Misleading number formatsA result formatted differently from its inputs, e.g. dates shown as currency (Microsoft 365)Apply the suggested format or ignore

How to find every flagged cell

  1. Formulas › Formula Auditing › Error Checking walks through every flagged cell on the sheet, triangles included, and offers the same options as the icon. It is the fastest way to review them all.
  2. To review only text-numbers, select a column and use Home › Find & Select › Go To Special › Constants, ticking only Text: every text cell in a numeric column is a candidate.
  3. =SUMPRODUCT(--ISTEXT(B2:B500)) counts text cells in a range that should hold numbers.
  4. Show Formulas (Ctrl + grave accent) displays all formulas, making an inconsistent one easy to spot by eye.

Ignoring, switching off and resetting

  • Ignore Error removes the triangle from the selected cells only. Excel remembers the choice in the file.
  • To switch a rule off everywhere, go to File › Options › Formulas (on a Mac: Excel › Preferences › Error Checking) and untick it under Error checking rules. Untick Enable background error checking to remove all triangles.
  • In the same place, Reset Ignored Errors brings back triangles you ignored earlier, and Indicate errors using this color changes the triangle's colour.
  • Switching rules off affects your Excel on this computer, not other people who open the file.

When you should NOT ignore the triangle

Never ignore a triangle on numbers stored as text in a column that is summed, averaged or looked up: totals will be wrong and lookups will fail with no error to warn you. Review inconsistent formulas and omitted cells before ignoring them, because these are exactly the typos that end up in a final report. Ignoring is right for codes that must stay text and for formulas that are different on purpose.

Version notes

  • Background error checking and the green triangle exist in Excel 2002 and later for Windows, in Excel for Mac and in Excel for the web (which shows fewer options).
  • The Misleading number formats rule is a recent Microsoft 365 addition.
  • Google Sheets and other programs do not show these triangles; text-numbers there have to be found in other ways.

Check yourself

1. A column total is too low and several cells have green triangles. What is the most likely reason?

2. A formula is flagged as inconsistent with the formulas around it. What should you do first?

3. Where do you turn off a specific error checking rule?

More excel errors