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

or

How to count if value falls within a given range in Excel?

This article is talking about counting numbers if they fall within given number ranges in Excel, or counting numbers/values if they fall within another column in Excel.

Count if numbers fall within a given range with Frequency function

Count if numbers fall within a given range with Kutools for Excel

Count if numbers/values fall within a given column with Kutools for Excel

Easily count occurrences of duplicates in a column and then delete duplicate rows based on this column in Excel

Kutools for Excel’s Advanced Combine Rows utility can help Excel users to batch count the occurrences of each items in a column (the Fruit Column in our case), and then delete the duplicate rows based on this column (the Fruit Column) easily as below screenshot shown. Full Feature Free Trial 60-day!

ad advanced combine rows 1



This section will introduce the FREQUENCY function to quickly count all numbers if they fall within a given number range.

For example I have a list of numbers in Column A as the left screenshot shown.

1. Please list your given ranges you will count numbers within besides the list of numbers, for example Column B.

In our case we type 25, 50, 75, and 100 into Range B2:B5. That’s mean we will count numbers between 0 and 25, count numbers between 25 and 50, etc. See right screenshot:

2. In another column, says Column C, select the same number of cells as those in Column B (here I select cell C2:C5 at the same time), type the formula =FREQUENCY(A2:A24,B2:B5), and press the Ctrl + Shift + Enter keys simultaneously. And then you will get the total amount of numbers between the specified ranges. See right screenshot:

Note: In above formula, A2:A24 is the list of numbers you will count, B2:B25 is the column with the specified ranges you will count numbers within.


If you have Kutools for Excel installed, you can count numbers if they are falling within a given range without applying formulas in Excel.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Select the list of numbers you will count, and click Kutools > Select > Select Specific Cells. See screenshot:

2. In the opening Select Specific Cells dialog box, please (see the second screenshot above):

(1) Check the Cell option in the Selection type section;

(2) In the Specific type section, select the Greater than or equal to from the first drop down list, and type a minimum value of the given range into following box; select the Less than or equal to from the second drop down list and type the maximum value of the given range into the following box, and then check the And option. See below screenshot:

(3) Click the Ok button.

3. All numbers falling within the given range are selected. And at the same time a dialog box pops up and shows how many cells have been selected. See screenshot.

Click the OK button to close dialog boxes.

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


Sometimes, you may want to count any values in one column if they fall in another column, you can apply Kutools for Excel’s Select Same & Different Cells utility to easily get it done in Excel.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Click Kutools > Select > Select Same & Different Cells to open the Compare Ranges dialog box.

doc select same different cells

2. In the opening dialog box, please do as follows:

(1) Specify the column you will count values in into the Find values in box;

(2) Specify the criteria column you will count values by into the According to box;

Note: If two columns have the same header, please check the My data has headers option.

(3) Check the Same Values option in the Find section;

(4) Click the Ok button.

doc select same different cells 3398

3. Now all values falling in the criteria column are selected, and a dialog box pops up and shows how many cells have been selected. See the second screenshot above:

Click the OK button to close dialog boxes.

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!


Recommended Productivity Tools for Excel

kte tab 201905

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.