Transposing data that is in a table, to columns

nathangwynmorris

New Member
Joined
Feb 23, 2022
Messages
11
Office Version
  1. 365
Platform
  1. MacOS
Hi All,

This has been annoying me for far too long now, I really need some help. If someone has a solution for excel and google sheets, I would really appreciate it.

In short, I have a list of the country, jobcode and the level (every eventuality) and then what I expect in column n is for it to concatenate the country, job code and level and then look at the table on the left and pull the value. I think it needs to be index match but I really cannot get my head around it.

Probably very simple to some, but yeah - I cannot do it. Thanks in advance as always!
 

Attachments

  • 1710766789607.png
    1710766789607.png
    232.5 KB · Views: 18
Another option.

Book1
ABCDEFGHIJKLMNOP
1012345678
2WA812309727618311134238235WA0
3WB480275147690723227347156WA1812
4WC604699618216926748258811432WA2309
5WD213178291425939379898232867WA3727
6WE737990918744523425695876105WA4618
7WF988633184677503551541486293WA5311
8WG452377303126394775699127861WA6134
9WH457962805560907487187970903WA7238
10WA8235
11012345678WB0480
12EK812309727618311134238235WB1275
13EL480275147690723227347156WB2147
14EM604699618216926748258811432WB3690
15EN213178291425939379898232867WB4
16EO737990918744523425695876105WB5723
17EP988633184677503551541486293WB6227
18EQ452377303126394775699127861WB7347
19ER123456789WB8156
20WC0604
21WC1699
Sheet1
Cell Formulas
RangeFormula
M2:P145M2=LET(t,TEXTSPLIT(TEXTJOIN(",",TRUE,TOCOL(A2:A19&"|"&B2:B19& "|" & C1:K1 &"|" &C2:K19)),"|",","),FILTER(t,CHOOSECOLS(t,1)<>""))
Dynamic array formulas.
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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