+ Reply to Thread
Results 1 to 4 of 4

Recognizing #VALUE! as a condition in an IF Function Argument

  1. #1
    Jim J.
    Guest

    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. #2
    Ron Coderre
    Guest

    RE: 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. #3
    N Harkawat
    Guest

    Re: 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." <JimJ@discussions.microsoft.com> wrote in message
    news:B1F9F2B8-B5BC-44CA-8C94-5C1C71E6C600@microsoft.com...
    > 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. #4
    Harlan Grove
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1