+ Reply to Thread
Results 1 to 4 of 4

want to extract most recent data from a list based on two criteria

  1. #1
    Registered User
    Join Date
    09-05-2016
    Location
    Vancouver, Canada
    MS-Off Ver
    365
    Posts
    63

    want to extract most recent data from a list based on two criteria

    I have a list of fitness testing results that I need to move the most recent time that text has been done with the athlete to another chart to show where their testing level currently is at. When the data set gets updated with new results then the current result chart will update. Ideally I was thinking that using the aggregate function would be the most ideal method but I am having issues getting it to work properly.

    Attached is sample data with the chart that I want the data to be entered. Note: the 2 criteria that will need to be used is the athlete name in cell G6 and the Exercise that is in each row in Column I. and the actual results will be populated in column J and K.


    Chris
    Attached Files Attached Files

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: want to extract most recent data from a list based on two criteria

    Try this formulas in J7 and K7

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    09-19-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    208

    Re: want to extract most recent data from a list based on two criteria

    In J7 and filled down:

    =MAXIFS(B:B,A:A,$G$6,D:D,I7)

    In K7 and filled down:

    =SUMPRODUCT(($A$2:$A$1000=$G$6)*($B$2:$B$1000=J7)*($D$2:$D$1000=I7)*($E$2:$E$1000))

    If your version of Excel doesn't support MAXIFS function, you can use an array function like below (you must commit with CTRL+SHIFT+ENTER, not just ENTER):

    =MAX(IF((A2:A1000=$G$6)*(D2:D1000=I7),B2:B1000))

    When entered properly, the array function will appear with braces around it, i.e { }

  4. #4
    Registered User
    Join Date
    09-05-2016
    Location
    Vancouver, Canada
    MS-Off Ver
    365
    Posts
    63

    Re: want to extract most recent data from a list based on two criteria

    Ahh you are a lifesaver. This worked perfectly Thanks for the help

+ 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] Extract x% sample from a list based on a criteria
    By namy77 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2018, 07:53 PM
  2. [SOLVED] Filter and extract list of data based on criteria using INDEX MATCH
    By brake in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-13-2018, 08:30 AM
  3. [SOLVED] Extract a list based on criteria within same & adjacent column
    By Ariff_Chowdhury in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-20-2017, 12:16 AM
  4. Extract List Based on multiple criteria
    By Herbiec09 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-14-2017, 04:21 AM
  5. Replies: 2
    Last Post: 01-04-2016, 03:40 AM
  6. [SOLVED] Extract a sublist from a list based on criteria(s)
    By hcyeap in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-01-2015, 05:16 PM
  7. Replies: 3
    Last Post: 12-18-2014, 10:27 AM

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