Need help with a formula

EmergencyStats

New Member
Joined
Apr 17, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi everyone!

I have been asked to lead a presentation for my company. I have a shortened list of some of our sales staff and a longer list with all staff. Is there a way to transpose a list of quarterly performance from the shorter list onto the longer one whilst keep any gaps? I am fully a novice with Excel so I can explain more if its unclear.

Thanks!

Example sales.xlsx
ABCDEFGHIJKLM
1Sales1st Quarter2nd Quarter3rd Quarter 4th QuarterAll Sales1st Quarter2nd Quarter3rd Quarter 4th Quarter
2AddieNear targetNear targetNear targetNear targetAddie
3AzizProbationProbationAziz
4ChrisOn targetNear targetNear targetOn targetChris
5DavidOn targetOn targetOn targetOn targetDanny
6DebbieNear targetOn targetOn targetNear targetDavid
7FrankNeeds improvementNeeds improvementNear targetNeeds improvementDebbie
8GaryNear targetNear targetNear targetNear targetFrank
9GlennOn targetOn targetOn targetOn targetGabbie
10JennyOn targetOn targetOn targetOn targetGary
11JohnOn targetNear targetNear targetOn targetGlenn
12JudithOn targetOn targetOn targetOn targetJenny
13JulieProbationNeeds improvementOn targetOn targetJohn
14LinOn targetOn targetOn targetOn targetJudith
15MoNeeds improvementNear targetNear targetNeeds improvementJulie
16PaulNear targetOn targetNeeds improvementOn targetLin
17SidNeeds improvementNear targetNear targetNeeds improvementMichelle
18StephenNeeds improvementNeeds improvementNeeds improvementNeeds improvementMike
19SteveOn targetNeeds improvementNeeds improvementOn targetMo
20TomProbationProbationProbationMohammad
21TylerNear targetOn targetOn targetNear targetPaul
22Sarah
23Sid
24Stacey
25Stephen
26Steve
27Toby
28Tom
29Tyler
Sheet1
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi & Welcome to MrExcel.

Try

Book1
ABCDEFGHIJKLMN
1Sales1st Quarter2nd Quarter3rd Quarter 4th QuarterAll Sales1st Quarter2nd Quarter3rd Quarter 4th Quarter
2AddieNear targetNear targetNear targetNear targetAddieNear targetNear targetNear targetNear target
3AzizProbationProbationAziz00ProbationProbation
4ChrisOn targetNear targetNear targetOn targetChrisOn targetNear targetNear targetOn target
5DavidOn targetOn targetOn targetOn targetDanny#N/A#N/A#N/A#N/A
6DebbieNear targetOn targetOn targetNear targetDavidOn targetOn targetOn targetOn target
7FrankNeeds improvementNeeds improvementNear targetNeeds improvementDebbieNear targetOn targetOn targetNear target
8GaryNear targetNear targetNear targetNear targetFrankNeeds improvementNeeds improvementNear targetNeeds improvement
9GlennOn targetOn targetOn targetOn targetGabbie#N/A#N/A#N/A#N/A
10JennyOn targetOn targetOn targetOn targetGaryNear targetNear targetNear targetNear target
11JohnOn targetNear targetNear targetOn targetGlennOn targetOn targetOn targetOn target
12JudithOn targetOn targetOn targetOn targetJennyOn targetOn targetOn targetOn target
13JulieProbationNeeds improvementOn targetOn targetJohnOn targetNear targetNear targetOn target
14LinOn targetOn targetOn targetOn targetJudithOn targetOn targetOn targetOn target
15MoNeeds improvementNear targetNear targetNeeds improvementJulieProbationNeeds improvementOn targetOn target
16PaulNear targetOn targetNeeds improvementOn targetLinOn targetOn targetOn targetOn target
17SidNeeds improvementNear targetNear targetNeeds improvementMichelle#N/A#N/A#N/A#N/A
18StephenNeeds improvementNeeds improvementNeeds improvementNeeds improvementMike#N/A#N/A#N/A#N/A
19SteveOn targetNeeds improvementNeeds improvementOn targetMoNeeds improvementNear targetNear targetNeeds improvement
20TomProbationProbationProbationMohammad#N/A#N/A#N/A#N/A
21TylerNear targetOn targetOn targetNear targetPaulNear targetOn targetNeeds improvementOn target
22Sarah#N/A#N/A#N/A#N/A
23SidNeeds improvementNear targetNear targetNeeds improvement
24Stacey#N/A#N/A#N/A#N/A
25StephenNeeds improvementNeeds improvementNeeds improvementNeeds improvement
26SteveOn targetNeeds improvementNeeds improvementOn target
27Toby#N/A#N/A#N/A#N/A
28Tom0ProbationProbationProbation
29TylerNear targetOn targetOn targetNear target
30
Sheet1
Cell Formulas
RangeFormula
J2:M29J2=INDEX($B$2:$E$21,MATCH($I2,$A$2:$A$21,0),MATCH(J$1,$B$1:$E$1,0))
 
