In the attached example I need a formula to provide the numbers shown in column E.

Basically, how many unique values are there in column B where the month in column A is Jan, Feb, Mar etc?

Forum ExampleApr 3.xlsx