Medium: HLOOKUP TRUE on unsorted thresholds
Score→grade card uses HLOOKUP(…,TRUE) but thresholds are unsorted. Score 78 returns #N/A (or nonsense). Fixed file uses nested IF bands → B (LibreOffice verified).
HLOOKUP TRUE unsorted thresholds वर #N/A/चुकीचे grade. Nested IF bands → B.
HLOOKUP TRUE unsorted thresholds पर #N/A/गलत grade। Nested IF bands → B।
Why → What → How
Why: Approximate HLOOKUP/VLOOKUP needs ascending keys. Unsorted tables silently mis-grade.
What: Broken HLOOKUP TRUE → #N/A for 78. Fixed nested IF → B.
How:
- Open Card.
- Inspect threshold order.
- Replace with IF bands testing high cutoffs first.
- Confirm grade B for 78.
Ravindra Bagale’s Tip
If you must use TRUE, sort thresholds ascending and test edge scores (59,60,74,75).
Ravindra Bagale’s Tip – मराठी
TRUE वापराल तर ascending sort + edge scores तपासा.
Ravindra Bagale’s Tip – हिंदी
TRUE इस्तेमाल हो तो ascending sort + edge scores जाँचो।
Bugs explained (with mini examples)
Bug 1 — TRUE on unsorted keys
Bug 2 — Opaque grade logic
Practice tasks (12)
- Task 1. What does broken B8 show?Hint: #N/A or wrong.
- Task 2. Expected grade for 78?Hint: B.
- Task 3. List bands.Hint: F<60, C≥60, B≥75, A≥90.
- Task 4. Write nested IF.Hint: IF≥90 A …
- Task 5. Test score 60.Hint: C.
- Task 6. Test 90.Hint: A.
- Task 7. Interview line.Hint: “Approx lookup on unsorted grades.”
- Task 8. Why avoid HLOOKUP TRUE in class?Hint: Fragile.
- Task 9. Sort keys if keeping TRUE.Hint: 0,60,75,90.
- Task 10. Does FALSE need exact score key?Hint: Yes.
- Task 11. Bonus: lookup table vertical.Hint: VLOOKUP/MATCH.
- Task 12. Document bands in a note.Hint: A9.
In-browser formula check
Type the fixed formula you would put in the named cell. We check formula text — open the workbook for full recalculation.
Step-by-step solution (try first)
- Use nested IF high-to-low.
- 78 → B. LO: broken #N/A, fixed B.
Quick quiz