Consulting

Results 1 to 6 of 6

Thread: Solved: VLOOKUP question

  1. #1
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location

    Solved: VLOOKUP question

    Boy I have not been doing enough Excel lately. Trying to use a VLOOKUP and am getting the #N/A error. I think it is something like IF(ISERROR but cant remember the rest.

    =VLOOKUP(G19,Brand!A3:B551,2,FALSE)

    Whats the right syntax?

    Forgot to mention, want the cell to be blank not 0.
    Peace of mind is found in some of the strangest places.

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    post it austenr, or a small example.....workbook that is.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    I figured it out. Thanks Steve.
    Peace of mind is found in some of the strangest places.

  4. #4
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    something like:

    =IF(H5<>"",..... ??
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  5. #5
    Moderator VBAX Master geekgirlau's Avatar
    Joined
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,464
    Location
    =IF(ISNA(VLOOKUP(G19,Brand!A3:B551,2,FALSE)),"",VLOOKUP(G19,Brand!A3:B551,2 ,FALSE))

  6. #6
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Thanks GG, thats what I came up with after I shook out the cob webs
    Peace of mind is found in some of the strangest places.

Posting Permissions

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