Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jim J.
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
N Harkawat
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing a range name as an argument to the Index Function Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM
UDF help please Adam Kroger Excel Discussion (Misc queries) 3 December 17th 05 07:21 PM
Why does the Sort function stop recognizing Header Rows? Frostfire Excel Worksheet Functions 4 July 17th 05 11:43 PM
IF Function with formatting condition ABDIAZ Excel Worksheet Functions 2 April 27th 05 10:20 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"