, Good evening.
"...Any idea how to get it to count Saturdays using this same formula?...
Look at this:
WEEKDAY( Serial_number, Return_type)
The WEEKDAY function syntax has the following arguments:
A sequential number that represents the date of the day you are trying to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.
A number that determines the type of return value.
--> Numbers 1
(Monday) through 7
1 --> Monday
2 --> Tuesday
3 --> Wednesday
4 --> Thursday
5 --> Friday
6 --> Saturday
7 --> Sunday
In the suggested formula, we compare the number of the day of the week to the value 1
, which means Monday.
=SUMPRODUCT(--(WEEKDAY(A1:A30, 2)= 1
Simply replace these values to get the count for each day of the week you want.
I hope it helps.
Belo Horizonte, Brasil