+ Reply to Thread
Results 1 to 9 of 9

Vlookup Help

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    399

    Vlookup Help

    I have three columns of data, the fist column is dates. the second is day of week, and the third are abbreviations. I need to return the date based on the third column. I would like to have a vlookup that returns for the first column. Like Vlookup(A3,History,1,Flase).

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Vlookup Help

    VLOOKUP cannot return values based on any other column than the left-most in the tableau. so, you can either move your 3rd column to the 1st column, or use INDEX / MATCH.

    upload a sample file to get help setting that up.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Vlookup Help

    you can use i this format
    =VLOOKUP(D1,CHOOSE({1,2},C1:C1100,A1:A100),2,FALSE)

    =VLOOKUP(D1,CHOOSE({1,2},abbrevrange,daterange),2,FALSE)
    Last edited by martindwilson; 06-26-2012 at 07:58 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Vlookup Help

    ... and i was just kidding about VLOOKUP not being able to do much

    attaboy, mdw!

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Vlookup Help

    @wskip49

    Just for thought...

    If the data is from multiple columns in a lookup value, Index/Match is more efficient from what i know.
    VLOOKUP and MATCH invokes the same routines so really no significant difference.(plain vlookup function)

    try to experiment on using vlookup and index/match in a sample of your file, if who performs faster in your data then you use that.

    @ martin, sir can you give us some more points with this regards using your formula, for the sake of learning....
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Vlookup Help

    Looks like MDW is offline. NBVC used the formula earlier today and explained it. Maybe you could find his post. He did warn that it is not as efficient as INDEX() MATCH() so I don't see the point of it. He also gave credit for it to daddylonglegs.

  7. #7
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Vlookup Help

    OK. thanks cutter, i'll search for it now.thanks for the info.

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

  9. #9
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Vlookup Help

    thanks for the link martin, didn't find it yesterday.

+ 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