+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP issues

  1. #1
    Registered User
    Join Date
    06-14-2007
    Posts
    8

    VLOOKUP issues

    Hi, there.

    Hopefully you'll be able to help me. I have a vlookup function, and as you can probably guess I recieve some #N/A values. I need to change somehow the function to desplay instead of "#N/A" a "0" value or to let the cell stays blank. I was thinking of using IF function and tried some different ways to define it but no luck for now.

    Any suggestion.
    Thanks in advance.

  2. #2
    Registered User
    Join Date
    05-11-2007
    Location
    Belgium
    Posts
    68

    VLookup

    For best understanding you should include some of your trials as code and a short description of what you suppose to do, with results you wanted.

    Perhaps you need a conditional formula to avoid error N/A, something like :

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    try this


    =if(iserror(Vlookup(........),"",Vlookup(........)))

    This tests to see if the lookup gives an error, if it does then blank, if not, the result of the lookup.


    Ed

  4. #4
    Registered User
    Join Date
    06-14-2007
    Posts
    8
    =VLOOKUP(A103,'13.06.07'!$B$1:$C$321,2,FALSE)

    is the initial function. I need to add somehow I guess IF condition, so #N/A not to appear at all, leaving the rows for which no data available will stay blank

  5. #5
    Registered User
    Join Date
    06-14-2007
    Posts
    8
    Quote Originally Posted by EdMac
    try this


    =if(iserror(Vlookup(........),"",Vlookup(........)))

    This tests to see if the lookup gives an error, if it does then blank, if not, the result of the lookup.


    Ed
    EdMac that worked just fine , thank you very much.

    Cheers

  6. #6
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Glad to have helped.

    Thanks for the feedback

    Ed

+ 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