Use COUNTIFS in WPS Spreadsheets to Count Today's Dates and Matching Text
Question details
Count rows where a date is today and another column matches a specified status or instruction.

- Product
- WPS Spreadsheets or Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains dates in one column and status text in another, and the user wants a count of rows meeting both conditions.
- Observed behavior
- The desired count includes only rows with today's date and the specified text in the corresponding status cell.
Identify the date and status columns and make sure both ranges cover the same rows. Check whether the date cells contain time values, since those need a date-range criterion.
Count exact date and status matches with COUNTIFS
Use this formula when the date cells contain dates without time values and the status must match exactly.
Open the worksheet in WPS Spreadsheets or Excel and click an empty cell where you want the count.
Type =COUNTIFS(I5:I19,TODAY(),M5:M19,"MOVE TO ALT DATE") and press Enter.
Edit I5:I19 and M5:M19 to match your date and status columns, keeping both ranges the same size and aligned to the same rows. Replace MOVE TO ALT DATE with the status you need.

Count today's dates when cells include times
Use a date range when date cells contain timestamps, such as today's date followed by a time.
Count today's status entries in WPS Spreadsheets
Use COUNTIFS in WPS Spreadsheets to count rows that match today's date and a status in another column.
- 1. Open the worksheet: Launch WPS Spreadsheets and open the file containing your date and status columns.
- 2. Choose a result cell: Click an empty cell where you want the count to appear.
- 3. Enter COUNTIFS: Type =COUNTIFS(I5:I19,TODAY(),M5:M19,"MOVE TO ALT DATE"), adjusting the ranges and status to fit your sheet, and press Enter.
- 4. Check the result: Compare the count with the rows in your date and status ranges. If date cells include times, use the date-range formula instead.

Frequently Asked Questions
Why does COUNTIFS return zero when I can see today's date?
The date cells may contain time values or text rather than actual dates. For timestamps, use criteria of ">="&TODAY() and "<"&TODAY()+1 on the date range.
How do I count cells that contain the status rather than match it exactly?
Use wildcards in the text criterion, such as "*MOVE TO ALT DATE*", to count cells containing that phrase with additional text before or after it.
Why does my formula require semicolons instead of commas?
The argument separator depends on regional settings. If commas do not work, enter =COUNTIFS(I5:I19;TODAY();M5:M19;"MOVE TO ALT DATE") instead.
Will the count update tomorrow?
Yes. TODAY() uses the current date, so the count changes as the spreadsheet recalculates on a new day.




