Function Problems

Count Matching Dates and Statuses with COUNTIFS in Excel

Rana GarciaRana Garcia Dec 2, 2026 868 views

Question details

Count records where both the date and status match criteria in a summary section.

Count Matching Dates and Statuses with COUNTIFS in Excel
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.
Before you start

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.

Solution 1Recommended

Use COUNTIFS to match the date and Transfer status

Use COUNTIFS to count rows that meet both conditions at once.

1
Select the result cell

In Excel, click the cell where you want the transfer count to appear.

2
Enter the formula

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.

3
Fill other summary rows

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 COUNTIFS to match the date and Transfer status
Check dates and times: The date comparison is exact, so a date with a time value may not match a date without one. Confirm that both sides contain real dates and check for hidden time values if the count is unexpected.
Count matching records in WPS Spreadsheet

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. 1. Open the workbook: Open WPS Spreadsheet and select File > Open to choose your workbook.
  2. 2. Select the result cell: Click the cell where you want to display the count for the date in A3.
  3. 3. Enter COUNTIFS: Type =COUNTIFS($A$10:$A$15,A3,$B$10:$B$15,"Transfer") and press Enter.
  4. 4. Fill the summary: Drag the result cell's fill handle down to calculate counts for dates in the following rows.
Count rows matching both a date and a Transfer status.Open and edit Microsoft Excel XLSX and XLS files.Reuse the formula across summary rows with fixed source ranges.Work with a familiar spreadsheet interface.
microsoft office alternative - wps office

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.