+ Reply to Thread
Results 1 to 4 of 4

how to get the cell reference instead of its value?

  1. #1
    Registered User
    Join Date
    06-18-2007
    Location
    Portugal
    Posts
    4

    how to get the cell reference instead of its value?

    I need some help to find a function than returns the line (or reference) in a table of certain value.
    The function vlookup returns the value and i need the reference of that value.

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

    e.g. =Match(A1,B:B,0) will tell you the row number from column B that a match is found to lookup value in A1
    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
    06-18-2007
    Location
    Portugal
    Posts
    4

    Smile Thanks!

    Match was the right option!
    More than a good answer... it was poetry in motion! lol

    You could try to be a poet!
    Thanks

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

    Be aware that Match() gives the relative position within the defined range. Not necessarily the actual row number... If you use whole columns like B:B or if your range starts at row 1, then the position coincides with the row number, but if you have a defined range like B2:B15, then Match() will find the position number within that range that a match is found.

+ 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