+ Reply to Thread
Results 1 to 4 of 4

Referencing a Cell

  1. #1
    Registered User
    Join Date
    02-09-2005
    Posts
    5

    Referencing a Cell

    I created a cell that returns the largest value in a row:
    =MAX(I41,I80,I117,I155,I193,I230,I270)
    I want to reference the date of the highest value which would be in colum A same row numbers:
    A41,A80,A117,A155,A193,A230,A270
    So if "I155" was the highest then I want a cell that references A155
    Any help?

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

    =INDEX(N(OFFSET(A41,{1,40,77,115,153,190,230}-1,0)),MATCH(MAX(N(OFFSET(I41,{1,40,77,115,153,190,230}-1,0))),N(OFFSET(I41,{1,40,77,115,153,190,230}-1,0)),0))

    ...confirmed with CONTROL+SHIFT+ENTER.

    Note that if there are two or more values tied for the highest value, the date corresponding to the first occurence will be returned.

    Hope this helps!

    Quote Originally Posted by cbnordy
    I created a cell that returns the largest value in a row:
    =MAX(I41,I80,I117,I155,I193,I230,I270)
    I want to reference the date of the highest value which would be in colum A same row numbers:
    A41,A80,A117,A155,A193,A230,A270
    So if "I155" was the highest then I want a cell that references A155
    Any help?

  3. #3
    Registered User
    Join Date
    02-09-2005
    Posts
    5
    Thanks for the help but I still cannot get it to work.

  4. #4
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Quote Originally Posted by cbnordy
    Thanks for the help but I still cannot get it to work.
    If you'd like, you can email me your file and I'll have a look at it. You can email me at [email protected]

    Cheers!

+ 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