Function Problems

Use COUNTIFS with a Named Range in WPS Spreadsheets

John WilsonJohn Wilson Nov 18, 2026 870 views

Question details

Count values in a named range that are greater than 50 and less than 200.

Use COUNTIFS with a Named Range in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A user wants to apply two numeric conditions to the same named range using COUNTIFS.
Observed behavior
The desired count includes values strictly between 50 and 200 and excludes both boundary values.
Before you start

Check that the named range personas refers to the intended numeric cells. If you use a different range name, substitute it in the formula.

Solution 1Recommended

Count values between 50 and 200 with COUNTIFS

Use two criteria on the same named range to exclude both boundary values.

1
Select an output cell

Click the cell where you want the count to appear.

2
Enter the formula

Type =COUNTIFS(personas,">50",personas,"<200") in the cell or formula bar, then press Enter.

3
Check the result

Compare the displayed count with the numeric values in personas. Values equal to 50 or 200 are excluded.

Count values between 50 and 200 with COUNTIFS
Include boundary values: Use ">=50" to include 50 and "<=200" to include 200. To include both, enter =COUNTIFS(personas,">=50",personas,"<=200").
Count with WPS Spreadsheets

Count values in a named range with WPS Spreadsheets

Use COUNTIFS in WPS Spreadsheets to apply both limits to a named range and display the matching count.

  1. 1. Open your spreadsheet: Open WPS Spreadsheets and choose the workbook containing your data.
  2. 2. Check the named range: Use the Formulas tab to review the named range personas and confirm that it covers the intended numeric cells.
  3. 3. Enter COUNTIFS: Select an empty cell and enter =COUNTIFS(personas,">50",personas,"<200").
  4. 4. Display the count: Press Enter to count values strictly between 50 and 200.
Apply multiple conditions to the same named rangeChoose whether to include or exclude boundary valuesWork with Microsoft Excel XLSX filesEdit spreadsheets in a familiar interface
microsoft office alternative - wps office

Frequently Asked Questions

How do I include both 50 and 200 in the count?

Enter =COUNTIFS(personas,">=50",personas,"<=200") in the result cell. The equals signs include both boundary values.

Can I use a different named range?

Yes. Replace both instances of personas in the formula with your named range, such as =COUNTIFS(scores,">50",scores,"<200").

Why does the range name appear twice in COUNTIFS?

COUNTIFS pairs each criterion with a range. Entering personas twice applies both ">50" and "<200" to the same cells.

Can I use the same formula in Microsoft Excel?

Yes. Excel supports COUNTIFS with named ranges, so you can enter the same formula in an Excel worksheet if personas is defined there.