How to count cells containing numbers or not in Excel?
If there are a range of cells, some are containing numbers, and the other containing text, how can you count the cells containing numbers or not quickly in Excel?
|In some cases, you may have a range of calues with multiple colors, and what you want is to count/sum values based on same color, how can you quickly calculate?
With Kutools for Excel's Count by Color, you can quickly do many calculations by color, and also can generate a report of the calculated result.
Recommended Excel Productivity Tools
Here are some formulas can count cells containing numbers or not.
Select a blank cell and type this formula =COUNT(A1:B7) (A1:B7 is the cell range you want to count cells containing numbers), and press Enter key to get the correct result. See screenshots:
Tip: If you want to count all cells not containing number, you can use this formula =SUMPRODUCT(--NOT(ISNUMBER(A1:B7))), which will return the total number of cells with text and blank cells; for only counting the cells with text, please apply this formula =COUNTA(A1:B7)-COUNT(A1:B7).
To sum the numbers in a range may be easy for most Excel users, but have you ever confused with the problem that sum all numbers in a single cell? In other words, if a cell contains number 1234, you need to sum the number “1+2+3+4”, and get “10”. Here with Kutools for Excel’s Formulas group, there is one formula can help you.
|Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.|
After free installing Kutools for Excel, please do as below:
1. Select a blank cell where you will place the result, and then click Kutools > Formulas > Sum numbers in a cell. See screenshot:
2. In the Formula Helper dialog, select the cell you want to sum the numbers to the Cell box. See screenshot:
3. Click Ok, and then drag the cell autofill handle over the cells you want to apply this formula, now all the numbers in the relative cell have been summed.
There are multiple useful and powerful formulas in Kutools for Excel’s Formulas group which can help you solve difficult problem in Excel.
|In some case, you may wnat to calculate the age from a list of given birthdays, and Kutools for Excel's Calculate age based on birthday is work for that!|
|If you are interested in this addi-in, download the 60-days free trial.|