+ Reply to Thread
Results 1 to 6 of 6

Return MAX result for specific criteria for multiple values

  1. #1
    Registered User
    Join Date
    05-04-2019
    Location
    London, England
    MS-Off Ver
    2018
    Posts
    20

    Return MAX result for specific criteria for multiple values

    I would like to be able to return the latest dates (Column D) from a criteria that has multiple results . I need to do this for 8-9000 lines every day. I have tried doing this with Array formula, but it only give me the result from the cell that I dragged it from.

    Has anyone got any idea's for a formula that I could put in Column E that would check all of the cells in column A against the row the formula it is in and then return the max value of the matching criteria.

    Appreciate all the help and apologies for not making my request clearer
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Return MAX result for specific criteria for multiple values

    Put the below in cell E2 and confirm it with Ctrl+Shift+Enter then copy down:
    =MAX(IF(A$2:A$8075=A2,D$2:D$8075))

    If you have an Office 365 subscription you could use the MAXIF formula.

    BSB

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,409

    Re: Return MAX result for specific criteria for multiple values

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here, I have done it for you this time.)

    https://www.excelguru.ca/forums/show...ultiple-values
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    05-04-2019
    Location
    London, England
    MS-Off Ver
    2018
    Posts
    20

    Re: Return MAX result for specific criteria for multiple values

    Thank you BadlySpelledBuoy. I was trying to stay away from the Array Formula as I couldn't get them to work right, but after following your instructions its now working. Thanks for your help.

  5. #5
    Registered User
    Join Date
    05-04-2019
    Location
    London, England
    MS-Off Ver
    2018
    Posts
    20

    Re: Return MAX result for specific criteria for multiple values

    Thanks AliGW

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,428

    Re: Return MAX result for specific criteria for multiple values

    A non-array formula, in case MAXIF isn't an option: =AGGREGATE(14,6,D$2:D$8075/(A$2:A$8075=A2),1)
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Return result based on multiple criteria..
    By Frazzfreeman in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-02-2014, 03:47 AM
  2. Search for multiple criteria then return result
    By ctrapper in forum Excel General
    Replies: 7
    Last Post: 03-15-2011, 09:03 PM
  3. Return Result based on Multiple Criteria
    By franciz in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-20-2009, 01:30 PM
  4. How do I Provide a specific result given multiple criteria?
    By Luis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  5. [SOLVED] How do I Provide a specific result given multiple criteria?
    By Luis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  6. How do I Provide a specific result given multiple criteria?
    By Barb Reinhardt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  7. How do I Provide a specific result given multiple criteria?
    By Luis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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