Sub topic 3
Reading the Error Indicator and the Error Menu
Assume you can edit formulas, use cell references and ranges, and recognize basic functions such as SUM, AVERAGE, and VLOOKUP. Excel error values identify the kind of failure, but they do not always identify its exact cause.
Reading the error indicator and the error menu
A cell containing an error often shows a small green triangle. Select the cell, then select the warning button that appears beside it. The error menu may suggest actions such as editing the formula, tracing the error, or ignoring it.
| Error | Common meaning |
|---|---|
| `#NUM!` | A calculation has an invalid numeric result |
| `#NULL!` | Range operators were used incorrectly |
| `#SPILL!` | A dynamic-array result is blocked |
Do not choose Ignore Error until you understand why the error occurred. Ignoring it can hide a data or formula problem.
Finding the failing part with Trace Precedents and Evaluate Formula
Trace Precedents draws arrows from cells used by the selected formula. Follow the arrows backward to inspect unexpected inputs.
Evaluate Formula opens the formula one operation at a time. Use Evaluate repeatedly to see which subexpression first becomes an error. This is especially useful for long formulas containing nested functions.
Fixing numeric, range, and spill errors
#NUM! means Excel cannot produce a valid number. For example, SQRT(-4) is invalid. Check negative inputs, impossible financial arguments, and numbers that are too large.
#NULL! often comes from a space between ranges. A space means “intersection,” so non-overlapping ranges produce an error. Use a comma to supply separate arguments:
=SUM(A1:A5,C1:C5)#SPILL! occurs when a dynamic-array formula needs several cells but one or more destination cells are not empty. Clear the blocking cells, remove merged cells, or move the formula to an open area.
> callout note > Fix the cause first. A displayed message such as "No data" is useful only when the underlying error is expected.
Preventing errors versus masking them
Use IF to prevent an invalid calculation, such as checking a divisor before dividing. Use IFNA for an expected missing lookup. Use IFERROR only when every error type should receive the same fallback. Broad masking can conceal #REF!, #NAME?, or damaged data that needs repair.
Exercise
What should you check first when a dynamic-array formula returns #SPILL!?
Show answer
Check the cells in the intended spill area for values, merged cells, or another obstruction.