Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

Easily count cells that match two conditions in Excel

Author Siluvia Last modified

Kutools for Excel

Boosts Excel With 300+
Powerful Features

If you are struggling for remembering or applying the formula to count cells that match two conditions simultaneously, here highly recommend the Count cells with two conditions (and) feature of Kutools for Excel. With this feature, you can easily count the number of cells that match two conditions at the same time with only clicks in Excel.


Count cells that match two conditions in Excel

As the below screenshot shown, you want to count total females whose age is greater than 30 (there are two conditions “age > 30” and “Gender = F”), please do as follows.

shot-count-cells-match-two-conditions-1

1. Select a blank cell to output the result.

2. Click Kutools > Formula Helper > Formula Helper. See screenshot:

shot-count-cells-match-two-conditions-2

3. In the Formulas Helper dialog box, you need to configure the criteria as follows.

  • (1) Find and select Count cells with two conditions(and) in the Choose a formula box.
    Tip: you can check the Filter box, type in certain words to filter the formula names.
  • (2) In the Range 1 box, select the first range which you will apply the first criteria to;
  • (3) In the Criteria 1 box, select the cell containing the first criteria;
  • (4) In the Range 2 box, select the second range which you will apply the second criteria to;
  • (5) In the Criteria 2 box, select the cell containing the second criteria;
  • (6) Click OK.

shot-count-cells-match-two-conditions-3

Tips: You can enter the criteria directly into the Criteria 1 and the Criteria 2 boxes as the below screenshot shown.

shot-count-cells-match-two-conditions-4

Now the result is populated into the selected cell as the below screenshot shown.

Note: If you like this Formula Helper, you can click the Share icon shot-share-icon in the Formulas Helper dialog to share it with your friend via email or share to social medias such as Facebook, Twitter, Linkedin and Weibo.

shot-count-times-a-word-appears-10


Demo: Count cells that match two conditions at the same time in Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Productivity Tools Recommended

Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...

Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...


Kutools for Excel

Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

🌍 Supports 40+ interface languages
✅ Trusted by 500,000+ users and 80,000+ businesses worldwide
🚀 Compatible with all modern Excel versions
🎁 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon