Count number of specific days (e.e. Monday)

Closed
Tommy Boy - Feb 24, 2010 at 04:23 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 24, 2010 at 04:41 AM
Hello,
I have a list of dates in a column, I have converted them into days of the week (Format, Cell, Custom, dddd) and now want to count the number of times one particualr day (e.g. Monday) appears in the list. If I use the function COUNTIF I get "0" as teh value in the cell is e.g. 21/3/2009, not the weekday. Thanks
Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Feb 24, 2010 at 04:41 AM

Assuming your range is a1:a9, then how about this

=SUMPRODUCT(1 * (WEEKDAY(ROW(INDIRECT(A1 & ":" & A9)), 2) =1))

0