Function Problems

Count Dates with Blank Fees Using COUNTIFS in WPS Spreadsheets

Bushra ParveenBushra Parveen Nov 18, 2026 870 views

Question details

Count rows that have a payment date in column A and a blank fee in column B.

Count Dates with Blank Fees Using COUNTIFS
Product
WPS Spreadsheets and Microsoft Excel
Device & OS
not provided
Scenario
A spreadsheet tracks payment dates in column A and total fees in column B. Rows with a date but no fee need to be counted as unpaid or pending.
Observed behavior
The desired result is a count of rows where column A is not blank and the corresponding cell in column B is blank.
Before you start

Check that payment dates are in column A and fees are in column B. Decide whether a fee of zero should be treated as blank; the formula below counts blank fees, not zero values.

Solution 1Recommended

Use COUNTIFS to Count Nonblank Dates and Blank Fees

Use this formula when each payment date and its fee appear on the same row.

1
Select a result cell

In WPS Spreadsheets or Excel, click an empty cell where you want the count to appear.

2
Enter the formula

Type =COUNTIFS(A:A,"<>",B:B,"") and press Enter. The first condition checks for a nonblank cell in column A; the second checks for a blank cell in column B.

3
Check the result

Compare the count with a few rows in columns A and B. A row with a date and a blank fee should be included; a row with a fee of 0 should not.

Use COUNTIFS to Count Nonblank Dates and Blank Fees
Nonblank does not mean a valid date: The formula counts any nonblank value in column A, including text. Check the date column if it may contain other values.
Count pending rows

Count Blank Fees in WPS Spreadsheets

Open your payment sheet in WPS Spreadsheets and use COUNTIFS to count rows with a nonblank date and a blank fee.

  1. 1. Open the spreadsheet: Open WPS Spreadsheets and select your payment workbook.
  2. 2. Select an empty cell: Click a cell outside the payment data where you want to display the count.
  3. 3. Enter COUNTIFS: Type =COUNTIFS(A:A,"<>",B:B,"") and press Enter.
  4. 4. Review the count: Check the result against rows in columns A and B, then save the workbook.
Count pending rows with two conditions in one formulaOpen and edit Microsoft Excel XLSX and XLS filesReview dates and fees together in a familiar spreadsheet interfaceUse WPS Office for free
QA img-9

Frequently Asked Questions

Does the formula count fees that are zero?

No. The criterion "" counts blank fees, not numeric zero. Review column B if zeros should also be treated as pending.

Can I use a limited range instead of entire columns?

Yes. For rows 2 through 1000, enter =COUNTIFS(A2:A1000,"<>",B2:B1000,""). Keep the ranges aligned and the same size.

Does the formula verify that column A contains real dates?

No. The "<>" criterion only checks that a cell is not blank, so text in column A can also be counted.

Will this formula work in Microsoft Excel?

Yes. Enter =COUNTIFS(A:A,"<>",B:B,"") in an empty Excel cell to apply the same conditions.