+ Reply to Thread
Results 1 to 8 of 8

Countifs with multicriterias

  1. #1
    Registered User
    Join Date
    01-15-2022
    Location
    turkey
    MS-Off Ver
    2021
    Posts
    10

    Countifs with multicriterias

    How do we count named X,Y and Z satisfying the criterias C1,C2,C3,C4 in the yellow zone in the years 2021 and 2022?

    screen shot.jpg
    Shortly, I want to create a table like the green zone. Please find the attachment..
    Attached Files Attached Files
    Last edited by student_md; 07-30-2022 at 08:47 AM.

  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: Countifs with multicriterias

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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
    01-15-2022
    Location
    turkey
    MS-Off Ver
    2021
    Posts
    10

    Re: Countifs with multicriterias

    Thank you for your interest.
    I have uploaded example Excell workbook.
    Last edited by student_md; 07-30-2022 at 08:17 AM.

  4. #4
    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: Countifs with multicriterias

    2021:

    =COUNTIFS($C:$C,$H$1,$A:$A,$G3,$B:$B,H$2)

    2022:

    =COUNTIFS($C:$C,$H$1,$A:$A,$G3,$B:$B,H$2)

    If you removed the merged cells, we could have one formula for everything.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-15-2022
    Location
    turkey
    MS-Off Ver
    2021
    Posts
    10

    Re: Countifs with multicriterias

    Many thanks.
    We can removed the merged files. So, what is the one formula?

  6. #6
    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: Countifs with multicriterias

    This:

    =COUNTIFS($C:$C,H$1,$A:$A,$G3,$B:$B,H$2)

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    G
    H
    I
    J
    K
    L
    M
    N
    O
    1
    Name
    2021
    2021
    2021
    2021
    2022
    2022
    2022
    2022
    2
    C1
    C2
    C3
    C4
    C1
    C2
    C3
    C4
    3
    X
    2
    1
    4
    5
    1
    3
    1
    3
    4
    Y
    1
    1
    0
    3
    1
    0
    0
    0
    5
    Z
    0
    1
    0
    0
    2
    0
    1
    0
    Sheet: Sheet1
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-15-2022
    Location
    turkey
    MS-Off Ver
    2021
    Posts
    10

    Re: Countifs with multicriterias

    thank you very much.

  8. #8
    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: Countifs with multicriterias

    Glad to 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. Countifs with multicriterias
    By student_md in forum Excel General
    Replies: 1
    Last Post: 07-30-2022, 08:13 AM
  2. [SOLVED] Countifs, reference cell and countifs from multiple tabs
    By rayted in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2022, 04:30 AM
  3. [SOLVED] Countifs by month and Sum does not match Countifs for year, help with syntax needed
    By m_carter in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-08-2021, 10:12 AM
  4. [SOLVED] converting a countifs referencing part of the formula to a indirect countifs
    By DEEARO in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-30-2021, 03:17 PM
  5. Replies: 6
    Last Post: 03-19-2019, 09:14 PM
  6. [SOLVED] Sumproduct to replace countifs as countifs don't work on external source reference
    By KrishnaSagar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-02-2017, 02:33 AM
  7. Replies: 0
    Last Post: 12-16-2011, 09:01 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