+ Reply to Thread
Results 1 to 4 of 4

Return cell reference instead of value

  1. #1
    Registered User
    Join Date
    08-22-2006
    Location
    Colorado
    Posts
    1

    Return cell reference instead of value

    I want to use a lookup-type function to look in cell A1 (Sheet 1) for instance, and find a match in column A (Sheet 2); then, return the CELL REFERENCE (for example, A216), instead of the value in cell B1 (Sheet 1). Does anyone know if this can be done?

    EXAMPLE
    Sheet 1
    Column A Column B
    Row 1 Monday A216

    (Column B contains a formula resulting in a cell reference "A216", rather than the value "Monday")

    Sheet 2

    Column A
    Row 215 Sunday
    Row 216 Monday
    Row 217 Tuesday
    Last edited by lmason; 08-23-2006 at 12:04 AM. Reason: typo

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    try this

    =ADDRESS(MATCH(A1,Sheet2!A1:A100,0),1,4)

    put in B1 of sheet1 and drag it down

    hope it would serve your purpose.
    Quote Originally Posted by lmason
    I want to use a lookup-type function to look in cell A1 (Sheet 1) for instance, and find a match in column A (Sheet 2); then, return the CELL REFERENCE (for example, A216), instead of the value in cell B1 (Sheet 1). Does anyone know if this can be done?

    EXAMPLE
    Sheet 1
    Column A Column B
    Row 1 Monday A216

    (Column B contains a formula resulting in a cell reference "A216", rather than the value "Monday")

    Sheet 2

    Column A
    Row 215 Sunday
    Row 216 Monday
    Row 217 Tuesday

  3. #3
    Registered User
    Join Date
    03-29-2021
    Location
    USA
    MS-Off Ver
    Professional Plus 2019
    Posts
    3

    Re: Return cell reference instead of value

    Good afternoon,

    What about if column 2 has multiple rows with "Monday" and you want to know the address range for those values? The list is sorted alphabetically, so all the cells with "Monday"
    would be in sequence and not out of order.

    Thanks.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Return cell reference instead of value

    The thread you are responding to was from 15 years ago - I doubt if the contributors are still monitoring the thread.

    Besides, if you read the Forum Rules (available on the menu at the top of the screen), you would see that Rule 04 says you should not try to hijack someone else's thread by asking your own question - start a new thread instead.

    Pete

+ 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