Matrix visual and compare values

boehnc

Board Regular
Joined
Mar 26, 2002
Messages
65
Hello all,

I have the below in a Matrix visual. I'd like to add another column in the visual that would compare the "Score" to the %ile columns to give me the correct value.
For example, Team A's score is 0.75. This is more than 0.65 but less than 0.76 so it should be in the 25th %ile. Team B is in the 10th %ile and so forth. Thanks for any help.



Team Score 10th %ile 25th %ile 50th %ile 75th %ile 90th %ile
A 0.75 0.5 0.65 0.76 0.95 0.99
B 0.52 0.45 0.55 0.65 0.85 0.93
C 0.56 0.42 0.57 0.69 0.75 0.84
D 0.91 0.65 0.79 0.89 0.93 0.99
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
There's probably a more elegant solution, but I had fun.:biggrin:

ABCDEFGH
Team Score10th %ile25th %ile50th %ile75th %ile90th %ileResult
A0.750.50.650.760.950.9925th %ile
B0.520.450.550.650.850.9310th %ile
C0.560.420.570.690.750.8410th %ile
D0.910.650.790.890.930.9950th %ile

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]

[TD="align: center"]3[/TD]

[TD="align: center"]4[/TD]

[TD="align: center"]5[/TD]

</tbody>
Sheet1

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]H2[/TH]
[TD="align: left"]=IF(AND(B2>=C2,B2<D2),$C$1,IF(AND(B2>=D2,B2<E2),$D$1,IF(AND(B2>=E2,B2<F2),$E$1,IF(AND(B2>=F2,B2<G2),$F$1,G2))))[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]H3[/TH]
[TD="align: left"]=IF(AND(B3>=C3,B3<D3),$C$1,IF(AND(B3>=D3,B3<E3),$D$1,IF(AND(B3>=E3,B3<F3),$E$1,IF(AND(B3>=F3,B3<G3),$F$1,G3))))[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]H4[/TH]
[TD="align: left"]=IF(AND(B4>=C4,B4<D4),$C$1,IF(AND(B4>=D4,B4<E4),$D$1,IF(AND(B4>=E4,B4<F4),$E$1,IF(AND(B4>=F4,B4<G4),$F$1,G4))))[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]H5[/TH]
[TD="align: left"]=IF(AND(B5>=C5,B5<D5),$C$1,IF(AND(B5>=D5,B5<E5),$D$1,IF(AND(B5>=E5,B5<F5),$E$1,IF(AND(B5>=F5,B5<G5),$F$1,G5))))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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