Formulas to Count the Rows that contain at least N Matching Values!!
Tags: excel, excelformula, excelformulas
Published: 2020-11-07 11:55:07

---
title: Formulas to Count the Rows that contain at least N Matching Values!!
published: true
date: 2020-11-07 09:07:07 UTC
tags: Excel,ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/formulas-to-count-the-rows-that-contain-at-least-n-matching-values/
---

This page will show the clear information on the **Formulas to count the rows that contain at least N matching values in Excel**. Let’s see them below!! 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 contain at least N matching values](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/11/Formulas-to-count-rows-that-contain-at-least-N-matching-values.png)](https://geekexcel.com/formulas-to-count-the-rows-that-contain-at-least-n-matching-values/formulas-to-count-rows-that-contain-at-least-n-matching-values/#main)<figcaption id="caption-attachment-17094">Formulas to count rows that contain at least N matching values</figcaption>
## General Formula:

- Use the below formula to count the number of rows that contain at least  N matching values in Excel Office 365.

**=[SUM](https://geekexcel.com/sum-function/)(–([MMULT](https://geekexcel.com/use-mmult-function-in-microsoft-excel-365-simple-methods/)(–(criteria),[TRANSPOSE](https://geekexcel.com/how-to-use-transpose-function-in-microsoft-excel-365/)([COLUMN](https://geekexcel.com/use-column-function-in-microsoft-excel-365-simple-methods/)(data)^0))>=N))**

## Syntax Explanations:

- **SUM** – In Excel, the [**SUM Function**](https://geekexcel.com/sum-function/) helps to add the values in the cells.
- **MMULT** – This function will return the matrix product of two arrays. Read more on the [**MMULT Function**](https://geekexcel.com/use-mmult-function-in-microsoft-excel-365-simple-methods/).
- **TRANSPOSE** – It helps to change the orientation of a given range or array. Read more on the [**TRANSPOSE Function**](https://geekexcel.com/how-to-use-transpose-function-in-microsoft-excel-365/).
- **COLUMN** – The [**COLUMN Function**](https://geekexcel.com/use-column-function-in-microsoft-excel-365-simple-methods/) in Excel returns the column number for reference.
- **Data** – It represents the input range from your worksheet.
- **Criteria** – It is the specific value that you want to be count.
- **N ** – It is the number of matching values in a row.
- **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.

## Example:

- In the below example, we will show how to count rows that contain at least N matching values.
- First, we will give the input values in **Column C** , **Column D** , and **Column E**.
- Then, apply the given formula in the formula bar section.
- After entering the formula, **Press (CTRL+SHIFT+ ENTER) keys**.
- Finally, it will display the result as shown below.

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

## Wind-Up:

From this tutorial, you can get to know the **Formulas to count the number of rows that contain at least N number of matching values in Excel Office 365**. If you have any **queries,** leave it in the below comment section. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!! **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**