How many of this type on Mondays

camiloq

New Member
Joined
Aug 16, 2016
Messages
2
Hello there,

When I run a report for my company I get a file that contains 3 columns
Date, employee and Shift

I need to find out how many of each type happened on monday, tuesday, etc.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Employee[/TD]
[TD]Shift[/TD]
[/TR]
[TR]
[TD]Aug 8, 2016[/TD]
[TD]Bob[/TD]
[TD]Classic[/TD]
[/TR]
[TR]
[TD]Aug 8, 2016[/TD]
[TD]Sally[/TD]
[TD]Mini[/TD]
[/TR]
[TR]
[TD]Aug 8, 2016
[/TD]
[TD]John[/TD]
[TD]Classic
[/TD]
[/TR]
[TR]
[TD]Aug 9, 2016[/TD]
[TD]John[/TD]
[TD]Classic[/TD]
[/TR]
[TR]
[TD]Aug 10, 2016[/TD]
[TD]John[/TD]
[TD]Admin[/TD]
[/TR]
[TR]
[TD]Aug 11, 2016[/TD]
[TD]Sally[/TD]
[TD]Classic[/TD]
[/TR]
</tbody>[/TABLE]

I would like to know, how many Classic shifts happened on Monday. I am using
=SUMPRODUCT(--(WEEKDAY($A$2:$A$1000)=2))
which gives me how many monday shifts there are, but I need it to be Classic shifts on Mondays, and I don't know how to add that second condition. I could also use all shifts except for admin if that formula would be easier

Thanks for the help.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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