Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how can i use countif to count sundays in excel

I tried COUNTIF(A4:A34,WEEKDAY()=1) it returned 0 a;though there were 4
Sundays in the Month Listed. and these were in the form of WEEKDAY()=1

What am i doing wrong in entering the formula
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default how can i use countif to count sundays in excel

Reverend Ken wrote:
I tried COUNTIF(A4:A34,WEEKDAY()=1) it returned 0 a;though there were 4
Sundays in the Month Listed. and these were in the form of WEEKDAY()=1

What am i doing wrong in entering the formula



=SUMPRODUCT(--(WEEKDAY(A4:A34)=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
Excel - list days of a month, excluding Sundays John Excel Discussion (Misc queries) 1 January 3rd 06 04:43 PM
calculate how many sundays between two dates in excel jeff thinkin Excel Discussion (Misc queries) 1 September 14th 05 04:12 PM
calculate how many sundays between two dates in excel jeff thinkin Excel Discussion (Misc queries) 2 September 14th 05 03:33 PM
how do I count the sum of 2 columns in excel? countif(a1:a100='op. Bruce Excel Worksheet Functions 1 February 21st 05 03:20 PM
Count Days excluding Sundays KENNY Excel Worksheet Functions 3 November 11th 04 05:26 PM


All times are GMT +1. The time now is 08:49 AM.

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"