Hi to all,
This is my first post to this forum which has already been a great help for several Excel issues I had to conquer.
But now I am sweating on which formulas to use in order to count unique values within a range that meet a specific condition.
Let's say my range is A1:C6.
The cells in this range are either empty (blank) or contain a date in the format DD.MM.YYYY (defined by Format Cells - Number - Custom), for example 22.05.2013. Dates in this range are non-unique and are not sorted.
Examplev (first 6 rows):
A B C
31.03.2013 13.04.2011
15.02.2012 16.02.2012
22.05.2013
13.04.2011
15.02.2012 16.02.2012
29.01.2010
When I needed to know the count of the unique values in the range A1:C6, I found on this forum the following formula, which works perfectly:
=SUMPRODUCT((A1:C6<>"")/COUNTIF(A1:C6;A1:C6&""))
The next step I need to take is to count the unique values in the range A1:C6 within the same year.
To this purpose I entered in column D, rows 1 - 4: 2010, 2011, 2012 resp. 2013.
My question is: which formula (please no VBA!) should I use in column E which returns the count of unique values in the year indicated on the same row in column D? So D1 should indicate the unique values in the year 2010, D2 in 2011, etc.
Hope I explained myself well, your help is much appreciated, thanks in advance!
CSS
Bookmarks