Fresh Excel Tips

Quick and Easy Excel Tips and Tutorials

How to Use the COUNTA function to count cells containing text

To count all cells that contain text data, use a combination of functions in one formula. The number of cells with any kind of data is counted with the COUNTA function. All numeric cells are counted with the COUNT function. Just subtract the results of the COUNT function from the results of the COUNTA function, using the same range, to get all cells containing text.

To count only cells with text:

  1. In cells A1:A10 type any kind of data (numeric and text).
  2. Select cell C1 and type the following formula: =COUNTA(A1:A10)-COUNT(A1:A10).
  3. Press Enter.

How to Use the COUNTA function to count cells containing text

This tip is compatible with Excel 97, 2000, 2003 and 2007.

How to Use the COUNTA function to count cells containing text
  1. How to Use the COUNTA function to count cells containing data
  2. Use the COUNT function to count cells containing numeric data
  3. Using the OR function to check cells for text or numbers in Excel
  4. How to Use the COUNTBLANK function to count empty cells
  5. How to count sets of cells located in two columns in Excel

Leave a Reply