In this article, we will learn how to count the number of cells that contain text in a range in Microsoft Excel. To solve this problem, we will use COUNTA and COUNT function.
COUNTA function will help to count the non-empty cells within a range.
COUNT function will help to count the numbers containing cells within a range.
Let’s take an example to understand:-
We have a range which is containing both numbers and text.
Now we want to count text containing cells within the range; follow below steps:-
- Enter the formula in cell B2
- Press Enter
- The function will return 6, it means 6 cells are there which are containing the text
Note:-Here, we have used mathematical concept whereby we subtracted the two numbers and output is our required result.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at firstname.lastname@example.org