View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default How can I count dates if few duplicates in a column

Try the below

=SUMPRODUCT(--(C3:C20<""),1/COUNTIF(C3:C20,C3:C20&""))

--
Jacob (MVP - Excel)


"Tariq Aziz" wrote:

I entered few dates in Column C3 to C20, few of them are duplicates.
How can I count total number of dates (excluding duplicates), duplicates
should be count 1.