Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting the day of the weekweek

I have a column with dates formated as: Wednesday, November 14, 2007. I
would like to count how many where Wed., Thur. and so on.

How do I do that? The column covers event dates for 3 years.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Counting the day of the weekweek

Assume the dates are in A1:A1000

=SUMPRODUCT(--(WEEKDAY(A1:A11000,2)=3))

for Wednesday

if there might be blank cells and you are counting Saturdays you might want
to use


=SUMPRODUCT(--(WEEKDAY(A1:A1000,2)=6),--(ISNUMBER(A1:A1000)))

since otherwise blank cells will be counted as Saturdays


--


Regards,


Peo Sjoblom



"Brian FL" <Brian wrote in message
...
I have a column with dates formated as: Wednesday, November 14, 2007. I
would like to count how many where Wed., Thur. and so on.

How do I do that? The column covers event dates for 3 years.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Counting the day of the weekweek

Hi,

Try something like this:

=SUMPRODUCT(--(WEEKDAY($A$1:$A$1000)=ROW(A1)))
copy down 6 more rows, the first cell will give how many sundays there are,
the second how many mondays , third how many tuesdays and so on.....adjust to
suit!

Hope this helps!
Jean-Guy

"Brian FL" wrote:

I have a column with dates formated as: Wednesday, November 14, 2007. I
would like to count how many where Wed., Thur. and so on.

How do I do that? The column covers event dates for 3 years.

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
counting function but not double counting duplicates JRD Excel Worksheet Functions 2 November 7th 07 06:43 PM
Counting fomula problems Excel Worksheet Functions 4 June 25th 06 11:13 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting names in a column but counting duplicate names once TBoe Excel Discussion (Misc queries) 9 May 11th 05 11:24 PM
Counting... Patrick G Excel Worksheet Functions 3 February 23rd 05 10:05 PM


All times are GMT +1. The time now is 03:18 PM.

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

About Us

"It's about Microsoft Excel"