I'd like to write a formula such that if cell A1 displays #VALUE!
, say TRUE
in cell B1.
Here's my formula in cell B1:
=IF(A1="#VALUE!", "TRUE", "FALSE")
I get FALSE
when A1 does not say #VALUE!
so that part is fine. But, when it does say #VALUE!
, I get a #VALUE!
error in cell B1, when I want it to say TRUE
. How do I do this?
Use IFERROR(value, value_if_error)