Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default 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.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
count dates in a column CJP Excel Worksheet Functions 2 November 17th 07 01:00 AM
SUMPRODUCT to count items with duplicates where another column contains two defined items PCLIVE Excel Worksheet Functions 4 September 8th 07 10:33 AM
Formula to count cells between dates excluding duplicates Vegs Excel Discussion (Misc queries) 11 July 5th 06 07:11 PM
Count cells in a column that contain dates Cachod1 New Users to Excel 1 March 29th 05 08:56 PM
Count number of unique items in a column that contains duplicates Steembeem Excel Worksheet Functions 3 February 2nd 05 12:51 AM


All times are GMT +1. The time now is 07:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"