Sub topic 9
Reading the error indicator and the error menu
This chapter assumes you can enter formulas, use cell references and ranges, and know the difference between numbers and text in a cell. Before you change a formula, read what Excel is already telling you. Two things carry that information: the error value in the cell and the small indicator in its corner.
The green triangle and the warning icon
Excel flags a cell in two different ways.
- An error value is the result shown in the cell, such as
#DIV/0!or#N/A. It means the formula could not return a result. - A green triangle in the top-left corner of a cell is a warning from Excel's background checks. The formula may still return a result, but Excel suspects a mistake.
When you select a flagged cell, a small warning icon (a yellow diamond with an exclamation mark) appears beside it. Click the icon to open the error menu. The green triangle is only a suspicion. Excel flags some correct formulas, and it misses some wrong ones.
What the error menu offers
The first line of the menu names the problem, for example "Number Stored as Text" or "Inconsistent Formula". The options below it depend on the problem. Common ones are listed here.
| Menu item | What it does |
|---|---|
| Help on this error | Opens the help article for this error type. |
| Show Calculation Steps | Opens Evaluate Formula for the cell. It appears for error values. |
| Ignore Error | Removes the triangle from this cell. The formula is not changed. |
| Edit in Formula Bar | Puts the cursor in the formula so you can correct it. |
| Error Checking Options | Opens the settings for the background rules. |
Some menus add a fix for the specific problem. For a number stored as text, the menu offers "Convert to Number". For an inconsistent formula, it offers "Copy Formula from Above".
Example: a flagged cell
Suppose column A holds quantities, and A3 contains the text "12" (typed with a leading apostrophe, or imported as text). Cell B1 contains this formula:
=SUM(A2:A4)SUM skips text in a range, so the result is too low and no error value appears. The green triangle on A3 is the only sign of trouble. Select A3, open the menu, and you see "Number Stored as Text". Choose "Convert to Number" and the total corrects itself.
This shows why the indicator matters. An error value is loud. A silent wrong answer is more dangerous, and the triangle is often the only clue.
Turning checks on and off
The rules live in File, Options, Formulas, under "Error checking rules". Examples include "Formulas inconsistent with other formulas in the region" and "Numbers formatted as text or preceded by an apostrophe". You can switch a rule off, but leave them on while you learn. Use "Reset Ignored Errors" in the same dialog to bring back triangles you dismissed earlier.
Common mistakes
- Treating the green triangle as proof of an error. Check the cell before you change it.
- Assuming no triangle means no problem. Excel cannot know what you intended.
- Clicking Ignore Error to make a sheet look clean, then forgetting the cell.
Exercise
A total in B10 looks too small, but it shows no error value. One cell in the range has a green triangle, and its menu says "Number Stored as Text". Why is the total wrong, and how do you fix it?
Show answer
SUM ignores text in a range, so the cell holding a number as text is left out of the total. Select the flagged cell, open the warning icon menu, and choose "Convert to Number". The total then includes that value. Ignore Error would remove the triangle but leave the total wrong.