Training Needs Analysis

Morpheus2022

New Member
Joined
Oct 4, 2022
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
Hi

I am currently working for an important client with a large number of staff.
I am trying to conduct a training needs analysis and need a formula to complete the following rapidly rather than trying to do this manually which would take many hours.
I'm sure its pretty strait forward but I might be overthinking it.

SCENARIO

SHEET 1 - ANALYSIS

REF: B1 = Course Name 1 C1=Course Name 2 D1=Course Name 3

REF: COL A
A2 = Employee 1
A3 = Employee 2
A4 = Employee 3

SHEET 2 - MASTER DATA

REF: A1 "Employee Name" B1 = "Course Name"
Employee 1 Course Name 1
Employee 2 Course Name 1
Employee 3 Course Name 2
Employee 1 Course Name 2
Employee 1 Course Name 3

WHAT I AM LOOKING FOR:
SHEET 1 FORMULA - In cell B2 =IF(the content of A2 is found in sheet two Employee Name column AND the content of sheet 1 B1 Course Name is found in Sheet 2 column B. Then Return "YES", Else "Blank")
The results in sheet one should show a row of Y's next to an employees name under the relevant course names where the learner is needed to attend a programme of learning.

Thanks.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
you could just convert sheet Master data to a pivot table
Book1
ABCD
1EmployeeCname
2Emp1Cname1
3Emp2Cname2
4Emp5Cname3
5Emp4 Cname1
6Emp1Cname2
7Emp2Cname3
8Emp2Cname1
9Emp5Cname1
10
11Count of CnameColumn Labels
12Row LabelsCname1Cname2Cname3
13Emp111
14Emp2111
15Emp4 1
16Emp511
Master data


Copy and paste as values back to your Analysis sheet replace all the "1" with a "Y", filter out any missing employees if you need and voila.
Book1
FGHIJ
1EmployeeCnameYCname2Cname3Is employee on Analysis Sht
2Emp1YYEmp1
3Emp2YYY 
4Emp4 YEmp4
5Emp5YYEmp5
Analysis
Cell Formulas
RangeFormula
J2:J5J2=IFNA(VLOOKUP(F2,$A$2:$A$5,1,FALSE),"")
 
Upvote 0
Hi Kerry,

Not sure if I have explained myself all that well.
The cell values under CNAME would be blank.

If the Name EMP1 & the CName are found on the analysis spreadsheet are match in a row record return the value 1 or Y.
When I have attempted what you have outlined I get the name only.

Am I doing something wrong here? Sorry.
 
Upvote 0
On the analysis sheet would you have employees and/or courses listed that would not be in the Master Data sheet?
The Master Data sheet contains list of employees and courses they must do, this is the data i moved to the Pivot table format.

I know that the original data on the Analysis sheet is similar to the layout below is that correct?
Book1
ABCD
1EmployeeCname1Cname2Cname3
2Emp1
3Emp3
4Emp5
5Emp4
Analysis


It is the master data i originally converted to pivot table as i assume these are the courses the employees are meant to attend, assuming all the courses here are available.
1664958299098.png
 
Upvote 0
Solution
If it only the employees and courses in the analysis sheet you need to run the data for this is the approach i would use, add 2 columns in Master data sheet to check against Analysis sheet
Then use these clumns AnyEmp and AnyCN as the source data for your matrix.

Book1
ABCD
1EmployeeCname1Cname2Cname3
2Emp1
3Emp3
4Emp5
5Emp4
Analysis


Book1
ABCDEFGHI
1EmployeeCnameAnyEmpAnyCNCount of AnyCN
2Emp1Cname1Emp1Cname1Cname1Cname2Cname3
3Emp2Cname2 Cname2111
4Emp5Cname3Emp5Cname3Emp111
5Emp4 Cname1Emp4 Cname1Emp4 1
6Emp1Cname2Emp1Cname2Emp511
7Emp2Cname3 Cname3
8Emp2Cname1 Cname1
9Emp5Cname1Emp5Cname1
Master data
Cell Formulas
RangeFormula
C2:C9C2=IFNA(VLOOKUP(A2,Analysis!$A$2:$A$5,1,FALSE),"")
D2:D9D2=HLOOKUP(B2,Analysis!$B$1:$D$1,1,FALSE)
 
Upvote 0
You are amazing! Thank you so much Kerry. I knew there was a simple way around it. I really cannot thank you enough.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,264
Members
452,627
Latest member
KitkatToby

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