+ Reply to Thread
Results 1 to 4 of 4

integrating vlookup and cell functions

  1. #1
    Registered User
    Join Date
    09-25-2007
    Posts
    2

    integrating vlookup and cell functions

    I'm trying to find a way to return the location of the results of a Vlookup. To try to simplify this, I want a formula to do a Vlookup and for another formula to be able to report what cell number the Vlookup is referring to when it finds what it is looking for. Does anyone have any suggestions?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    the Match() function will give you the vertical position within the range that a match is found.

    e.g. =Match(A1,X1:X100,0) where A1 is the look up value (same as your Vlookup) and X1:X100 is the column range to find the look up value (the first column of your Vlookup table).
    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
    09-25-2007
    Posts
    2
    Thanks for the tip, as I've never heard of the "match" function before, but is there a way to use it to return the cell location (e.g. a1, c3, etc.) instead of the cell position?

    Quote Originally Posted by NBVC
    the Match() function will give you the vertical position within the range that a match is found.

    e.g. =Match(A1,X1:X100,0) where A1 is the look up value (same as your Vlookup) and X1:X100 is the column range to find the look up value (the first column of your Vlookup table).

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If you're using Vlookup...you probably know the column to pull from...so you can probably use Address function....


    e.g. =Address(Match(A1,X1:X100,0),3)


    where 3 is the column number (starting count from column A) where the Vlookup pulled value would be coming from...

    Note: The range within the match function must start at row 1 (or you can add the number of rows you offset by at the end of the Match function---eg. =Match(A1,X5:X100,0)+4

+ 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