How to Use the COUNTBLANK Function in WPS on Windows

Last updated:July 17, 2026

This how-to guide includes 4 topics, all available without membership; use the How-to Index to jump to the task you need and follow the entry path and steps.

How-to Index

How-to Guide

1. Enter the COUNTBLANK function

Entry path: Formulas tab → formula bar

  1. Open WPS Spreadsheet and select the cell where you want to display the result.
  2. Type = in the selected cell or in the formula bar.
  3. Continue by typing COUNTBLANK(.
  4. Review the syntax prompt that appears and prepare to select a range.

Success Criteria

  • On-screen result: =COUNTBLANK( appears in the cell or formula bar.
  • Next step available: You can continue by selecting a range or typing a reference manually.

Tips While Using

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

2. Fill in the function arguments with prompts

Entry path: formula bar

  1. After COUNTBLANK(, select the cell range that you want to count.
  2. You can also type a range reference manually, such as A2:A100.
  3. Check that the closing parenthesis is complete.
  4. Press Enter to confirm the formula.

Success Criteria

  • On-screen result: The result cell shows the blank-cell count.
  • Next step available: You can adjust the range or copy the formula to other cells.

Tips While Using

  • Common mistake: An incomplete parenthesis or incorrect range reference can cause a formula error.
  • Environment note: Separators may vary by regional settings, but the range reference still needs to be valid.

3. Use cross-worksheet references and nested formulas

Entry path: formula bar

  1. Enter a COUNTBLANK formula in the result cell.
  2. Switch to the target worksheet and select the range to create a cross-worksheet reference.
  3. If needed, continue typing to use COUNTBLANK inside another formula.
  4. Press Enter to complete the calculation.

Success Criteria

  • On-screen result: The formula includes a cross-worksheet reference or a nested structure.
  • Next step available: You can continue editing formulas or copy the formula to similar ranges.

Tips While Using

  • Common mistake: An incorrect worksheet name or range reference can affect the result.
  • Environment note: The referenced worksheet must exist and the selected range must be valid.

4. Check automatic recalculation results

Entry path: the result cell that contains COUNTBLANK

  1. Change some values in the counted range.
  2. Check whether the COUNTBLANK result updates as the number of blank cells changes.
  3. If the result does not update as expected, review the referenced range again.
  4. If needed, trigger recalculation manually and check the result again.

Success Criteria

  • On-screen result: The value updates when the source data changes.
  • Next step available: You can continue entering data, reviewing the sheet, or copying the formula.

Tips While Using

  • Common mistake: If the counted range is wrong, the result will not match the actual number of blank cells.
  • Environment note: If the worksheet is in a special calculation state, review calculation settings or recalculate manually.