Skip to content

How to count cells greater than a value in Excel and Google Sheets

Excel & Google Sheets
=COUNTIF(B2:B6,">100")

Verified example

Computed by a real spreadsheet engine on the sample data below.

ProductSales
A80
B150
C200
D50
E120

=COUNTIF(B2:B6,">100")3

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Identify the numeric range to evaluate, e.g. B2:B6.
  2. 2In an empty cell type =COUNTIF(B2:B6,">100") replacing 100 with your threshold.
  3. 3Press Enter. The result is the count of cells in B2:B6 that contain a value strictly greater than 100.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Can COUNTIF count cells greater than a date?

Yes: =COUNTIF(A2:A6,">"&DATE(2024,1,1)) counts dates after 2024-01-01.

How do I count cells greater than one value AND less than another?

Use COUNTIFS: =COUNTIFS(B2:B6,">50",B2:B6,"<200") counts cells between 50 and 200 exclusive.

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: