Complete the formula to return 0 if there is an error in cell A1 divided by B1.
=IFERROR(A1/B1, [1])The IFERROR function returns the result of A1/B1 if no error occurs. If there is an error (like division by zero), it returns 0.
Complete the formula to show "N/A" if the VLOOKUP in cell C2 causes an error.
=IFERROR(VLOOKUP(C2, A1:B10, 2, FALSE), [1])
The IFERROR function will return the result of the VLOOKUP if it finds a match. If not, it returns the text "N/A" to indicate no data found.
Fix the error in the formula to return "Invalid" if the division causes an error.
=IFERROR(A2[1]B2, "Invalid")
The formula needs the division operator / between A2 and B2. IFERROR will catch errors like division by zero and return "Invalid".
Fill both blanks to create a formula that returns the sum of A1 and B1, or 100 if there is an error.
=IFERROR(A1 [1] B1, [2])
The formula adds A1 and B1 using the plus sign. If there is an error, it returns 100.
Fill all three blanks to create a formula that returns the uppercase of A1 if no error, or "ERROR" if there is an error.
=IFERROR([1](A1), [2])
The formula uses the UPPER function to convert text in A1 to uppercase. If there is an error, it returns the text "ERROR".