+ Reply to Thread
Results 1 to 5 of 5

Display corresponding value...

  1. #1
    Registered User
    Join Date
    09-29-2007
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    55

    Display corresponding value...

    I've already got this array formula from daddylonglegs:
    =MAX(M5:M24)&"/"&MIN(IF(M5:M24=MAX(M5:M24),IF(L5:L24,L5:L24)) )

    It selects the highest value/s in the M column and matches it with the lowest possible corresponding L value in the format M/L

    I now want to add another bit, to make it M/L (J). It doesn't matter what's in column J as long as it's from the corresponding row that was used in the M/L.

    It's very similar to another problem I've had solved here but I can't seem to make the necessary adaptations to make it work.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi cricket_stoner,

    Try this function to include the value in column J corresponding to the row used in column M/L:
    Please Login or Register  to view this content.
    New section is in red.

  3. #3
    Registered User
    Join Date
    09-29-2007
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    55
    Thanks for the help.
    That works most of the time but when there are multiple highest M values, it doesn't always select the J in the same row as the L does. It is always in the same line as one of the highest M values, but not the one with the lowest L value. Does that makes sense....?

    J L M
    4 18 3
    6 19 3

    3/18 is the best, and so it should read 3/18 (4)

    but it says 3/18 (6)

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Ok, how about this one:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-29-2007
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    55
    That's the one. Good stuff.

    Cheers mate, much appreciated.

+ 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