+ Reply to Thread
Results 1 to 3 of 3

How to make #NA appear blank?

Hybrid View

  1. #1
    Boatman
    Guest

    How to make #NA appear blank?

    In a long column of vlookup equations, some cells evaluate to #NA when the
    table array does not contain the lookup variable. That's fine, but how do I
    make those cells appear blank, or better yet, empty? I have tried
    "=IF(VLOOKUP(C2,range2,10,FALSE)=NA(),"",VLOOKUP(C2,range2,10,FALSE))", but
    this unexpectedly (to me) also evaluates to #NA.

    Thank!

    Boatman



  2. #2
    JE McGimpsey
    Guest

    Re: How to make #NA appear blank?

    One way:

    =IF(ISNA(VLOOKUP(C2,range2,10,FALSE)),"",VLOOKUP(C2,range2,10,FALSE))

    In article <[email protected]>,
    "Boatman" <[email protected]> wrote:

    > In a long column of vlookup equations, some cells evaluate to #NA when the
    > table array does not contain the lookup variable. That's fine, but how do I
    > make those cells appear blank, or better yet, empty? I have tried
    > "=IF(VLOOKUP(C2,range2,10,FALSE)=NA(),"",VLOOKUP(C2,range2,10,FALSE))", but
    > this unexpectedly (to me) also evaluates to #NA.
    >
    > Thank!
    >
    > Boatman


  3. #3
    Boatman
    Guest

    Re: How to make #NA appear blank?

    That worked great. I just pasted it in as you wrote it. Thanks!

    Boatman


    "JE McGimpsey" <[email protected]> wrote in message
    news:[email protected]...
    > One way:
    >
    > =IF(ISNA(VLOOKUP(C2,range2,10,FALSE)),"",VLOOKUP(C2,range2,10,FALSE))
    >
    > In article <[email protected]>,
    > "Boatman" <[email protected]> wrote:
    >
    >> In a long column of vlookup equations, some cells evaluate to #NA when
    >> the
    >> table array does not contain the lookup variable. That's fine, but how do
    >> I
    >> make those cells appear blank, or better yet, empty? I have tried
    >> "=IF(VLOOKUP(C2,range2,10,FALSE)=NA(),"",VLOOKUP(C2,range2,10,FALSE))",
    >> but
    >> this unexpectedly (to me) also evaluates to #NA.
    >>
    >> Thank!
    >>
    >> Boatman




+ 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