+ Reply to Thread
Results 1 to 6 of 6

I need a MAXIFS formula simalr to SUMIFS but with max value

  1. #1
    Registered User
    Join Date
    03-26-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    24

    I need a MAXIFS formula simalr to SUMIFS but with max value

    I am needing to find the max value of an order size by P/N and by Year. A MAXIFS formula would be perfect but I cannot find one.

    Attached is a small sample size of my data I need to sort through and with 3500 P/N's

    Any thoughts?
    Attached Files Attached Files
    Last edited by Vicarious; 04-25-2017 at 04:25 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,377

    Re: I need a MAXIFS formula simalr to SUMIFS but with max value

    Hi Vicarious,

    Did you say you wanted to upgrade to Excel version 2016 (or Office 365)? They already have a MaxIfS() in the newer versions.

    https://support.office.com/en-us/art...b-9b6376b28883
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: I need a MAXIFS formula simalr to SUMIFS but with max value

    You can do this with an array formula: http://www.utteraccess.com/wiki/MaxIf_-_MinIf_AverageIf
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,963

    Re: I need a MAXIFS formula simalr to SUMIFS but with max value

    Use a pivot table
    Attached Files Attached Files
    Ben Van Johnson

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: I need a MAXIFS formula simalr to SUMIFS but with max value

    Here's a non-array formula for D4 copied across and down

    =MAX(INDEX('Raw Data'!$C$2:$C$54 * ('Raw Data'!$A$2:$A$54=$A4)*(YEAR('Raw Data'!$D$2:$D$54)=D$3),0))
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    03-26-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: I need a MAXIFS formula simalr to SUMIFS but with max value

    Awesome ! Four great answers!

    I love this forum!

+ 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. MAXIFS with OR criteria
    By HalPlz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-06-2019, 03:24 AM
  2. MAXIFS with criteria
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 01-25-2017, 10:14 AM
  3. [SOLVED] MaxIFs help
    By Hondahawkrider in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-25-2016, 02:23 PM
  4. MaxIFS help
    By Hondahawkrider in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-06-2016, 03:17 PM
  5. Minifs, maxifs, averageifs, medianifs, coeffvarifs
    By qwertyjjj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2014, 07:48 PM
  6. [SOLVED] Having issues writing a 'MAXIFS' array function
    By qaliq in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-23-2013, 11:01 AM
  7. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 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