Skip to main content

Excel formula: Count cells greater than or less than

To count the cells greater than or less than a particular number, you can use the COUNTIF function to handle it.
doc count less than greater than 1

Count cells greater than a particular value

Generic formula:

COUNTIF(range,criteria)

Example:

Count the number of cells that are greater than 35 from the Number List. Using this formula

=COUNTIF(B3:B8,E2)

Or

=COUNTIF(B3:B8,"<35")

In above formula, B3:B8 is the range you will count cells from, E2 and “>35” are the criteria you want to count cells based on.

The press Enter key to get the counted result.
doc count less than greater than 2

Tip:

If you want to count cells greater than or equal to a particular value, you can use this generic formula:

COUNTIF(range,”>=number”)

Take example: Count cells that greater than or equal to 32, using the formula:

=COUNTIF(B12:B17,">=32")

doc count less than greater than 3

Count cells less than a particular value

Generic formula:

COUNTIF(range,criteria)

Example

Count the number of cells that are less than 50 from the Number List.

=COUNTIF(B3:B8,E2)

or

=COUNTIF(B3:B8,">50")

In above formula, B3:B8 is the range you will count cells from, E2 and “>50” are the criteria you want to count cells based on.

The press Enter key to get the counted result.
doc count less than greater than 4

Tip:

If you want to count cells less than or equal to a particular value, you can use this generic formula:

COUNTIF(range,”>=number”)

Take example: Count cells that less than or equal to 59, using the formula

=COUNTIF(B12:B17,"<=59")

doc count less than greater than 5

Sample File

doc sampleClick to download sample file


Relative Formulas

  • Count cells equal to
    With the COUNTIF function, you can count cells that equal to or not contain a specified value.
  • Count cells that equal to x or y
    In some times, you may want to count the number of cells that meet one of two criteria, in this case, you can use the COUNTIF function.
  • Count cells equal to x and y
    Here this article introduce the formula to count cells that at the meanwhile match two criteria.
  • Count cells not equal to
    This article talks about how to use the COUNTIF function to count the number of cell that not equal to a specific value

The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
You have wrong symbol in an exampel. You write about less then 50 but the symbol is more then.
This comment was minimized by the moderator on the site
Thank you for your reminder, I have made the correction.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations