# COUNTA

The COUNTA function is used to count the number of non-empty cells within a specified range. It is frequently used in Excel to determine the total count of cells containing any type of data or value, including text, numbers, errors, and logical values.

**Example explanation**

Use =COUNTA(A1:A5) to count the number of cells that contain a value. The argument, A1:A5, is the range of cells that we count. So cells A1, A2, A3, A4, and A5. Four of these cells contain a value, therefore the result is 4.

## Syntax ðŸ”—

=COUNTA(`value1`

, [`value2`

, ...])

`value1` | value2, ..., One or more arguments representing the range, cell references, or individual values to be evaluated for counting. These can be references to cells, ranges, or actual values separated by commas. |

## About COUNTA ðŸ”—

When you need a simple yet powerful method to tally non-empty cells and comprehensively assess the filled content within specified cells or ranges, the COUNTA function in Excel takes center stage. It excels in swiftly summarizing the presence of any type of value, spanning from text and numerical entries to logical values and errors, offering an encompassing overview of data completeness in your workbook's cells. Utilize COUNTA to fuel your data analysis and decision-making, whether it's scrutinizing the completeness of a dataset or monitoring the input status of a designated range of cells, COUNTA proves to be a reliable ally in your Excel endeavors.

## Examples ðŸ”—

To count the number of non-empty cells in the range A1:A10, use the formula: =COUNTA(A1:A10)

To count the total non-empty cells across multiple ranges, you can combine the ranges as arguments: =COUNTA(A1:A10, B1:B10, C1:C10)

## Notes ðŸ”—

The COUNTA function does not differentiate between different types of data and counts any non-empty cell regardless of its content. Additionally, it does not count blank or empty cells. Ensure to select the appropriate ranges or values to be evaluated for an accurate count based on your specific data analysis requirements.

## Questions ðŸ”—

**What types of data does the COUNTA function count?**

The count function will not count empty cells.

It will count everything else, including text and errors. It also counts empty text that could, for example, be returned by a formula.

**Does the COUNTA function count empty cells?**

No, the COUNTA function specifically focuses on counting non-empty cells, and thus does not include empty cells in its count.

**How do I count the empty cells instead of the non-empty ones?**

To count only empty cells you can use the COUNTBLANK function.

Note that this function also counts cells that contain empty text returned by a formula. So both COUNTA and COUNTBLANK count cells with empty text.

**What if I want to count specific things?**

Use the COUNT function to count only numbers.

Use the COUNTBLANK function to count only blank cells.

Use the COUNTIF function to count other specific types of values.

**What does Counta stand for?**

It stands for Count All.