What the video covers
Show how to use the COUNTA function in Excel to count all non-empty cells in one or more ranges. This covers writing the formula, counting multiple ranges, and basic alternatives (COUNT, COUNTIF).
Watch the video on YouTubeStep-by-step instructions
- Open your workbook and select where you want the result
Click the cell that should show the count of non-empty cells. - Start the COUNTA formula
Type =COUNTA( to begin the function. - Specify the range
Select the range of cells you want counted (for example A1:A100) or type the range reference into the parentheses. - Include additional ranges if needed
To count multiple ranges, separate each range with a comma inside the parentheses (for example =COUNTA(A1:A100,B1:B50)). - Complete the formula and get the result
Close the parentheses and press Enter. Excel returns the number of cells in the specified range(s) that contain text, numbers, dates, or formulas. - Copy the formula if required
Use the fill handle to drag the formula to other cells to count different ranges or rows.
Watch the video
Play tutorial
Why it matters
Counting non-empty cells helps you track filled rows, verify data completeness, and prepare reports or analyses quickly without manual inspection.
Check your result
After entering the formula, the selected cell displays the total number of non-empty cells in the specified range(s). For multiple ranges, the result reflects the combined count.
Troubleshooting
If the count is higher than expected, check for cells that contain invisible characters (spaces) or formulas that return empty strings (""), which COUNTA treats as non-empty. If you need to count only numbers, use COUNT. For condition-based counts, use COUNTIF or COUNTIFS.