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 30-day!

ad advanced combine rows 1

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.


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.

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 tools for Excel. Full feature free trial 30-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.

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 tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Download and Free Trial Now!

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
Say something here...
symbols left.
You are guest
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.