This question is related to this question.
I have data as below.
Col A
22-Oct-12
22-Oct-12
22-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
24-Oct-12
24-Oct-12
24-Oct-12
What I want is find the unique values in column B so that output would be as below.
Col A
22-Oct-12
23-Oct-12
24-Oct-12
I tried with =IF(COUNTIF(A$1:A1,A1)=1,A1,"")
but the problem is that I get 22-Oct-12
infront of first occurrence of 22-Oct-12
, 23-Oct-12
infront of first occurrence of 23-Oct-12
. Output is shown as below.
Col A Col B
22-Oct-12 22-Oct-12
22-Oct-12
22-Oct-12
23-Oct-12 23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
24-Oct-12 24-Oct-12
24-Oct-12
24-Oct-12
I don't want output like this. What I want is as below.
Col A Col B
22-Oct-12 22-Oct-12
22-Oct-12 23-Oct-12
22-Oct-12 24-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
24-Oct-12
24-Oct-12
24-Oct-12
OR
Col A Col B Col C
22-Oct-12 22-Oct-12 22-Oct-12
22-Oct-12 23-Oct-12
22-Oct-12 24-Oct-12
23-Oct-12 23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
23-Oct-12
24-Oct-12 24-Oct-12
24-Oct-12
24-Oct-12
Note : I can do this by MACRO, however I don't want to use MACRO. I want to get this done by use of excel functions.
Also, I could do above as per this answer, however I don't want to get done manually.
Everything by pre-defined excel function. NO MACRO or NO MANUAL WORK.