Complex CountIf for unique values

cjbrooks723

New Member
Joined
Sep 4, 2015
Messages
1
I'm having a terrible time figuring this one out.

Column B is Date of Training
Column D is the trainee name
Column F is the instructor name (there are two)
Column I is the number of hours of training received by the trainee on that date

I need a formula that counts the number of hours each trainer spent training by month.

The issue I am encountering is that there are multiple trainee names for each date, as well as a potential different number of hours on any given day. So, for instance, if on January 5th, there are 8 trainees who each received 8 hours of training apiece, that is a total of 64 employee training hours, but only 8 hours performed by the trainer. I've not been able to get the correct amounts using a pivot table so far. Averages are not working either. I know there has to be a countif combo that would work here. Any ideas?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
If there are 2 entries of 4 hours for the same day, by the same trainer to different trainees, how do you know if they were done together or they had different courses? or maybe they had the same course but one in morning and one later.
 
Upvote 0

Forum statistics

Threads
1,215,884
Messages
6,127,567
Members
449,385
Latest member
KMGLarson

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