+ Reply to Thread
Results 1 to 4 of 4

vlookup puzzle

  1. #1
    Forum Contributor
    Join Date
    02-27-2004
    Location
    California, United States
    MS-Off Ver
    Excel 2016
    Posts
    317

    vlookup puzzle

    Okay, I feel dimwitted right now. I have used vlookup in other spreadsheets I have put together with no problem but for some reason I am not getting it to work in this one.

    I have attached a small test workbook that shows my problem.

    I am trying to fill in a cell with whether a fish is bred or not. The data comes from a data table of all the fish breeds. I keep getting the #N/A error.

    I know this is going to be something simple I am overlooking.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: vlookup puzzle

    hi CWatsonJr. the 1st column of the table_array must be the column where the lookup_value can be found. so:
    =VLOOKUP(A2,Sheet1!C:D,2,0)
    or:
    =VLOOKUP(A2,Sheet1!C:D,2,FALSE)

    if the corresponding column is a blank, you can hide it by using:
    =VLOOKUP(A2,Sheet1!C:D,2,0)&""

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    09-30-2013
    Location
    Toronto, ON
    MS-Off Ver
    Excel 2007
    Posts
    229

    Re: vlookup puzzle

    Your formula should be
    Please Login or Register  to view this content.
    since you're looking in column C and returning D, you don't need to look at columns A & B
    If this helped, please click (*) Add Reputation

  4. #4
    Forum Contributor
    Join Date
    02-27-2004
    Location
    California, United States
    MS-Off Ver
    Excel 2016
    Posts
    317

    Re: vlookup puzzle

    Thank you. My problem in all the different versions I tried was I was counting from row A instead of the first column of the array.

    Thank you very much!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Little formula puzzle I've come across
    By RpTheHotrod in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-11-2013, 12:57 PM
  2. IF statement puzzle
    By yayomayn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-28-2010, 06:50 AM
  3. Puzzle Nine Dots
    By pike in forum The Water Cooler
    Replies: 28
    Last Post: 12-02-2009, 08:43 PM
  4. [SOLVED] Excel Puzzle
    By dwalesb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2006, 02:30 PM
  5. Can you help!!!!! New Puzzle
    By Krefty in forum Excel General
    Replies: 0
    Last Post: 06-13-2005, 04:05 PM

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