+ Reply to Thread
Results 1 to 4 of 4

need to find MAX value IF meets criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    01-01-2013
    Location
    melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    55

    need to find MAX value IF meets criteria

    hello i need to find the maximum value for each letter from an array which will be mixed up like below. the array and number of unique letters will be alot more!

    a 1 = should =7
    b 2 = should = 8
    c 3 = should = 9
    a 4 = should =7
    b 5 = should = 8
    c 6 = should = 9
    a 7 = should =7
    b 8 = should = 8
    c 9 = should = 9
    Last edited by rossg; 11-03-2013 at 11:25 PM.

  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: need to find MAX value IF meets criteria

    Try this...


    Data Range
    A
    B
    C
    1
    ----
    ----
    ----
    2
    a
    1
    7
    3
    b
    2
    8
    4
    c
    3
    9
    5
    a
    4
    7
    6
    b
    5
    8
    7
    c
    6
    9
    8
    a
    7
    7
    9
    b
    8
    8
    10
    c
    9
    9


    This array formula** entered in C2 and copied down:

    =MAX(IF(A$2:A$10=A2,B$2:B$10))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    01-01-2013
    Location
    melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    55

    Re: need to find MAX value IF meets criteria

    this works but i cant go down every row and press ctrl + shift + enter i have 12,000 rows..


    when i highlight the whole range and press this it doesnt work...

    is there another way to do this

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

    Re: need to find MAX value IF meets criteria

    Quote Originally Posted by rossg View Post
    this works but i cant go down every row and press ctrl + shift + enter i have 12,000 rows..

    You only need to enter the formula once then you copy it down as far as needed.

+ 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. [SOLVED] find last value in a column if it meets a certain criteria
    By chiidzzz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-15-2012, 02:19 PM
  2. Find the last in a list that meets the certain criteria
    By csmall86 in forum Excel General
    Replies: 1
    Last Post: 10-31-2010, 12:27 PM
  3. Find cell that meets criteria
    By dudedude in forum Excel General
    Replies: 5
    Last Post: 07-08-2010, 08:31 AM
  4. How do I find the last row which meets criteria??
    By colwyn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2009, 12:34 PM
  5. [SOLVED] In an array, I need to find the row # that meets 2 criteria
    By Space Elf in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-08-2006, 12:00 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