Multiple columns/sheets - count,sumproduct - who knows??

cjg1901

New Member
Joined
Feb 25, 2011
Messages
9
Hi All

I have 2 sheets:

Sheet 1 - all employee information
Sheet 2 - list of select employees that failed to attend training course last week


Sheet 1:
Pay # / Employee Name / Attended?
12345 / John Smith / Yes
12345 / John Smith / No
12345 / John Smith / No
12345 / John Smith / Yes
45678 / Mike Jones / No
45678 / Mike Jones / No
45678 / Mike Jones / No
45678 / Mike Jones / Yes etc etc

Sheet 2:
Pay # / Employee Name / # of times not attended
12345 / John Smith / 2
45678 / Mike Jones / 3


I need to have the number of times an employee has not attended thier training courses - in column 3 on sheet 2. I have thousands of employees so I need a formula that will automatically calculate this figure.

Please help?

Thanks
cjg1901
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Try in Sheet2 C2 and copied down

=SUMPRODUCT(--(Sheet1!A$1:A$100=A2),--(Sheet1!C$1:C$100="No"))
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,275
Members
452,902
Latest member
Knuddeluff

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