Sumproduct weekday

Hayward

New Member
Joined
Jul 21, 2013
Messages
6
hi all my new at this. I am having a problem with an sumproduct iam trying to find out how may Saturday a list of dates. Sunday to Friday are working fine with is =SUMPRODUCT(--(WEEKDAY(A4:A300)=1)) for Sunday =SUMPRODUCT(--(WEEKDAY(A4:A300)=2) for Monday =SUMPRODUCT(--(WEEKDAY(A4:A300)=3)) for Tuesday =SUMPRODUCT(--(WEEKDAY(A4:A300)=4)) for Wednesday =SUMPRODUCT(--(WEEKDAY(A4:A300)=5)) for Thursday and =SUMPRODUCT(--(WEEKDAY(A4:A300)=2)) for Friday but when I use =SUMPRODUCT(--(WEEKDAY(A4:A300)=7)) for Saturday it give me an odd number the columns formatted as a date. if any one knows a different formula I can use.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Weekday will by default return a 7 for a Cell with no value this is because the Date serial o(zero) return date 1-0-1900(Saturday). Blank cells are considered to have a value of zero by the formula.
Do you have Blank Cells In a the range?
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top