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

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try in Sheet2 C2 and copied down

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

Forum statistics

Threads
1,141,849
Messages
5,708,965
Members
421,601
Latest member
Garlo

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
Top