Counting Chart Conditionally
There is an Excel file that teaches how to perform the Counting Chart Conditionally operation.
Excel-Based Counting Chart Conditionally
This workbook demonstrates counting chart conditionally using VBA macros on a 4-row data layout.
Hope it is useful.