Data Analysis & Exploitation

mattyn

Board Regular
Joined
Apr 20, 2015
Messages
148
This is probably quite easy for an Excel expert, I hope!

I am carrying out a review on a team of engineering staff and the qualifications budgeted against each position within the firm. I have about 100 positions and staff and each position can hold a number of (in various combinations) qualifications. Within these positions, there are about 30 different roles within the firm, and a differing number of staff hold these roles. A staff member only holds one role. The team is split into a Level and Sub-level (trade) structure (ranking and skill structure if you like).

The review is to ascertain qualification shortfalls in each position and staff member, and decide what qualifications are required for each position.

Therefore I have a simple table, as follows.
Column A (A3-A100) is a list of all the positions.
Column B (B3-B100) is a list of roles associated to that position
Column C (C3-C100) in the surname of the person in that position
Row 1 (D1-B120) is a list of all the qualifications in alternate columns, meaning there are two columns per qualification, one for what the position requires, and two, what the present incumbent holds. (I hope this makes sense).

I use a simple convention for completing the grid.

For the position details,
Y = Qualification is Required, and is currently attached to that position. (short for Yes)
R = Qualification is required but not attached to that position yet (short for Required)
N = Qualification is curently attached to that position, but not required anymore for that position (short for Not Required)
Blank = not required.

For the present incumbent details,
H = Incumbant holds this qualification (short for Held)
S = Used where the incumbent requires this qualification (there will be a Y or R in the preceding column), but does not hold it (short for Shortfall).

The first analysis is to ascertain the changes to the qualifications attached to each position. This has to be in a particular format on another worksheet, position in Column A, and Qualifications attached to each position in Column B. There are a varying number of qualifications per position, so the output needs to be dynamic as I do not want gaps as follows: (this will in effect be a form I will submit to the budget holders stating the changes I need to occur).

Column A: Column B
Position Qualification
Position1: Qualification1
Qualification2
Qualification3
Position2: Qualification1
Qualification4
Position3: Qualification1
Qualification6

etc!

In addition, the qualification column needs formatting in a certain manner:

