Saturday, September 01, 2012 40
Sunday, September 02, 2012 10
Monday, September 03, 2012 20
Tuesday, September 04, 2012 20
Wednesday, September 05, 2012 20
Thursday, September 06, 2012 10
Friday, September 07, 2012 20
Saturday, September 08, 2012 20
Sunday, September 09, 2012 10
Monday, September 10, 2012 40[/pre]
You can use:
=SUMPRODUCT((WEEKDAY($A$1:$A$10)>=2)*(WEEKDAY($A$1:$A$10)<=6)*($B$1:$B$10))/SUMPRODUCT((WEEKDAY($A$1:$A$10)>=2)*(WEEKDAY($A$1:$A$10)<=6)*1)
SUMPRODUCT(((A1:A10)<>"Saturday")*(A1:A10<>"Sunday")*(B1:B10))/SUMPRODUCT(((A1:A10)<>"Saturday")*(A1:A10<>"Sunday")*1)