I got data similar to the following table (actual data will be the four date columns but further apart and many more rows):
Capture.PNG
Using VBA I want to count the unique values in col A where the date is equal to 16-Jan-16 in any of the four date columns (B, D, F and H).
In the above example my answer should be 2 (MTN and DRD). MTN has 16-Jan-16 in two columns but must be counted only once.
Is this possible without using multiple CountIf or CountIfs?
Your help is appreciated.
Edit: Forgot to add that some of the cells in the date columns might not have dates in them (empty cells/null value cells).
Bookmarks