Index, Match and Transpose Results

andersen_yunan

New Member
Joined
Feb 7, 2018
Messages
36
Hi, so I got this raw data

NameCountScore
Andrew598997682
Christine25688
Randall582888276
Kylie554666377

<colgroup><col width="64" style="width:48pt" span="6"> </colgroup><tbody>
</tbody>

and I want to make it like this (the name will have drop down list which would automatically change the result if I choose different name of people)
Andrew
98
99
76
82

<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>

Is there any excel formula that I could use to meet the results? I'm thinking of using index, match and transpose but couldn't find better way to solve this
Thanks in advance!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Shouldn't the values in column B (Count) be 4; 2; 4; 4 instead of 5; 2; 5; 5?

If so, try


A
B
C
D
E
F
1
Name​
Count​
Score​
2
Andrew​
4​
98​
99​
76​
82​
3
Christine​
2​
56​
88​
4
Randall​
4​
82​
88​
82​
76​
5
Kylie​
4​
54​
66​
63​
77​
6
7
8
Andrew​
9
98​
10
99​
11
76​
12
82​
13

Array formula in A9 copied down
=IF(INDEX(B$2:B$5,MATCH(A$8,A$2:A$5,0))>=ROWS(A$9:A9),INDEX(INDEX(C$2:F$5,MATCH(A$8,A$2:A$5,0),0),ROWS(A$9:A9)),"")
Ctrl+Shift+Enter

Hope this helps

M.
 
Upvote 0

Excel 2010
ABCDEF
1NameCountScore
2Andrew598997682
3Christine25688
4Randall582888276
5Kylie554666377
6
7
8Andrew
998
1099
1176
1282
Sheet7
Cell Formulas
RangeFormula
A9:A12{=INDEX(TRANSPOSE($C$2:$F$5),,MATCH($A$8,$A$2:$A$5,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0
This gets rid of the 0s:

=OFFSET(INDEX($C$2:$C$5,MATCH($A$8,$A$2:$A$5,0)),0,ROW(A1)-1)&""

but it is a good idea to wait for him to respond (and explain the count of 5 instead of 4)
 
Upvote 0

Forum statistics

Threads
1,214,383
Messages
6,119,198
Members
448,874
Latest member
Lancelots

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