Explanation
In this example, the goal is to count non-blank dates in column D by group.
All data is anExcel Tablenameddatain the range B5:D16.
This problem can be solved with theCOUNTIFS function, as explained below.
COUNTIFS function
The Excel COUNTIFS function returns the count of cells that meet one or more criteria.
COUNTIFS accepts ranges and criteria in pairs.
Because there are 5 rows in the table where the group is “A”, COUNTIFS returns 5.