Try this for total number of Tuesday customers:
=SUMPRODUCT((WEEKDAY(A1:A365)=3)*(B1:B365<""))
And try this for the average:
=SUMPRODUCT((WEEKDAY(A1:A365)=3)*(B1:B365<""))/SUMPRODUCT(--(WEEKDAY(A1:A36
5)=3))
--
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Metolius Dad" wrote in message
...
Column A has dates in the year. Col B has customers on that date. What
formula can I use to find the total number of customers on all the
Tuesdays?
Average number for each Tuesday?
TIA, I appreciate you folks being there.
Sam Beardsley
|