+ Reply to Thread
Results 1 to 5 of 5

reverse vlookup?

  1. #1
    Registered User
    Join Date
    04-07-2008
    Posts
    30

    reverse vlookup?

    hi,
    i need to vlook up values in cols C, E, G and return values in column A. (Please see attached file) The desired results are in columns K, M, O.

    Is it possible to do a reverse vlookup without moving around the columns? I know it's possible to do a reverse hlookup by using countif and offset but was wondering if it's possible w. vlookup.

    Many thanks!
    Attached Files Attached Files
    Last edited by VBA Noob; 09-17-2008 at 05:48 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612
    The formula below, placed in J6 and copied down, works for the first case. I did not work on the others but something similar should work.

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    Below is a modified version of your reverse hlookup formula, you can copy/paste across and down.
    Please Login or Register  to view this content.
    Of course you can change "n/a" to "" if you want it to return blanks.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    The standard approach for a "left lookup" is to use INDEX/MATCH, e.g. in K6 copied down

    =IF(ISNA(MATCH($J6,C$6:C$17,0)),"",INDEX($A$6:$A$17,MATCH($J6,C$6:C$17,0)))

    and similar for your other columns.

    Note: some of your dates in columns E and G are 2008 dates, should these be 2003?

  5. #5
    Registered User
    Join Date
    04-07-2008
    Posts
    30
    Hi protonLeah, Ikaabod, and daddylonglegs,

    Thank you very much for your replies. These are great solutions. Exactly what I was looking for. This forum rocks!

    Thanks,

    PS: daddylonglegs, yes the dates are supposed to be 2003, good catch! :D
    Last edited by tn80; 09-17-2008 at 11:11 PM.

+ 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. vlookup in multiple worksheets
    By gto65l in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2011, 01:04 PM
  2. Reverse Vlookup
    By teachMeExcel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2008, 07:54 PM
  3. Vlookup using two columns-needs to match the first two column
    By pduubb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-01-2008, 01:21 PM
  4. presenting array lists returned by VLOOKUP in one cell
    By twelsh37 in forum Excel General
    Replies: 2
    Last Post: 12-05-2007, 01:45 PM
  5. vlookup on a dynamic # of rows
    By shadestreet in forum Excel General
    Replies: 4
    Last Post: 05-02-2007, 01:02 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