3.17 Error Types and How to Fix Them
| Error | Meaning | Typical cause on our data | Fix |
|---|---|---|---|
| #N/A | Value not available | Lookup value not found – extra space, text vs number Store ID | TRIM/VALUE the key; check the lookup range; IFNA for real "not found" |
| #VALUE! | Wrong type of argument | ="₹64"*2 (text with symbol); ranges of different sizes |
Clean numbers (Module 5); match range sizes |
| #REF! | Invalid reference | A column used in a formula was deleted; VLOOKUP col index > columns | Undo; rebuild the formula; use XLOOKUP/structured references |
| #DIV/0! | Division by zero | Qty blank or 0; zero orders in a city | =IF(F2=0,"",G2/F2) or IFERROR |
| #NAME? | Excel doesn't recognise a name | Typo (=SUMIFF), missing quotes around text, new function in old Excel |
Fix spelling; put text in "quotes"; check version |
| #SPILL! | Dynamic array can't spill | Cells in the spill area are not empty; inside an Excel Table | Clear the blocking cells; use outside a Table |
| #NUM! | Invalid number | =SQRT(-1), impossible date |
Check inputs |
| #NULL! | Wrong range operator | =SUM(A1 A5) (space instead of comma/colon) |
Use , or : |
| #CALC! | Calculation engine error (365) | =FILTER() returns nothing without if_empty |
Add the if_empty argument |
| ##### | Not an error – column too narrow, or negative date/time | Long rupee amount; negative time | Widen column; fix time maths |
About this data: Teaching sample for a fictional shop “CityBasket Retail”. Figures and names (e.g. Aamir Khan) are made up for this lesson on error types and how to fix them.
Steps in Excel – tracing errors
- Click the error cell › the ⚠ smart tag › Show Calculation Steps or Trace Error.
- Formulas › Formula Auditing › Trace Precedents / Trace Dependents draws arrows; Remove Arrows clears them.
- Formulas › Formula Auditing › Error Checking walks through all errors in the sheet.
- Formulas › Formula Auditing › Watch Window keeps an eye on key cells from other sheets.
Ravindra Bagale's Tip
When they see an error, many students panic and rewrite the whole formula. Instead, read the error's name – every error is telling you something: #N/A means "not found", #REF! means "the reference is gone". Use Trace Precedents to find which cell caused the error, and fix it right there.
Ravindra Bagale's Tip – मराठी
Error दिसला की बरेच students घाबरून पूर्ण formula पुन्हा लिहितात. त्यापेक्षा error चं नाव वाचा – प्रत्येक error काहीतरी सांगत असतो: #N/A म्हणजे "सापडलं नाही", #REF! म्हणजे "reference गेला". Trace Precedents ने कोणत्या cell मुळे error आला ते शोधा, आणि तिथेच दुरुस्ती करा.
Ravindra Bagale's Tip – हिंदी
Error दिखते ही बहुत से students घबराकर पूरा formula दोबारा लिखने लगते हैं. उसकी जगह error का नाम पढ़ो – हर error कुछ न कुछ बताता है: #N/A मतलब "नहीं मिला", #REF! मतलब "reference चला गया". Trace Precedents से पता करो कि किस cell की वजह से error आया, और वहीं ठीक करो.
Practice task
Deliberately create each of the six main errors on a practice sheet, then fix each one and write the cause next to it.
Loading practice tasks...
- Fix #NAME? (Easy): The broken formula is =SUMM(B2:B4). Write the correct one.
- Store: fix #NAME? (Easy): =AVERAG(Stock!B2:B4) gives #NAME?. Write the correct formula.
- Fix #DIV/0! (Medium): =B3/C3 gives #DIV/0!. Show "No qty" when C3 is 0, else B3/C3.
- Fix #VALUE! (Medium): =D2*2 gives #VALUE!. Remove the ₹ and turn it into a number, then multiply by 2.
- Store: fix #DIV/0! (Medium): =Stock!B3/Stock!C3 gives #DIV/0!. Show "Not used" instead.
- Store: fix #VALUE! (Medium): =Stock!D2/Stock!C2 gives a wrong answer or error. Remove the comma, make it a number, then divide by Stock!C2.
- Fix #N/A from a space (Hard): Look up E2 in A2:C4 and return the Amount (column 2). Use TRIM to fix the space.
- Find the hidden space (Hard): Count the characters in E2.
- Store: fix #N/A (Hard): Look up Stock!E2 in Stock!A2:C4 and return Stock (column 2). Use TRIM.
- Store: see the space (Hard): Count the characters in Stock!E2.
Quick revision cards
Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.


