Need help with counting data with multiple criteria, when one criteria has duplicates

rkallen2

New Member
Joined
Jan 13, 2021
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
I have the following data:
List of employees (Column A)
Department for each employee (Column B)
Training course completed (Column C)
Course Category (Column D)


Trying to solve for the following:
How many *employees* have completed a course in each course category by department.

I have solved for how many courses in each category have been completed by department using COUNTIFS, but because one employee can complete multiple courses in the same category, this count returned a higher value than the number of people who completed a course in each category.

I am unable to figure out how determine because employees names show up multiple times for the same course category.

Attached a sample of the data.

Please help!
 

Attachments

  • Capture.PNG
    Capture.PNG
    89.8 KB · Views: 6

Some videos you may like

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

mart37

Well-known Member
Joined
Aug 4, 2017
Messages
1,070
Office Version
  1. 2016
Platform
  1. Windows
You can use a pivot table.
Important: Add data to data model then you can choose by functions for DISTINCT COUNT
Help for Distinct Count
 

mart37

Well-known Member
Joined
Aug 4, 2017
Messages
1,070
Office Version
  1. 2016
Platform
  1. Windows
Map7
ABCDFGHIJKLMN
1EmployeeDepartmentCourse CategoryUnieke telling van EmployeeKolomlabels
21Financial CounselingRegistrationRijlabelsAdmissionsHIMPre-2019 Epci UpgradeRegistrationScheduling
31Financial CounselingSchedulingEmergency Registration1111
41Financial CounselingRegistrationFinancial Counseling1121
51Financial CounselingSchedulingHealth Infomation Management11
61Financial CounselingRegistrationEindtotaal21332
71Financial CounselingAdmissions
81Financial CounselingScheduling
91Financial CounselingPre-2019 Epci Upgrade
102Emergency RegistrationAdmissions
112Emergency RegistrationScheduling
122Emergency RegistrationRegistration
132Emergency RegistrationScheduling
142Emergency RegistrationRegistration
152Emergency RegistrationRegistration
162Emergency RegistrationRegistration
172Emergency RegistrationRegistration
182Emergency RegistrationAdmissions
192Emergency RegistrationPre-2019 Epci Upgrade
203Health Infomation ManagementPre-2019 Epci Upgrade
213Health Infomation ManagementHIM
224Financial CounselingRegistration
234Financial CounselingRegistration
Blad1
 

Watch MrExcel Video

Forum statistics

Threads
1,127,832
Messages
5,627,150
Members
416,223
Latest member
RichardHell

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