Formulas to Count Rows that meet OR Logic in Excel Office 365!!
Tags: excelformula, excelformulas
Published: 2020-11-07 11:54:43

---
title: Formulas to Count Rows that meet OR Logic in Excel Office 365!!
published: true
date: 2020-11-07 09:16:43 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/formulas-to-count-rows-that-meet-or-logic-in-excel-office-365/
---

In this article, we will see the **Formulas used to count the number of rows that meet OR logic in Excel Office 365**. Let’s get into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Formulas to count rows that meet OR logic](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/11/2-12.png)](https://geekexcel.com/?attachment_id=17118#main)<figcaption id="caption-attachment-17118">Formulas to count rows that meet OR logic</figcaption>
## General Formula:

- To count the rows with OR logic in Excel, use the below formula.

**=[SUMPRODUCT](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)((data1=”X”)\*((data2=”Y”)+(data3=”Z”)>0))**

## Syntax Explanations:

- **SUMPRODUCT** – This function will multiply the corresponding array or range. Then, returns the result as the sum of the products. Read more on the [**SUMPRODUCT Function**](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/).
- **Data** – It represents the input range from your worksheet.
- **Criteria (X, Y, Z)** – It is the specific value that you want to be count.
- **Comma symbol (,)** – It is a separator which helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.
- **Plus operator (+)** – This symbol is used to add the values.
- **Multiplication (\*)** – In this symbol will multiply any two values or numbers.

## Example:

- Let’s consider the below example to count the rows that meet OR Logic.
- First, we will enter the input values in **Column C** , **Column**  **D** , and **Column E**.
- Then, enter the given formula.
- After that, it will show the result as given below.

![Example](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/11/1-ex.png)<figcaption id="caption-attachment-17119">Example</figcaption>

## Bottom-Line:

Here, we have described the **Formulas to count the number of rows that meet OR Logic in Excel Office 365**. Hope you like this article. If you have any **suggestions,** don’t forget to share it with us. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!! **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Also:

- [**Excel Formulas to Count Cells Not equal to Many Things or Values!!**](https://geekexcel.com/excel-formulas-to-count-cells-not-equal-to-many-things-or-values/)
- **[Excel Formulas for Counting Multiple Criteria with NOT Logic!!](https://geekexcel.com/excel-formulas-for-counting-multiple-criteria-with-not-logic/)**
- **[Formulas for Counting the Dates from a given Year in Excel!!](https://geekexcel.com/formulas-for-counting-the-dates-from-a-given-year-in-excel/)**