+ Reply to Thread
Results 1 to 3 of 3

Convert complex SUMIFS to COUNTIFS

  1. #1
    Registered User
    Join Date
    10-30-2019
    Location
    Bucharest
    MS-Off Ver
    365 ProPlus
    Posts
    15

    Convert complex SUMIFS to COUNTIFS

    Hello!

    I`m working with a huge table and lately I`m trying to automatize some of the things I do, but due to my limited knowledge of Excel it seems that my only hope is you guys.

    Courtesy of users on this forum I now have a formula that SUMS everything I need, but I also want it to COUNT using the same criteria.

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


    I have a small model om my table attached for better understanding.

    Thank you!
    Attached Files Attached Files

  2. #2
    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,668

    Re: Convert complex SUMIFS to COUNTIFS

    I presume you have tried this?

    =SUM(COUNTIFS(H:H;"="&J4;C:C;"="&107382;E:E;{21;22,4;24};G:G;"="&J5;B:B;"="&J6;D:D;"<="&EOMONTH(K3;0);D:D;">="&DATE(YEAR(K3);MONTH(K3);1)))+SUM(COUNTIFS(H:H;"="&J4;C:C;"<>"&107382;G:G;"="&J5;B:B;"="&J6;D:D;"<="&EOMONTH(K3;0);D:D;">="&DATE(YEAR(K3);MONTH(K3);1))
    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.

  3. #3
    Registered User
    Join Date
    10-30-2019
    Location
    Bucharest
    MS-Off Ver
    365 ProPlus
    Posts
    15

    Re: Convert complex SUMIFS to COUNTIFS

    I was trying COUNTIFS(COUNT ...
    I probably should take some Excel lessons
    Thank you very much!

+ 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. Complex countifs
    By pickslides in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-08-2019, 05:14 AM
  2. Help need with complex COUNTIFS
    By ZEROCOOL UK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-29-2018, 04:50 AM
  3. Replies: 6
    Last Post: 10-11-2017, 04:57 PM
  4. [SOLVED] Tell me about countifs & sumifs
    By keshavtale in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-29-2015, 09:01 AM
  5. [SOLVED] Complex if Formulas AVERAGEIFS, SUMIFS, COUNTIFS
    By fredlo2010 in forum Excel General
    Replies: 5
    Last Post: 06-19-2014, 03:26 PM
  6. Complex COUNTIFS
    By ntanswell in forum Excel General
    Replies: 3
    Last Post: 01-09-2014, 12:30 PM
  7. [SOLVED] countif/sumif with more criterias - too complex for countifs/sumifs
    By Mengo85 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-03-2013, 07:18 AM

Tags for this Thread

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