Use COUNTIFS with a Named Range in WPS Spreadsheets
Question details
Count values in a named range that are greater than 50 and less than 200.

- 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.
Check that the named range personas refers to the intended numeric cells. If you use a different range name, substitute it in the formula.
Count values between 50 and 200 with COUNTIFS
Use two criteria on the same named range to exclude both boundary values.
Click the cell where you want the count to appear.
Type =COUNTIFS(personas,">50",personas,"<200") in the cell or formula bar, then press Enter.
Compare the displayed count with the numeric values in personas. Values equal to 50 or 200 are excluded.

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. Open your spreadsheet: Open WPS Spreadsheets and choose the workbook containing your data.
- 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. Enter COUNTIFS: Select an empty cell and enter =COUNTIFS(personas,">50",personas,"<200").
- 4. Display the count: Press Enter to count values strictly between 50 and 200.

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.




