How to Count People in a Column with Excel Functions in WPS Office
Question details
The user wants to identify the best Excel-compatible function in WPS Spreadsheets for counting people or nonblank entries in a column, including cases that require conditions.

- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- The user has a column of names or other entries and needs a reliable formula to count them.
- Observed behavior
- The user expects to choose between COUNTA, COUNTIF, COUNTIFS, and DCOUNT depending on whether the count is general, conditional, or based on a numeric database field.
Open your workbook in WPS Spreadsheets and note whether the column contains text names or numeric values, and whether the count must meet any conditions before choosing a formula.
Use COUNTA to Count All Nonblank People in a Column
Use this method when you need a quick total of all names or entries and no specific condition is required.
COUNTA counts every nonempty cell in the selected range, so it works well for name lists stored as text in WPS Spreadsheets.
Open your workbook in WPS Spreadsheets and click the blank cell where the count should appear.
Type =COUNTA(A2:A100), replace A2:A100 with the actual column range, and press Enter.

Use COUNTIF or COUNTIFS for Conditional Counting
Use this approach when you only want to count people that meet one or more conditions, such as a team, status, or name.
Use DCOUNT for Numeric Database Fields with a Criteria Range
Use this database function only when your data is arranged as a database range, the selected field is numeric, and you have a separate criteria range.
Count People in a Column with WPS Spreadsheets
WPS Office Spreadsheets supports Excel-compatible counting functions such as COUNTA, COUNTIF, COUNTIFS, and DCOUNT. You can open your existing workbook, apply the correct formula, and get the total without changing tools.
- 1. Open your workbook in WPS Spreadsheets: Launch WPS Office and open the Excel-compatible workbook that contains the column of people or entries.
- 2. Select the result cell: Click the blank cell where you want the count result to appear.
- 3. Enter the counting formula: Type =COUNTA(A2:A100), =COUNTIF(A2:A100,"Sales"), or the appropriate function for your range, then press Enter.
- 4. Review the function if needed: Click Formulas > Insert Function to search for COUNTA, COUNTIF, COUNTIFS, or DCOUNT and check the arguments.

Frequently Asked Questions
What is the best Excel function for counting names in a column?
Use COUNTA to count all nonblank cells. In WPS Spreadsheets, enter =COUNTA(A2:A100) in a blank cell and replace A2:A100 with your actual range.
When should I use DCOUNT to count people?
DCOUNT is suitable only when your data is set up as a database range, the field you select contains numbers, and you have separate criteria. For name text lists, COUNTA, COUNTIF, or COUNTIFS are usually better.
How do I count people that meet one condition?
Use COUNTIF. For example, enter =COUNTIF(A2:A100,"Sales") in WPS Spreadsheets to count entries in A2:A100 that equal Sales.
Can I count people based on multiple conditions?
Yes. Use COUNTIFS. Enter =COUNTIFS(A2:A100,"Sales",B2:B100,"Active") to count rows that meet all specified conditions.
Does WPS Spreadsheets support these Excel counting functions?
Yes, WPS Spreadsheets supports Excel-compatible functions, including COUNTA, COUNTIF, COUNTIFS, and DCOUNT, in .xlsx and .xls workbooks.




