Article ID: 179379
Article Last Modified on 8/17/2005
A1: 5
A2: 10
A3: =IF(ERROR.TYPE(A1)=7, "Value is not available", A2)
=IF(ISERROR(ERROR.TYPE(A1)),A2,IF(ERROR.TYPE(A1)=7,
"Value is not available","")) The following formula checks cell E50 to see whether it contains a #N/A
error value. If it does, the text "Value is not available" is
displayed. Otherwise, the value in E50 is returned.
IF(ERROR.TYPE(E50)=7, "Value is not available", E50)
The following macro formula checks the cell named Ratio to see if it contains a #DIV/0! error value. If it does, a subroutine named DivisionByZero is run.
IF(ERROR.TYPE(Ratio)=2,DivisionByZero())
=IF(ISERROR(ERROR.TYPE(Ratio)),Ratio,IF(ERROR.TYPE(Ratio)=2, DivisionByZero(),""))
Additional query words: XL97 XL5 XL7 XL
Keywords: kbpending KB179379