+ Reply to Thread
Results 1 to 3 of 3

Using Vlookup (and perhaps MATCH)

  1. #1
    Registered User
    Join Date
    08-07-2009
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Using Vlookup (and perhaps MATCH)

    Hello,

    I have a 3 Columns A, C and E.
    In cell B1, I want to check if the values in A exist in C. If they do, i would like to return the value of E.

    For example let's say Bob is in A3. I searched column C for Bob and found it in in C8. In B3, I would like to return the value of E8 (basically I want to keep the row value the same and return the value in E).

    So far i have
    =IF(VLOOKUP(column A,column B,1,0)= TRUE,1,return value in Column E)

    I just dont know how to return the value in column E.


    Thanks,
    Excel_Fan
    Last edited by NBVC; 02-09-2011 at 12:53 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using Vlookup (and perhaps MATCH)

    Try:

    =INDEX(E:E,MATCH(A1,C:C,0))

    or

    =VLOOKUP(A1,C:E,3,FALSE)

    To avoid the #N/A error you can wrap either formula with a test... e.g.

    =IF(ISNUMBER(MATCH(A1,C:C,)),VLOOKUP(A1,C:E,3,FALSE),"")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-07-2009
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Using Vlookup (and perhaps MATCH)

    Thanks.

    I used =INDEX(E:E,MATCH(A1,C:C,0)) to get what I needed. This was very useful. I'll read up about index and see its uses. i had arrange the number in a way where they matched type as well. But it eventually worked out.

    Appreciate the help.

    Excel_fan

+ 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