Easily count cells that match two conditions in Excel
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.
1. Select a blank cell to output the result.
2. Click Kutools > Formula Helper > Formula Helper. See screenshot:
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.
Tips: You can enter the criteria directly into the Criteria 1 and the Criteria 2 boxes as the below screenshot shown.
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 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.
Demo: Count cells that match two conditions at the same time in Excel
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.

