Function Problems

How to Count People in a Column with Excel Functions in WPS Office

Jason MillerJason Miller Nov 13, 2026 869 views

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.

How to Count People in a Column with Excel Functions in WPS Office
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the result cell

Open your workbook in WPS Spreadsheets and click the blank cell where the count should appear.

2
Enter the COUNTA formula

Type =COUNTA(A2:A100), replace A2:A100 with the actual column range, and press Enter.

Use COUNTA to Count All Nonblank People in a Column
Expected result: WPS Spreadsheets returns the total number of nonblank people or entries in the selected range.
WPS Spreadsheets counting solution

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. 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. 2. Select the result cell: Click the blank cell where you want the count result to appear.
  3. 3. Enter the counting formula: Type =COUNTA(A2:A100), =COUNTIF(A2:A100,"Sales"), or the appropriate function for your range, then press Enter.
  4. 4. Review the function if needed: Click Formulas > Insert Function to search for COUNTA, COUNTIF, COUNTIFS, or DCOUNT and check the arguments.
Excel-compatible COUNTA, COUNTIF, COUNTIFS, and DCOUNT formulasOpens and saves .xlsx, .xls, and other Microsoft Excel formatsFree lightweight spreadsheet interface with a familiar formula barEasy migration from Microsoft Excel without retyping data
QA img-9

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.