+ Reply to Thread
Results 1 to 5 of 5

Locate the cell

  1. #1
    Registered User
    Join Date
    04-05-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003/2007
    Posts
    45

    Locate the cell

    Hi. I would like to achieve something in Excel and I would appreciate any help. Here is the scenario.
    I have the following code:

    MATCH(Q5,$A$2:$A$5000)+1

    the above code gives me value of 522. I know that the value of Q5 is in cell A522. How do I make the result so it would show it as A522. Thank you in advance.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Locate the cell

    Do you mean
    Please Login or Register  to view this content.
    ?

  3. #3
    Registered User
    Join Date
    01-19-2011
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Locate the cell

    You can use the Address function.

    The Syntax: ADDRESS(row_num, column_num, [abs_num], [a1], [sheet_text])

    You already have the formula for row_num. if your data is always in column A then you would put 1 in the column_num. If it is larger than you can do a match across the column titles.

    under the abs_num you would select on of the following:

    1 or omitted Absolute
    2 Absolute row; relative column
    3 Relative row; absolute column
    4 Relative

  4. #4
    Registered User
    Join Date
    04-05-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003/2007
    Posts
    45

    Re: Locate the cell

    Thank you for your respond. Your formula worked. It did give me the location or the cell address. Now using this formula, is there a way I could get the value of cell A522? Thank you.

  5. #5
    Registered User
    Join Date
    04-05-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003/2007
    Posts
    45

    Re: Locate the cell

    I think i got the formula for it. I just add a function called INDIRECT and it worked. Thank you for your time and help Pepe Le Mokko. I really appreciated it.

+ 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