Excel Formulas for Counting Occurrences in the entire workbook!!
Tags: excelformula, excelformulas
Published: 2020-11-07 11:55:36

---
title: Excel Formulas for Counting Occurrences in the entire workbook!!
published: true
date: 2020-11-07 09:01:09 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-for-counting-occurrences-in-the-entire-workbook/
---

In this tutorial, we will describe the **Formulas used for counting occurrences in the entire workbook in Excel Office 365**. You can also learn the basic syntax with brief explanations from this article. 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)
## General Formula:

- Use the below formula to count the occurrences in the entire workbook in Excel.

**=[SUMPRODUCT](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)(COUNTIF([INDIRECT](https://geekexcel.com/use-indirect-function-in-microsoft-excel-365-in-easy-ways/)(“‘”[&](https://geekexcel.com/how-to-use-concatenate-function-in-microsoft-excel-365/)[sheets](https://geekexcel.com/how-to-use-excel-sheets-function-in-office-365-with-examples/)&”‘!”&range),criteria))**

## Explanations for Syntax:

- **SUMPRODUCT** – The **[SUMPRODUCT Function](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)** will multiply the corresponding array or range also returns as the sum of the products.
- **COUNTIF** – This function will count the number of cells that match single criteria or conditions. It also supports logical operators.
- **INDIRECT** -It returns a valid reference from a given text string. Read more on the [**INDIRECT Function**](https://geekexcel.com/use-indirect-function-in-microsoft-excel-365-in-easy-ways/).
- Sheets – This function returns the number of sheets in a given reference. Read more on [**Sheets Function**](https://geekexcel.com/how-to-use-excel-sheets-function-in-office-365-with-examples/).
- **CONCATENATE (&)** – The **[CONCATENATE function](https://geekexcel.com/how-to-use-concatenate-function-in-microsoft-excel-365/) **is to join two or more text strings together also returns the result into one string.
- **Range** – It represents the input values given in a worksheet.
- **Criteria** – It is the criteria that are used to count the cells.
- **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:

- From the below image, we will show the formulas to count occurrences.
- First, you need to give the inputs.
- After that, enter the given formula in the formula bar section.
- Finally, you can get the results as shown below.

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

## Closure:

Here, we explained the **formulas for counting the occurrences in the entire workbook in Excel Office 365**. Hope that this article is useful to you. If you have any **queries/doubts,** feel free to share it with us. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!! **Read more on [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Ahead:

- **[Excel Formula to Count the Occurrences of a Character in a String!!](https://geekexcel.com/excel-formula-to-count-the-occurrences-of-a-character-in-a-string/)**
- **[Excel formulas to Extract Unique Value From a Column ~ Simple Guide!!](https://geekexcel.com/excel-formulas-to-extract-unique-value-from-a-column-simple-guide/)**