Qualification already attached to that position and requiring no change - black normal font.
Qualification to be attached to that position = Blue Bold (from the "R" in my naming convention above)
Qualification not required any more = Red Bold Font (from the "N) in my naming convention above)

I suppose what the incumbant actually holds or not is rather a red herring - the data and budget is about the position and the qualifications attached to that position. It will produce a training burden output when a person is assigned to that position.

The second analysis I need to produce is what shortfalls each incumbent has, and therefore producing that training burden to get him qualified to carry out that role.

I appreciate this is a long post and probably have given too much nugatory information, but hopefully I have got everything across in a straightforward manner.

Many thanks in advance for your help!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I have just seen I can make tables to express my issue in a better manner.

Worksheet 1 looks like:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Q1[/TD]
[TD][/TD]
[TD]Q2[/TD]
[TD][/TD]
[TD]Q3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pos[/TD]
[TD]Role[/TD]
[TD]Name[/TD]
[TD]Y/R/N[/TD]
[TD]H/S [/TD]
[TD]Y/R/N[/TD]
[TD]H/S [/TD]
[TD]Y/R/N[/TD]
[TD]H/S [/TD]
[/TR]
[TR]
[TD]Pos1[/TD]
[TD]Role1[/TD]
[TD]Name1[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD]R[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]Pos2[/TD]
[TD]Role2[/TD]
[TD]Name2[/TD]
[TD]Y[/TD]
[TD]S[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pos3[/TD]
[TD]Role3[/TD]
[TD]Name3[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD]N[/TD]
[TD][/TD]
[TD]R[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]Pos4[/TD]
[TD]Role4[/TD]
[TD]Name4[/TD]
[TD][/TD]
[TD][/TD]
[TD]Y[/TD]
[TD]S[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[/TR]
</tbody>[/TABLE]

this table goes on for 100 columns and 90 positions ish!









From W/S1 above, I want to produce W/S 2 below

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Position[/TD]
[TD]Name[/TD]
[TD]Qualification[/TD]
[/TR]
[TR]
[TD]Pos1[/TD]
[TD]Name1[/TD]
[TD]Q1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q3[/TD]
[/TR]
[TR]
[TD]Pos2[/TD]
[TD]Name2[/TD]
[TD]Q1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD]Pos3[/TD]
[TD]Name3[/TD]
[TD]Q1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q3[/TD]
[/TR]
[TR]
[TD]Pos4[/TD]
[TD]Name4[/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Is this possible? This will be the form I submit to attach the qualifications to each position.

Many thanks in advance.

Matt
 
Last edited:
Upvote 0
I have seen similar codes to make the transfer from the horizontal to the vertical, however each is a little different and not easily translated by someone of my skill level.

Is each row the same number of columns? Or are some 88 columns, others 97, and a couple 34 columns, etc.

I will knock about to see if I can find something.

Howard
 
Upvote 0
Simply yes. Not every column has a letter in though - but I suppose it could do. There are 103 different qualifications available to personnel! It is a big grid!
 
Upvote 0
I have just seen I can make tables to express my issue in a better manner.

Worksheet 1 looks like:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Q1[/TD]
[TD][/TD]
[TD]Q2[/TD]
[TD][/TD]
[TD]Q3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pos[/TD]
[TD]Role[/TD]
[TD]Name[/TD]
[TD]Y/R/N[/TD]
[TD]H/S [/TD]
[TD]Y/R/N[/TD]
[TD]H/S [/TD]
[TD]Y/R/N[/TD]
[TD]H/S [/TD]
[/TR]
[TR]
[TD]Pos1[/TD]
[TD]Role1[/TD]
[TD]Name1[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD]R[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]Pos2[/TD]
[TD]Role2[/TD]
[TD]Name2[/TD]
[TD]Y[/TD]
[TD]S[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pos3[/TD]
[TD]Role3[/TD]
[TD]Name3[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[TD]N[/TD]
[TD][/TD]
[TD]R[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]Pos4[/TD]
[TD]Role4[/TD]
[TD]Name4[/TD]
[TD][/TD]
[TD][/TD]
[TD]Y[/TD]
[TD]S[/TD]
[TD]Y[/TD]
[TD]H[/TD]
[/TR]
</tbody>[/TABLE]

this table goes on for 100 columns and 90 positions ish!









From W/S1 above, I want to produce W/S 2 below

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Position[/TD]
[TD]Name[/TD]
[TD]Qualification[/TD]
[/TR]
[TR]
[TD]Pos1[/TD]
[TD]Name1[/TD]
[TD]Q1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q3[/TD]
[/TR]
[TR]
[TD]Pos2[/TD]
[TD]Name2[/TD]
[TD]Q1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD]Pos3[/TD]
[TD]Name3[/TD]
[TD]Q1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q3[/TD]
[/TR]
[TR]
[TD]Pos4[/TD]
[TD]Name4[/TD]
[TD]Q2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Q3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Is this possible? This will be the form I submit to attach the qualifications to each position.

Many thanks in advance.

Matt

Hi Matt,

On sheet 2 any reason for the Q3 in Position 1, the Q2 in position 2 and the Q3 in position 3 are color coded and bold face?

Howard
 
Upvote 0
Hi Matt,

On sheet 2 any reason for the Q3 in Position 1, the Q2 in position 2 and the Q3 in position 3 are color coded and bold face?

Howard

Hi Howard

Yes - it is the format the adjustment request is to be submitted. Does this make it difficult? I could get away without the bold, but it does need to be coloured! They relate to the grid on sheet 1.

Matt
 
Upvote 0
Hi Howard

Yes - it is the format the adjustment request is to be submitted. Does this make it difficult? I could get away without the bold, but it does need to be coloured! They relate to the grid on sheet 1.

Matt

I don't think so.

But it is of importance that the sheet 2 reflect the formatting as a matter clarity or information as the form is submitted to whom ever gets it. Is that correct?

Howard
 
Upvote 0
The question is, are the Q's on sheet 1 color coded and therfore the formatting needs to held intact, with some Q's formated the various colors and some not?

You example does not show any color formatted Q's on sheet 1, but the sheet 2 reconstructed data shows colored Q's.

The color formatting needs to be "structured", that is, if there are no color formatted Q's on sheet 1, but you want color formatted Q's on sheet 2, there needs to be a structure as to which Q's are to be color formatted, and what color.

Howard
 
Upvote 0

Forum statistics

Threads
1,223,276
Messages
6,171,140
Members
452,381
Latest member
Nova88

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