# Learn How to COUNT Rows With Multiple OR Criteria in Microsoft Excel

Written by | 0 Comments | 612 Views

In this article, you will learn how to COUNT various things in Microsoft Excel using a single or combination of functions and its purpose. You will also get to know how to COUNT Rows With Multiple OR Criteria and see the generic formula.

COUNT Rows With Multiple OR Criteria in Microsoft Excel

The main purpose of this formula is to count rows using multiple criteria across different columns. Here we will learn how to count the rows using multiple OR criteria in Microsoft Excel. That implies, with the help of a formula based on the SUMPRODUCT function you can able to count rows using multiple criteria across different columns using OR logic. So, with the help of this formula, you can able to count rows using multiple criteria across different columns.

General Formula to Count Rows With Multiple OR Criteria

=SUMPRODUCT(--((criteria1)+(criteria2)>0))

The Explanation for the Count Rows With Multiple OR Criteria

So we know that with the help of the given formula above you can able to count rows using multiple criteria across different columns. Here we will learn how to count the rows using multiple OR criteria in Microsoft Excel. As we know that the two arrays are finally added together. The mathematical calculation automatically coerces the TRUE and FALSE values to 1s and 0s and the result is a single array. That is why we won't simply add these values up with the SUMPRODUCT function. As it will lead to the double count rows with both the criteria. So, to manage this, we use ">0" together with the double negative (--) to force all values to either 1 or zero. So, with the help of this formula, you can able to count rows using multiple criteria across different columns.