+ Reply to Thread
Results 1 to 4 of 4

Returning the result of a VLOOKUP as a cell reference?

  1. #1
    Registered User
    Join Date
    02-26-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Returning the result of a VLOOKUP as a cell reference?

    Hi Guys,

    I've had a look at a few similar problems to mine, but I don't seem able to relate the solutions to those problems to my situation.

    I have a cell with the following formula: =VLOOKUP($E$27,Statistics,8,TRUE)

    Which returns the value of a lookup without any trouble.

    However, I'd like for it to return the cell reference of that lookup, rather than the value in the cell.

    Is this possible with my formula?

    Thanks for your time,

    Milky

    Edit - Crosspost: http://www.mrexcel.com/forum/showthr...96#post2626996

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Returning the result of a VLOOKUP as a cell reference?

    Using =VLOOKUP($E$27,Statistics,8,TRUE)

    If you want the reference of the cell that is in the 8th column of Statistics for the matched item from E27...Here are a couple approaches:
    • Create a range name for the 1st column of Statistics....eg StatCol_1

    • This formula actually refers to the cell....eg cell L17:
    Please Login or Register  to view this content.
    or
    • This formula returns the description of the reference...eg "$L$17"
    Please Login or Register  to view this content.

    Does that help...or do you need something else?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Returning the result of a VLOOKUP as a cell reference?

    Does this work for you?

    =CELL("Address",OFFSET(Statistics,MATCH($E$27,OFFSET(Statistics,0,0,,1),0)-1,7,1,1))
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    02-26-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Returning the result of a VLOOKUP as a cell reference?

    Many thanks for your help guys, Andy Pope, your solution was great for what I needed!

    Best wishes,

    Milky

+ 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