Count Matching Dates and Statuses with COUNTIFS in Excel
Question details
Count records where both the date and status match criteria in a summary section.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A transfer summary needs a count of rows for a date listed in another section of the worksheet.
- Observed behavior
- The desired result is a count of rows whose date matches the summary date and whose status is Transfer.
Check that A10:A15 contains real Excel dates, B10:B15 contains statuses, and A3 contains the date to match. Make sure the date and status ranges cover the same rows.
Use COUNTIFS to match the date and Transfer status
Use COUNTIFS to count rows that meet both conditions at once.
In Excel, click the cell where you want the transfer count to appear.
Type =COUNTIFS($A$10:$A$15,A3,$B$10:$B$15,"Transfer") and press Enter. The formula matches the date in A3 against column A and checks column B for Transfer.
If other dates are listed below A3, drag the result cell's fill handle down. The date reference changes for each row, while the source ranges remain fixed.

Use SUMPRODUCT as an alternative to COUNTIFS
Use SUMPRODUCT to count rows where both comparisons are true.
Count matching dates and statuses in WPS Spreadsheet
Use COUNTIFS in WPS Spreadsheet to build the same date-and-status summary and fill the formula down for additional dates.
- 1. Open the workbook: Open WPS Spreadsheet and select File > Open to choose your workbook.
- 2. Select the result cell: Click the cell where you want to display the count for the date in A3.
- 3. Enter COUNTIFS: Type =COUNTIFS($A$10:$A$15,A3,$B$10:$B$15,"Transfer") and press Enter.
- 4. Fill the summary: Drag the result cell's fill handle down to calculate counts for dates in the following rows.

Frequently Asked Questions
Why does COUNTIFS return zero when the dates look the same?
The source dates may be stored as text or contain hidden times. Check the values in A10:A15 and A3 and convert text to real dates or account for time values.
How can I count every Transfer on a date when source cells contain times?
Use a date range instead of an exact match: =COUNTIFS($A$10:$A$15,">="&A3,$A$10:$A$15,"<"&A3+1,$B$10:$B$15,"Transfer"). This assumes A3 contains the date without a time.
Can I use a cell for the status instead of typing Transfer?
Yes. If C3 contains the status, use =COUNTIFS($A$10:$A$15,A3,$B$10:$B$15,C3).
Why are dollar signs used in the source ranges?
The dollar signs keep A10:A15 and B10:B15 fixed when you drag the formula down. The relative reference A3 changes to A4, A5, and so on.




