+ Reply to Thread
Results 1 to 6 of 6

Address of cell containing maximum value

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2011 Mac
    Posts
    8

    Question Address of cell containing maximum value

    Suppose I have some values in cells A1:D60
    I want to find the address of the maximum value, what formula would I need?

    I have tried

    =CELL("address",INDEX(A1:A100,MATCH(MAX(A1:D60),A1:D60,0)))

    but this fails.


    It seems to work fine when I use it for =CELL("address",INDEX(A1:A100,MATCH(MAX(A1:A60),A1:A60,0)))

    i.e. when all the values are in one row.
    Does anyone know how to do this search for multiple rows?

    Thanks.

  2. #2
    Registered User
    Join Date
    10-02-2012
    Location
    Baku
    MS-Off Ver
    Excel 2010
    Posts
    273

    Re: Address of cell containing maximum value

    hi, this is array formula
    the data in a1:d17 cells
    =ADDRESS(MAX((A1:D17=MAX(A1:D17))*(ROW(A1:A17))),MAX((A1:D17=MAX(A1:D17))*COLUMN(A1:D1)),4) CSE

  3. #3
    Registered User
    Join Date
    01-24-2013
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2011 Mac
    Posts
    8

    Re: Address of cell containing maximum value

    This doesn't work.

    And I don't understand where this comes from.
    Please clarify your logic in this.

    To my understanding

    ADDRESS(row_num,column_num)

    According to your formula
    Row number: MAX((A1:D17=MAX(A1:D17))*(ROW(A1:A17)))
    Column number: MAX((A1:D17=MAX(A1:D17))*COLUMN(A1:D1))

    How are these row and column numbers?

  4. #4
    Registered User
    Join Date
    10-02-2012
    Location
    Baku
    MS-Off Ver
    Excel 2010
    Posts
    273

    Re: Address of cell containing maximum value

    That is right,
    every variable (max functions) determines row and column numbers,
    adding the sample file, have a look pls
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-24-2013
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2011 Mac
    Posts
    8

    Re: Address of cell containing maximum value

    [removed]
    ________
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by trueng; 01-24-2013 at 07:28 PM.

  6. #6
    Registered User
    Join Date
    01-24-2013
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2011 Mac
    Posts
    8

    Re: Address of cell containing maximum value

    Ok, just managed it. I've learned something new today about the array functions.

    Thank you very much eisayew.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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