+ Reply to Thread
Results 1 to 3 of 3

Look up for a max or min value

Hybrid View

  1. #1
    Registered User
    Join Date
    10-11-2004
    Posts
    69

    Look up for a max or min value

    Here's what I'm trying to achieve...

    if COL A contains various terms
    if COL B contains associated values

    I'm trying to get a formula in COL C that will tell me if the value in COL B is equal to the maximum (or minimum) value for the corresponding term in COL A.

    eg if COL A = a,b,c,a
    and COL B = 1,2,3,4

    I want COL C to return (assuming I'm after the maximum)

    FALSE, TRUE, TRUE, TRUE

    Can anyone assist?

    Thanks

    Timmymac

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

    C1, copied down:

    =B1=MAX(IF($A$1:$A$4=A1,$B$1:$B$4))

    ...confirmed with CONTROL+SHIFT+ENTER.

    Hope this helps!

  3. #3
    Registered User
    Join Date
    10-11-2004
    Posts
    69
    Domenic

    thanks very much. I'm not an array formula afficianado but you're formula is doing the business for me

+ 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