EXCEL FORMULAS: COUNTING TEXT VALUES
Learn more about Excel's COUNT function and how you can use it to count text values
Background information and resources for Excel courses that we hope you find useful
One of the exercises we run through in our courses is the COUNT function. This is very handy when you want to find out how many cells have a number in but you are not interested in adding the values together.
Initially, people can get confused with the difference between SUM and COUNT. Sum totals the values in a range of cells, whereas COUNT simply counts the cells with a numeric value in, regardless of the figure.
USING THE COUNT FUNCTION
The COUNT function is limited to numbers (which include dates and formulas) and does not count cells with text in them. The picture below shows a count of 5 cells with a number in, even though none of the cells in the range are empty.
This is a useful function but there may be times when it could be advantageous to count cells which have something in them, regardless of whether it's text or numbers.
This very straightforward formula is almost identical to COUNT. In fact its purpose is to count any alphanumeric character, so the structure of the formula is =COUNTA(), with the cell range you wish to count between the brackets.
COUNTA will count all alphanumeric data types including dates and formulas, so this formula essentially counts all the non-blank cells.
WHAT IS THE COUNTIF FUNCTION AND WHEN IS IT NEEDED?
You may not want to count all the numbers in a range, only certain ones, so to apply criteria to your COUNT formula, there is the COUNTIF function. The below formula would only count the cells with numbers in A1 to A10 if the value of the cell is less than (<) 10.
You can use COUNTIF on any alphanumeric data to apply criteria to it, it doesn't have to be used on numbers. For example, the following formula would count how many times the word "Cancelled" appeared in range A1 to A10.
Want to see how we can really help you?
Main Excel Resources Page
Video tutorials & articles, and templates to help you work better in Excel
Video Tutorials - Excel Formulas
Learn and work with new Excel formulas to help create effective, automated spreadsheets
GET IN TOUCH
Call us on:
0333 6000 111
HOW TO COUNT TEXT VALUES IN EXCEL
We can enhance your skills with courses for Microsoft Excel spreadsheets at any of our twelve training centres UK wide, or we can come to your offices: if you have groups of three or more staff who need training, this is a very convenient, flexible and cost effective option. Moreover, most of our excel courses are 1 day, which keeps "out of office" periods for attendees to a minimum.
We have been delivering Microsoft Excel course all over the UK since 1995 and have continually developed our philosophy of high quality, flexible and results-driven provision of courses for Excel to ensure constantly improving standards of quality. So you can be confident that we have the expertise, and the experience, to give you a great return on your investment in Free Video Tutorials : Excel Formulas.
Why not contact us today to see how we can help with providing your MS Excel classes ?