Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


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?

Count cells containing numbers or not with formulas

Sum all numbers in a single cell with Kutools for Excel good idea3

Count by Color

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.
doc count by color

arrow blue right bubbleCount cells containing numbers or not with formulas

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:
doc count cells containning number 1

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).

arrow blue right bubble Sum all numbers in a single cell with Kutools for Excel

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:
doc count cells containning number 3

2. In the Formula Helper dialog, select the cell you want to sum the numbers to the Cell box. See screenshot:
doc count cells containning number 4

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.
doc count cells containning number 5

There are multiple useful and powerful formulas in Kutools for Excel’s Formulas group which can help you solve difficult problem in Excel.

doc count cells containning number 6

Calculate age based on birthday

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!
doc calculate age
pay attention1If you are interested in this addi-in, download the 60-days free trial.

Recommended Productivity Tools for Excel

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.