+ Reply to Thread
Results 1 to 16 of 16

MAXIFS Max Count based on multliple criteria

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    MAXIFS Max Count based on multliple criteria

    Hello,

    I was playing with some MAXIFS formulas to try and get the highest count based on multiple criteria.. without luck.

    I made an example attached that shows what I am looking to do.

    But basically I am looking for the highest count of a value based on date & shift.

    I appreciate any help.

    Thank you,
    Nick
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: MAXIFS Max Count based on multliple criteria

    Please add manually the expected results of the formula, so I understand exactly what you mean and want.

  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
    80,869

    Re: MAXIFS Max Count based on multliple criteria

    Is this what you want? In C3:

    =MAXIFS(G$10:$G100003,F$10:$F100003,$A3,B$10:$B100003,C$2)

    As Hans has said, and as you know from previous threads, you really need to provide at least SOME manually calculated expected results to give us a steer on this.
    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
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: MAXIFS Max Count based on multliple criteria

    A guess. two formulae. Here's one:

    =IFERROR(ROWS(FILTER($F$10:$F$10000,($F$10:$F$10000=$A3)*($B$10:$B$10000=C$2))),0)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: MAXIFS Max Count based on multliple criteria

    Thank you for the feedback. I uploaded another sample, color coded with manual values.

    I appreciate the help.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: MAXIFS Max Count based on multliple criteria

    My proposal.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by DJunqueira; 02-10-2024 at 01:47 AM.

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: MAXIFS Max Count based on multliple criteria

    Another way:

    Please try in C3 and copy to the right and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: MAXIFS Max Count based on multliple criteria

    Thank you both! Each of those works great.

  9. #9
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: MAXIFS Max Count based on multliple criteria

    Hi DJunqueira, I had to change the wording in my worksheet from Issue to Issued and Return to Returned.

    I see how to edit the formula for Issued, but I am not sure where to edit for the change in the wording Returned.

    Thanks,
    Nick

  10. #10
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: MAXIFS Max Count based on multliple criteria

    You are Welcome!

    Thanks for the feedback and rep .

    Glad to have helped.

  11. #11
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: MAXIFS Max Count based on multliple criteria

    You may change the 'S' by 'd'.

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

  12. #12
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: MAXIFS Max Count based on multliple criteria

    Thank you DJunqueira, I changed it like this,
    Please Login or Register  to view this content.
    But the Issued and Returned counts are not showing.

    Example attached.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: MAXIFS Max Count based on multliple criteria

    Hi DJunqueira, I am still playing with this, I think there must be another change that is needed, that I can't figure out.

    If you are able to help out. thanks

  14. #14
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: MAXIFS Max Count based on multliple criteria

    Kind of same situation.
    You were taking out the "D" that you added in ISSUED.

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

  15. #15
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: MAXIFS Max Count based on multliple criteria

    Thank you! That did it. I appreciate your help.

  16. #16
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: MAXIFS Max Count based on multliple criteria

    Tks for the feedback, glad to have helped.

+ 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. Closest Date with Criteria (with MAXIFS formula?)
    By impala096 in forum Excel Formulas & Functions
    Replies: 37
    Last Post: 03-18-2024, 11:54 AM
  2. Additional criteria to a maxifs formula
    By JaySanctuary in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-14-2023, 11:01 AM
  3. [SOLVED] How to use MOD as a criteria in MAXIFS formula or any other solution to my problem
    By Govind0186 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-28-2020, 12:47 PM
  4. MAXIFS formula that excludes based on date
    By xavior1325 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-11-2019, 01:41 PM
  5. Offset Maxifs with Multiple Criteria
    By noobsesher in forum Excel General
    Replies: 1
    Last Post: 06-08-2019, 11:38 PM
  6. MAXIFS with OR criteria
    By HalPlz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-06-2019, 03:24 AM
  7. MAXIFS with criteria
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 01-25-2017, 10:14 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