Skip to main content

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.

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 - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with 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 - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

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 - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now


Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, 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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations