ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I count dates if few duplicates in a column (https://www.excelbanter.com/excel-discussion-misc-queries/264461-how-can-i-count-dates-if-few-duplicates-column.html)

Tariq Aziz

How can I count dates if few duplicates in a column
 
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.

Jacob Skaria

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.


Mike H

How can I count dates if few duplicates in a column
 
Hi,

Try this

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

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"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.


T. Valko

How can I count dates if few duplicates in a column
 
As long as they are true Excel dates...

=SUM(--(FREQUENCY(C3:C20,C3:C20)0))

--
Biff
Microsoft Excel MVP


"Tariq Aziz" <Tariq wrote in message
...
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.





All times are GMT +1. The time now is 06:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com