Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default How to count dates with multiple values?

(Excel 2003)

I have dates in a column. Some days from start to end are missing and some
show up multiple times. I just want a count of how may days are in the list
without counting the same date more than once or counting dates that are not
in the list.


7/1/07
7/2/07
7/2/07
7/2/07
7/4/07
7/4/07
9/13/07
9/15/07....


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to count dates with multiple values?

One way:

=SUMPRODUCT((A1:A8<"")/COUNTIF(A1:A8,A1:A8&""))

Based on your sample the result is 5.

--
Biff
Microsoft Excel MVP


"dj479794" wrote in message
...
(Excel 2003)

I have dates in a column. Some days from start to end are missing and some
show up multiple times. I just want a count of how may days are in the
list
without counting the same date more than once or counting dates that are
not
in the list.


7/1/07
7/2/07
7/2/07
7/2/07
7/4/07
7/4/07
9/13/07
9/15/07....




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default How to count dates with multiple values?

This array gave me an ouptut of zero. I must be doing something wrong. Any
ideas based on a result of zero?

"T. Valko" wrote:

One way:

=SUMPRODUCT((A1:A8<"")/COUNTIF(A1:A8,A1:A8&""))

Based on your sample the result is 5.

--
Biff
Microsoft Excel MVP


"dj479794" wrote in message
...
(Excel 2003)

I have dates in a column. Some days from start to end are missing and some
show up multiple times. I just want a count of how may days are in the
list
without counting the same date more than once or counting dates that are
not
in the list.


7/1/07
7/2/07
7/2/07
7/2/07
7/4/07
7/4/07
9/13/07
9/15/07....





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to count dates with multiple values?

Are you using the correct range, did you just copy Biff's formula which
count A1:A8 and while your values are somewhere else?


--


Regards,


Peo Sjoblom


"dj479794" wrote in message
...
This array gave me an ouptut of zero. I must be doing something wrong. Any
ideas based on a result of zero?

"T. Valko" wrote:

One way:

=SUMPRODUCT((A1:A8<"")/COUNTIF(A1:A8,A1:A8&""))

Based on your sample the result is 5.

--
Biff
Microsoft Excel MVP


"dj479794" wrote in message
...
(Excel 2003)

I have dates in a column. Some days from start to end are missing and
some
show up multiple times. I just want a count of how may days are in the
list
without counting the same date more than once or counting dates that
are
not
in the list.


7/1/07
7/2/07
7/2/07
7/2/07
7/4/07
7/4/07
9/13/07
9/15/07....







  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default How to count dates with multiple values?

I changed it to my range A3:A707 replaced A1:A8

"Peo Sjoblom" wrote:

Are you using the correct range, did you just copy Biff's formula which
count A1:A8 and while your values are somewhere else?


--


Regards,


Peo Sjoblom


"dj479794" wrote in message
...
This array gave me an ouptut of zero. I must be doing something wrong. Any
ideas based on a result of zero?

"T. Valko" wrote:

One way:

=SUMPRODUCT((A1:A8<"")/COUNTIF(A1:A8,A1:A8&""))

Based on your sample the result is 5.

--
Biff
Microsoft Excel MVP


"dj479794" wrote in message
...
(Excel 2003)

I have dates in a column. Some days from start to end are missing and
some
show up multiple times. I just want a count of how may days are in the
list
without counting the same date more than once or counting dates that
are
not
in the list.


7/1/07
7/2/07
7/2/07
7/2/07
7/4/07
7/4/07
9/13/07
9/15/07....










  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to count dates with multiple values?

Does the formula still return 0?

If so, hmmm....

Try this one. This one will count NUMBERS only.

=COUNT(1/FREQUENCY(A3:A707,A3:A707))


--
Biff
Microsoft Excel MVP


"dj479794" wrote in message
...
I changed it to my range A3:A707 replaced A1:A8

"Peo Sjoblom" wrote:

Are you using the correct range, did you just copy Biff's formula which
count A1:A8 and while your values are somewhere else?


--


Regards,


Peo Sjoblom


"dj479794" wrote in message
...
This array gave me an ouptut of zero. I must be doing something wrong.
Any
ideas based on a result of zero?

"T. Valko" wrote:

One way:

=SUMPRODUCT((A1:A8<"")/COUNTIF(A1:A8,A1:A8&""))

Based on your sample the result is 5.

--
Biff
Microsoft Excel MVP


"dj479794" wrote in message
...
(Excel 2003)

I have dates in a column. Some days from start to end are missing
and
some
show up multiple times. I just want a count of how may days are in
the
list
without counting the same date more than once or counting dates that
are
not
in the list.


7/1/07
7/2/07
7/2/07
7/2/07
7/4/07
7/4/07
9/13/07
9/15/07....










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
How do I count values across multiple columns? [email protected] Excel Worksheet Functions 4 March 21st 06 11:13 PM
Simple Way to Count the Number of Duplicate Dates on Multiple Worksheets Dan Excel Discussion (Misc queries) 2 February 23rd 06 11:46 PM
Count on multiple values with duplicate rows Carla Excel Worksheet Functions 1 November 22nd 05 09:25 PM
Count occurances of multiple values BaseballFan Excel Worksheet Functions 2 February 17th 05 08:31 AM
how do i count values based on multiple criteria sean Excel Worksheet Functions 2 January 7th 05 01:00 AM


All times are GMT +1. The time now is 09:43 AM.

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"