Upvote 0
Solution
Another option
Fluff.xlsm
ABCDEFGHIJKLM
1Sales1st Quarter2nd Quarter3rd Quarter 4th QuarterAll Sales1st Quarter2nd Quarter3rd Quarter 4th Quarter
2AddieNear targetNear targetNear targetNear targetAddieNear targetNear targetNear targetNear target
3AzizProbationProbationAziz ProbationProbation
4ChrisOn targetNear targetNear targetOn targetChrisOn targetNear targetNear targetOn target
5DavidOn targetOn targetOn targetOn targetDanny 
6DebbieNear targetOn targetOn targetNear targetDavidOn targetOn targetOn targetOn target
7FrankNeeds improvementNeeds improvementNear targetNeeds improvementDebbieNear targetOn targetOn targetNear target
8GaryNear targetNear targetNear targetNear targetFrankNeeds improvementNeeds improvementNear targetNeeds improvement
9GlennOn targetOn targetOn targetOn targetGabbie 
10JennyOn targetOn targetOn targetOn targetGaryNear targetNear targetNear targetNear target
11JohnOn targetNear targetNear targetOn targetGlennOn targetOn targetOn targetOn target
12JudithOn targetOn targetOn targetOn targetJennyOn targetOn targetOn targetOn target
13JulieProbationNeeds improvementOn targetOn targetJohnOn targetNear targetNear targetOn target
14LinOn targetOn targetOn targetOn targetJudithOn targetOn targetOn targetOn target
15MoNeeds improvementNear targetNear targetNeeds improvementJulieProbationNeeds improvementOn targetOn target
16PaulNear targetOn targetNeeds improvementOn targetLinOn targetOn targetOn targetOn target
17SidNeeds improvementNear targetNear targetNeeds improvementMichelle 
18StephenNeeds improvementNeeds improvementNeeds improvementNeeds improvementMike 
19SteveOn targetNeeds improvementNeeds improvementOn targetMoNeeds improvementNear targetNear targetNeeds improvement
20TomProbationProbationProbationMohammad 
21TylerNear targetOn targetOn targetNear targetPaulNear targetOn targetNeeds improvementOn target
22Sarah 
23SidNeeds improvementNear targetNear targetNeeds improvement
24Stacey 
25StephenNeeds improvementNeeds improvementNeeds improvementNeeds improvement
26SteveOn targetNeeds improvementNeeds improvementOn target
27Toby 
28Tom ProbationProbationProbation
29TylerNear targetOn targetOn targetNear target
Master
Cell Formulas
RangeFormula
J28:M29,J25:M26,J23:M23,J21:M21,J19:M19,J10:M16,J6:M8,J5,J9,J17:J18,J20,J22,J24,J27,J2:M4J2=XLOOKUP(I2,$A$2:$A$100,$B$2:$E$100&"","")
Dynamic array formulas.
 
Upvote 0
Hi & Welcome to MrExcel.

Try

Book1
ABCDEFGHIJKLMN
1Sales1st Quarter2nd Quarter3rd Quarter 4th QuarterAll Sales1st Quarter2nd Quarter3rd Quarter 4th Quarter
2AddieNear targetNear targetNear targetNear targetAddieNear targetNear targetNear targetNear target
3AzizProbationProbationAziz00ProbationProbation
4ChrisOn targetNear targetNear targetOn targetChrisOn targetNear targetNear targetOn target
5DavidOn targetOn targetOn targetOn targetDanny#N/A#N/A#N/A#N/A
6DebbieNear targetOn targetOn targetNear targetDavidOn targetOn targetOn targetOn target
7FrankNeeds improvementNeeds improvementNear targetNeeds improvementDebbieNear targetOn targetOn targetNear target
8GaryNear targetNear targetNear targetNear targetFrankNeeds improvementNeeds improvementNear targetNeeds improvement
9GlennOn targetOn targetOn targetOn targetGabbie#N/A#N/A#N/A#N/A
10JennyOn targetOn targetOn targetOn targetGaryNear targetNear targetNear targetNear target
11JohnOn targetNear targetNear targetOn targetGlennOn targetOn targetOn targetOn target
12JudithOn targetOn targetOn targetOn targetJennyOn targetOn targetOn targetOn target
13JulieProbationNeeds improvementOn targetOn targetJohnOn targetNear targetNear targetOn target
14LinOn targetOn targetOn targetOn targetJudithOn targetOn targetOn targetOn target
15MoNeeds improvementNear targetNear targetNeeds improvementJulieProbationNeeds improvementOn targetOn target
16PaulNear targetOn targetNeeds improvementOn targetLinOn targetOn targetOn targetOn target
17SidNeeds improvementNear targetNear targetNeeds improvementMichelle#N/A#N/A#N/A#N/A
18StephenNeeds improvementNeeds improvementNeeds improvementNeeds improvementMike#N/A#N/A#N/A#N/A
19SteveOn targetNeeds improvementNeeds improvementOn targetMoNeeds improvementNear targetNear targetNeeds improvement
20TomProbationProbationProbationMohammad#N/A#N/A#N/A#N/A
21TylerNear targetOn targetOn targetNear targetPaulNear targetOn targetNeeds improvementOn target
22Sarah#N/A#N/A#N/A#N/A
23SidNeeds improvementNear targetNear targetNeeds improvement
24Stacey#N/A#N/A#N/A#N/A
25StephenNeeds improvementNeeds improvementNeeds improvementNeeds improvement
26SteveOn targetNeeds improvementNeeds improvementOn target
27Toby#N/A#N/A#N/A#N/A
28Tom0ProbationProbationProbation
29TylerNear targetOn targetOn targetNear target
30
Sheet1
Cell Formulas
RangeFormula
J2:M29J2=INDEX($B$2:$E$21,MATCH($I2,$A$2:$A$21,0),MATCH(J$1,$B$1:$E$1,0))
Thanks, this works! And thank you for the quick reply.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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