Excel Formulas to Create the Running Count Group by N Size!!
Tags: excelformula, excelformulas
Published: 2021-03-06 11:57:27

---
title: Excel Formulas to Create the Running Count Group by N Size!!
published: true
date: 2021-03-06 11:55:33 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-create-the-running-count-group-by-n-size/
---

Assume that you have a list of names, and you need to group them based on the given size. How could you deal with this task in Excel? In this article, I introduce some formulas to **create the running count group by N size in Excel**. Let’s step 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)

[![Running count group by N size](https://geekexcel.com/wp-content/uploads/2021/03/Running-count-group-by-N-size.png)](https://geekexcel.com/excel-formulas-to-create-the-running-count-group-by-n-size/running-count-group-by-n-size/#main)<figcaption id="caption-attachment-22320">Running count group by N size</figcaption>

## Generic Formula:

- Use the below formula to group the values based on the given criteria.

**=[CEILING](https://geekexcel.com/how-to-use-excel-ceiling-function-in-office-365-with-examples/)([COUNTA](https://geekexcel.com/how-to-use-excel-counta-function-in-office-365-with-examples/)(expanding\_range)/size,1)**

## Syntax Explanations:

- **CEILING ** – In Excel, the **[CEILING function](https://geekexcel.com/how-to-use-excel-ceiling-function-in-office-365-with-examples/)** rounds a given number to the nearest specified multiple.
- **COUNTA ** – This function is used to counts the number of cells that are non-empty and returns the output in numbers. Read more on the **[COUNTA function](https://geekexcel.com/how-to-use-excel-counta-function-in-office-365-with-examples/)**.
- **Expanding\_Range** – It represents the input range.
- **Size ** – It is the criteria value.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Refer to the below example image. Here we will show how to create the running count group.

- First, we will enter the input names in **Column B** , and the size of the group is given in **Column D**.

[![Input Range](https://geekexcel.com/wp-content/uploads/2021/03/Input-Range-1.png)](https://geekexcel.com/excel-formulas-to-create-the-running-count-group-by-n-size/input-range-40/#main)<figcaption id="caption-attachment-22322">Input Range</figcaption>

- Then, apply the above-given formula to the [**formula bar**](https://geekexcel.com/how-to-use-formula-bar-for-various-purpose-in-excel-365/) section and press the **“Enter”** key.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/03/Enter-the-formula-10.png)<figcaption id="caption-attachment-22321">Enter the formula</figcaption>

- Finally, it will display the result in the selected cell.

![Result](https://geekexcel.com/wp-content/uploads/2021/03/Result-11.png)<figcaption id="caption-attachment-22319">Result</figcaption>

## Conclusion:

Hope you like this article on how to create the b. If you have any **doubts/suggestions,** don’t forget to share them with us. We will assist you. Thank you!! To learn more, check out **[Geek Excel](https://geekexcel.com/) **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Related Articles:

- **[Formulas to calculate the running total from a range in Excel!!](https://geekexcel.com/formulas-to-calculate-the-running-total-from-a-range-in-excel/)**
- **[Excel Formulas for Running Count of Occurrence in a List!!](https://geekexcel.com/excel-formulas-for-running-count-of-occurrence-in-a-list/)**