## How to count cells if one of multiple criteria met in Excel?

The COUNTIF function will help us count cells containing one criteria, and the COUNTIFS function can help up count cells containing a set of conditions or criteria in Excel. What if counting cells if contain one of multiple criteria? Here I will share the ways to count cells if contain X or Y or Z … etc. in Excel.

Count cells if one of multiple conditions met with formulas

### Count cells in a column if (not) meeting one of multiple criteria in another column in Excel

Kutools for Excel’s Select Same & Different Cells utility can help you quickly compare two columns, and then select or highlight the same/different cells between two columns, or select/highlight the entire rows based on the same/different cells between two columns.

We can apply the some formulas to count cells if they contain one of multiple criteria in Excel.

(1) Formula 1: =COUNTIF(Range, criteria 1)+COUNTIF(Range, Criteria 2)+ … + COUNTIF(Range, Criteria N)

For example we will count the cells containing "Apple" or "Lychee" in Range A1:E15, you can apply the formula =COUNTIF(A1:E15,"Apple")+COUNTIF(A1:E15,"Lychee").

(2) Formula 2:=SUM(COUNTIF(Range,{"Criteria 1","Criteria 2","Criteria 3",…,"Criteria N"}))

In our case, to count cells containing "Apple" or "Lychee" in Range A1:E15 we need to change the formulas as =SUM(COUNTIF(A1:E15,{"Apple","Lychee"})).

(3) Formula 3:=SUMPRODUCT((Range="Criteria 1")+(Range="Criteria 2")+ … + (Range="Criteria N"))

In our case, the formula should be changed as =SUMPRODUCT((A1:E15="Apple")+(A1:E15="Lychee")) to count cells containing "Apple" or "Lychee" in Range A1:E15.

 Formula is too complicated to remember? Save the formula as an Auto Text entry for reusing with only one click in future! Read more…     Free trial

This method will introduce Kutools for Excel's Select Special Cells utility to count cells if meeting one of both conditions from the selected range. Please do as follows:

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Select the range that you will count cells if one of both conditions met, and click Kutools > Select > Select Specific Cells. See screenshot:

2. In the opening Select Specific Cells dialog box as above screenshot shown, please:

(1) Check the Cell option in the Selection type section;

(2) Go to the Specific type section, click the first drop down list and select Equals (or Contains), and then type the first condition into the following box;

(3) Go ahead to click the second drop down list and select Equals (or Contains), and type type the second condition into the following box; and then please check the Or option. See screenshot above.

3. Click the Ok button.

And then you will see all cells meeting one of both conditions are selected, and a dialog box pops out and show you how many cells have been selected. Click OK button to close it.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now

This method will introduce Kutools for Excel's Compare Ranges utility to quickly count cells in a column if cells meet one of multiple criteria in Excel.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Click Kutools > Select > Select Same & Different Cells.

2. In the opening Compare Ranges dialog box, please do as follows:

(1) Specify the column you will count cells from in the Find values in box;

(2) Specify the column containing criteria you will count based on in the According to box;

(3) Check the Same Values option in the Find section.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now

3. Click the Ok button. And then you will see another Compare Ranges dialog box comes out and shows how many cells have been selected. This number is the total number of cells met one of multiple criteria. See screenshot:

Click the Ok button to close this Compare Ranges dialog box.

### Best Office Productivity Tools

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ... Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup .... Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List .... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ... Featured Features: Grid Focus   |  Design View   |   Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

#### Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!