0
0
Google Sheetsspreadsheet~10 mins

IFERROR and IFNA in Google Sheets - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to return 0 if A1 has an error.

Google Sheets
=IFERROR(A1, [1])
Drag options to blanks, or click blank then click option'
ATRUE
B0
C"Error"
DA1
Attempts:
3 left
💡 Hint
Common Mistakes
Using A1 as the error value returns the error again.
Using TRUE returns TRUE instead of a number.
2fill in blank
medium

Complete the formula to return "No Data" if B2 has an #N/A error.

Google Sheets
=IFNA(B2, [1])
Drag options to blanks, or click blank then click option'
AB2
B0
CTRUE
D"No Data"
Attempts:
3 left
💡 Hint
Common Mistakes
Using 0 returns zero even if the error is #N/A.
Using B2 repeats the error instead of replacing it.
3fill in blank
hard

Fix the error in the formula to return "Missing" if C3 has an #N/A error.

Google Sheets
=IFNA(C3 [1] "Missing")
Drag options to blanks, or click blank then click option'
A,
B;
C:
D+
Attempts:
3 left
💡 Hint
Common Mistakes
Using semicolon or colon causes a formula error.
Using plus sign is invalid syntax here.
4fill in blank
hard

Fill both blanks to return "Error" if D4 has any error, else return D4.

Google Sheets
=IFERROR([1], [2])
Drag options to blanks, or click blank then click option'
AD4
B"Error"
C0
DD5
Attempts:
3 left
💡 Hint
Common Mistakes
Using 0 instead of "Error" changes the output meaning.
Using D5 instead of D4 checks the wrong cell.
5fill in blank
hard

Fill all three blanks to return "No Value" if E5 has #N/A error, else return E5 if no error, else return 0.

Google Sheets
=IFERROR(IFNA([1], [2]), [3])
Drag options to blanks, or click blank then click option'
AE5
B"No Value"
C0
D"Error"
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the order of IFNA and IFERROR causes wrong results.
Using "Error" instead of 0 changes the fallback value.