How to Use the COUNTA Function in WPS on Windows

Last updated:July 17, 2026

Use COUNTA through 4 how-to topics, including entering the formula, completing arguments from the syntax prompt, using cross-worksheet references, and adding COUNTA to nested formulas.

How-to Index

How-to Guide

1. Enter the COUNTA function

Entry point: Formulas tab → formula bar

  1. Open Spreadsheet and select the cell where you want to show the result.
  2. Type = to begin the formula.
  3. Type COUNTA(.
  4. Review the function prompt and get ready to enter a range or arguments.

Success Criteria

  • Interface result: =COUNTA( appears in the cell or formula bar.
  • Next action available: You can continue entering a cell range, multiple arguments, or the closing parenthesis.

Tips While Using

  • Common mistake: If you do not type = first, the content may be treated as plain text.
  • Environment note: You need to be in an editable spreadsheet cell.

2. Fill in arguments from the syntax prompt

Entry point: Function prompt in the formula bar

  1. After typing COUNTA(, review the syntax prompt that appears.
  2. Enter the range you want to count, such as A2:A20.
  3. If you need multiple ranges or values, continue adding arguments with the displayed separator.
  4. Type the closing parenthesis and press Enter.

Success Criteria

  • Interface result: The result value appears in the target cell.
  • Next action available: When you select the cell again, the full formula is visible in the formula bar.

Tips While Using

  • Common mistake: An unclosed parenthesis or incorrect argument separator can cause a formula error.
  • Environment note: Separators may vary by spreadsheet environment, so follow the prompt shown in your current file.

3. Count data with cross-worksheet references

Entry point: Formulas tab → formula bar

  1. Select the result cell and type =COUNTA(.
  2. Switch to the worksheet that contains the data you want to count.
  3. Select the target range so the reference is inserted into the formula.
  4. Type the closing parenthesis and press Enter to complete the count.

Success Criteria

  • Interface result: The formula includes worksheet reference information.
  • Next action available: When source data changes, the result can update automatically.

Tips While Using

  • Common mistake: Manually typing the worksheet name in the wrong format can break the reference.
  • Environment note: The referenced worksheet must be accessible in the current file.

4. Use COUNTA inside a nested formula

Entry point: Formulas tab → formula bar

  1. Select the target cell and begin the outer formula.
  2. Insert COUNTA( where the non-empty count is needed.
  3. Enter the range and close the parenthesis.
  4. Complete the outer formula and press Enter to view the result.

Success Criteria

  • Interface result: The cell returns the result of the nested formula.
  • Next action available: You can continue editing either the outer or inner formula in the formula bar.

Tips While Using

  • Common mistake: It is easy to miss a parenthesis when the nesting level becomes deeper.
  • Environment note: For longer formulas, editing in the formula bar makes the structure easier to review.