Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Recognizing #VALUE! as a condition in an IF Function Argument
Is there some way to get #VALUE! recognized as one of the conditions of an IF
function argument? For example, if D3 shows #VALUE! (as the result of a "value error"), then one could ask, =IF(D3=#VALUE!,"bark","bite") or possibly =IF(D3="#VALUE!","bark","bite"), and the result would be "bark" (since D3 really does equal "#VALUE!"). |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Recognizing #VALUE! as a condition in an IF Function Argument
Try this:
=IF(ISERROR(D3),"bark","bite") Does that help? *********** Regards, Ron XL2002, WinXP-Pro "Jim J." wrote: Is there some way to get #VALUE! recognized as one of the conditions of an IF function argument? For example, if D3 shows #VALUE! (as the result of a "value error"), then one could ask, =IF(D3=#VALUE!,"bark","bite") or possibly =IF(D3="#VALUE!","bark","bite"), and the result would be "bark" (since D3 really does equal "#VALUE!"). |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Recognizing #VALUE! as a condition in an IF Function Argument
If you are only isolating for an error then this should do
=if(iserror(d3),"bark","bite") However it will show "bark" for all instances of error like #N/A, #Div "Jim J." wrote in message ... Is there some way to get #VALUE! recognized as one of the conditions of an IF function argument? For example, if D3 shows #VALUE! (as the result of a "value error"), then one could ask, =IF(D3=#VALUE!,"bark","bite") or possibly =IF(D3="#VALUE!","bark","bite"), and the result would be "bark" (since D3 really does equal "#VALUE!"). |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Recognizing #VALUE! as a condition in an IF Function Argument
N Harkawat wrote...
If you are only isolating for an error then this should do =if(iserror(d3),"bark","bite") However it will show "bark" for all instances of error like #N/A, #Div .... So why not give the OP specifically what he asked for? =IF(COUNT(1/(ERROR.TYPE(D3)=3)),"bark","bite") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Passing a range name as an argument to the Index Function | Excel Discussion (Misc queries) | |||
UDF help please | Excel Discussion (Misc queries) | |||
Why does the Sort function stop recognizing Header Rows? | Excel Worksheet Functions | |||
IF Function with formatting condition | Excel Worksheet Functions | |||
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. | Excel Worksheet Functions |