Function Problems

Excel COUNTIFS Formula to Count Cells Between 1,700 and 2,200

Camila MilosovichCamila Milosovich Nov 12, 2026 869 views

Question details

Count how many cells contain numeric values from 1,700 through 2,200, including both boundary values.

Excel COUNTIFS Formula to Count Cells Between 1,700 and 2,200
Product
Microsoft Excel COUNTIFS function
Device & OS
not provided
Scenario
The user needs to evaluate one cell range and count all values that fall within a specified numeric interval.
Observed behavior
The desired result is a count that includes every numeric value greater than or equal to 1,700 and less than or equal to 2,200.
Before you start

Confirm that the cells in the range contain real numeric values rather than numbers stored as text. Replace the example range with the actual cells you want to evaluate, such as A2:A100.

Solution 1Recommended

Use COUNTIFS with inclusive minimum and maximum criteria

Use this formula when you need to count values in one Excel range from 1,700 to 2,200, including both numbers.

COUNTIFS evaluates the same range against two conditions. The >= criterion sets the minimum value, and the <= criterion sets the maximum value.

1
Select the result cell

Click the blank cell where you want Excel to display the count.

2
Enter the COUNTIFS formula

Type =COUNTIFS(A2:A100,">=1700",A2:A100,"<=2200"), replacing A2:A100 with the range to evaluate.

3
Confirm the formula

Press Enter to count all numeric cells from 1,700 through 2,200 inclusively.

Use COUNTIFS with inclusive minimum and maximum criteria
Inclusive range count: The >=1700 and <=2200 criteria include cells containing exactly 1,700 or exactly 2,200.
WPS Spreadsheets

Count Number Ranges Easily with COUNTIFS in WPS Spreadsheets

WPS Spreadsheets supports the COUNTIFS function, so you can count values between two numbers with the same inclusive criteria used in Excel. Enter the formula in a result cell, specify the data range twice, and apply lower and upper limits.

  1. 1. Open the worksheet in WPS Spreadsheets: Launch WPS Office, select Spreadsheets, and open the workbook containing the values to count.
  2. 2. Choose an output cell: Click an empty cell where you want the calculated count to appear.
  3. 3. Enter the inclusive COUNTIFS formula: Type =COUNTIFS(A2:A100,">=1700",A2:A100,"<=2200"), replacing A2:A100 with your actual data range.
  4. 4. Apply the formula: Press Enter to display the number of cells whose values are between 1,700 and 2,200.
Use COUNTIFS to count values from 1,700 to 2,200 inclusively.Open, edit, and save Microsoft Excel .xlsx and .xls files.Work with familiar spreadsheet formulas and function syntax.Use a free, lightweight spreadsheet editor for everyday calculations.
microsoft office alternative - wps office

Frequently Asked Questions

Does COUNTIFS include 1,700 and 2,200 in the count?

Yes. Use >=1700 for the lower criterion and <=2200 for the upper criterion: =COUNTIFS(A2:A100,">=1700",A2:A100,"<=2200").

Why does my COUNTIFS formula return zero when values appear to be in range?

Check whether the source values are stored as text. Select the range and convert text numbers to numbers, then recalculate the formula.

Can I use different cells for the lower and upper limits?

Yes. If D2 contains the lower limit and E2 contains the upper limit, use =COUNTIFS(A2:A100,">="&D2,A2:A100,"<="&E2).

Can COUNTIFS count values between two numbers in more than one column?

Yes, but each criteria range in one COUNTIFS formula must have the same dimensions. Use matching ranges, such as A2:A100 and B2:B100, for separate conditions.