Count Cells with Data -- COUNTA
- Enter the sample data on your worksheet.
- In cell A7, enter a COUNTA formula, to count the numbers in column A: =COUNTA(A1:A5)
- Press the Enter key, to complete the formula.
- The result will be 4, the number of cells that contain data.
How do I count specific values in Excel?
Count how often a single value occurs by using the COUNTIF function. Use the COUNTIF function to count how many times a particular value appears in a range of cells.
How do you use Countif in Excel?
Use COUNTIF, one of the statistical functions, to count the number of cells that meet a criterion; for example, to count the number of times a particular city appears in a customer list.
...
Examples.
Data | Data |
---|---|
=COUNTIF(A2:A5,"apples") | Counts the number of cells with apples in cells A2 through A5. The result is 2. |