+ Reply to Thread
Results 1 to 8 of 8

Locate a cell

  1. #1
    Registered User
    Join Date
    02-02-2017
    Location
    Chicago, USA
    MS-Off Ver
    2010
    Posts
    7

    Locate a cell

    Hello,

    I was hoping someone could help me with a problem I'm having in Excel. I have a 25x25 table e.g.

    1 2 3 4 5 ..... 25
    1 1 1 1 1 ..... 1
    2 2 2 2 2 ..... 2
    3 3 3 3 3 ..... 3
    4 4 4 4 4 ..... 4
    5 5 5 5 5 ..... 5
    . . . . .
    . . . . .
    . . . . .
    25 25 25 25 25 ..... 25

    I'm trying to find a way to locate the cell where if the top row (red) equals e.g. 2 and the value in the column under this heading equals e.g. 4, then the formula tells me that this number exists in cell B5

    Thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Locate a cell

    Maybe this...

    Assuming the matrix is in the range A1:Y26.

    AA1 = row value = 4
    AB1 = column value = 2

    =ADDRESS(MATCH(AA1,A:A,0),MATCH(AB1,1:1,0),4)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    02-02-2017
    Location
    Chicago, USA
    MS-Off Ver
    2010
    Posts
    7

    Re: Locate a cell

    Hi,

    Thank you - this worked. However, I now want to change the numbers 1 - 25 to a letter/number instead i.e. A1. The formula doesn't seem to accept these changes and I wondered if I am doing something wrong or if it's simply not set up to do that?

    Thanks

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Locate a cell

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    02-02-2017
    Location
    Chicago, USA
    MS-Off Ver
    2010
    Posts
    7

    Re: Locate a cell

    Please see attached
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Locate a cell

    =ADDRESS(MATCH(B30,B3:B27,0)+2,MATCH(B33,B2:Z2,0)+1)
    Try this formula
    Last edited by popipipo; 02-07-2017 at 03:43 PM. Reason: formula correction
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  7. #7
    Registered User
    Join Date
    02-02-2017
    Location
    Chicago, USA
    MS-Off Ver
    2010
    Posts
    7

    Re: Locate a cell

    Hi,

    Thank you. I have tried this formula but it returns a location of cell G7.. However, the location should be F8.

    I have tried amending the formula to:

    =ADDRESS(MATCH(B30,B2:Z2,0)+2,MATCH(B33,B3:Z27,0)+1)

    But this returns #N/A

  8. #8
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Locate a cell

    Please Login or Register  to view this content.

    Try this one

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Locate a cell
    By 3XCEL_HELP in forum Excel General
    Replies: 1
    Last Post: 02-02-2017, 07:15 PM
  2. Replies: 5
    Last Post: 11-11-2016, 01:53 PM
  3. macro to locate locate text string and copy/paste offset range
    By guystanley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2014, 08:46 PM
  4. Replies: 5
    Last Post: 08-06-2013, 06:41 PM
  5. How locate address of cell and bring the value of cell bellow
    By Emil999 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2013, 03:46 AM
  6. [SOLVED] Locate the cell
    By itsmejan24 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2012, 01:14 PM
  7. Replies: 1
    Last Post: 11-17-2005, 02:35 PM

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