0
0
Google Sheetsspreadsheet~20 mins

IFERROR and IFNA in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
IFERROR and IFNA Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
Output of IFERROR with division by zero
What is the output of the formula =IFERROR(10/0, "Error") in Google Sheets?
Google Sheets
=IFERROR(10/0, "Error")
AError
B#DIV/0!
C0
D10
Attempts:
2 left
💡 Hint
IFERROR returns the second value if the first causes an error.
📊 Formula Result
intermediate
1:30remaining
Output of IFNA with VLOOKUP missing value
Given a table where A2:A4 contains names and B2:B4 contains ages, what is the output of =IFNA(VLOOKUP("John", A2:B4, 2, FALSE), "Not found") if "John" is not in the list?
Google Sheets
=IFNA(VLOOKUP("John", A2:B4, 2, FALSE), "Not found")
A#REF!
B#N/A
C0
DNot found
Attempts:
2 left
💡 Hint
IFNA returns the second value only if the first returns #N/A error.
Function Choice
advanced
1:30remaining
Choosing between IFERROR and IFNA
You want to catch only #N/A errors from a formula but let other errors show normally. Which function should you use?
AISNA
BIFNA
CISERROR
DIFERROR
Attempts:
2 left
💡 Hint
IFNA only catches #N/A errors, IFERROR catches all errors.
🎯 Scenario
advanced
2:00remaining
Handling errors in nested formulas
You have a formula =A1/B1 that sometimes causes division errors. You want to show "Divide by zero" if B1 is zero, and "Error" for any other error. Which formula achieves this?
A=IFERROR(A1/B1, IF(B1=0, "Divide by zero", "Error"))
B=IFERROR(IF(B1=0, "Divide by zero", A1/B1), "Error")
C=IF(B1=0, "Divide by zero", IFERROR(A1/B1, "Error"))
D=IFNA(A1/B1, "Divide by zero")
Attempts:
2 left
💡 Hint
Check the condition for zero first, then handle other errors.
data_analysis
expert
2:30remaining
Counting errors handled by IFERROR
Given a column C2:C10 with formulas that may produce errors, which formula counts how many cells return an error that IFERROR would catch?
A=SUMPRODUCT(--ISERROR(C2:C10))
B=COUNTIF(C2:C10, "#N/A")
C=COUNTIF(C2:C10, "#DIV/0!")
D=SUMPRODUCT(--ISNA(C2:C10))
Attempts:
2 left
💡 Hint
IFERROR catches all errors, not just #N/A.