IFERROR with a message
Exercise 6 of 11 Premium
Work out the cost per unit for Supplies (Actual ÷ Units). It has no units, so show "No units" instead of an error.
Checking your plan…
team-budget.xlsx
ABCD
1CategoryBudgetActualUnits
2
3
4
5
6
7
8
About error handling in Excel
#DIV/0!, #N/A and #VALUE! make reports look broken. Learn when each error appears and how to replace it with a clean result using IFERROR, IFNA and ISBLANK.
Functions you can use here
IFERROR(value, value_if_error)IFNA(value, value_if_na)ISBLANK(value)SUMPRODUCT(array1, [array2], …)
More error handling exercises
- 1.Avoid #DIV/0!
- 2.Missing lookups
- 3.Check for a numberPremium
- 4.Count empty cellsPremium
- 5.Budget variancePremium
- 6.IFERROR with a messagePremium
- 7.Blank or notPremium
- 8.Check before you calculatePremium
- 9.IFNA with MATCHPremium
- 10.How many went over?Premium
- 11.Add up with a conditionPremium