+ Reply to Thread
Results 1 to 4 of 4

INDEX with more that one criteria

  1. #1
    Registered User
    Join Date
    01-29-2016
    Location
    Toronto
    MS-Off Ver
    10
    Posts
    5

    INDEX with more that one criteria

    Please refer to the attached file.

    In Row 1 I want the value in F column that corresponds with the largest number in that column.

    I.E. A1 has a value of 2 because A3:A10 max is 49

    My issue is with B1 and C1 where the columns have 2 Max equal values. This is identified in Row 2 which is a count of the Max number in that column.

    In this case I would like the number returned that has the Max value in Column G which is the Sum of that Row.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: INDEX with more that one criteria

    copy paste in A1 then hold control and shift together and then hit enter to make it array formula
    and drag to left
    =MAX((MAX(A3:A10)=A3:A10)*$F$3:$F$10)

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    01-29-2016
    Location
    Toronto
    MS-Off Ver
    10
    Posts
    5

    Re: INDEX with more that one criteria

    hemesh

    Thank you for your reply. At first glance the array you gave me works out well;
    however when I test it by changing the values in G column it does not return the
    correct number. It appears to only return the highest number in F column.

    I require the number in F column based on the higher value in G column when there are two identical Max values in A column.

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: INDEX with more that one criteria

    in A1 try below array
    =MAX((MAX(A3:A10)=A3:A10)*$G$3:$G$10)

    and drag to right

+ 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] Index Match with Multiple Criteria Using Same Criteria Column
    By rominjn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2015, 11:34 AM
  2. [SOLVED] Index criteria
    By marcelsw in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-22-2015, 06:39 PM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. Index Match using two criteria to return on of criteria values
    By RogueLeader in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2014, 09:50 AM
  5. [SOLVED] Index- now with two criteria
    By k8bug79 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-17-2013, 12:53 PM
  6. [SOLVED] Excel 2007 : index with 2 criteria...
    By svmatso in forum Excel General
    Replies: 9
    Last Post: 07-06-2012, 06:39 PM
  7. index match three criteria
    By 00Able in forum Excel General
    Replies: 1
    Last Post: 02-15-2011, 07:09 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