=IFERROR(10/0, "Error") in a cell, what will be the displayed result?=IFERROR(10/0, "Error")
Dividing by zero causes an error (#DIV/0!). The IFERROR function catches this error and returns the second argument, which is the text "Error".
Option C uses IFERROR to catch any error from VLOOKUP with exact match (FALSE) and returns "Not found" if an error occurs.
Option C does not handle errors properly and repeats VLOOKUP twice.
Option C uses approximate match (TRUE), which may return wrong results.
Option C is missing the value if no error occurs.
=IFERROR(VALUE(A1), IFERROR(1/0, 100))=IFERROR(VALUE(A1), IFERROR(1/0, 100))
VALUE("apple") causes a #VALUE! error, so the outer IFERROR moves to the second argument.
Inside the second argument, 1/0 causes a #DIV/0! error, caught by the inner IFERROR which returns 100.
=INDEX(B2:B10, MATCH("Orange", A2:A10, 0)) but sometimes "Orange" is missing, causing #N/A error. Which formula avoids showing #N/A and shows "Missing" instead?Option D wraps the entire INDEX-MATCH formula in IFERROR, so if MATCH fails, it returns "Missing".
Option D uses ISNA but repeats MATCH twice, less efficient.
Option D only handles MATCH, not INDEX.
Option D misses the match type argument (0) causing wrong results.
=IFERROR(1/(A1-5), IFERROR(SQRT(A1-5), "No result")) and cell A1 contains 3, what is the displayed result?=IFERROR(1/(A1-5), IFERROR(SQRT(A1-5), "No result"))
1/(3-5) = 1/(-2) = -0.5, no error, so IFERROR returns -0.5.
But check carefully: 1/(3-5) = 1/(-2) is valid, so no error, output is -0.5.
Wait, the formula returns -0.5, so option A is correct, not A.
Re-examining: The formula tries 1/(A1-5). Since A1=3, 3-5 = -2, 1/-2 = -0.5 no error, so IFERROR returns -0.5.
Therefore, correct answer is C.