index/match to show high number to low number

njlevi49

Board Regular
Joined
Sep 20, 2009
Messages
51
In column b I use =INDEX($E$3:$E$21,MATCH(C3,$F$3:$F$21,0)) and column c I use =LARGE($F$3:$F$21,ROW(F2)) as you see if the numbers are the same it pulls the first set of name in the e column and their are someof the name missing. I am trying to match the names in column b with numbers in column c all data pulled from columns e and f. Any ideas on how to resolve to make this work. Thanks

ABCDEF
1Team RankingPointsTeam RankingPoints
214 Milnamow/Batcheider18.51 Isbister/Howe15
36 Emeott/Hahn182 Fitch/Poet7
48 Budd/Rudnick163 Hanlon/Dougherty2
51 Isbister/Howe154 Ponkey/Levi20
618 Conway/Daughtery145 Raukar/Itami4
716 Barker/Supron136 Emeott/Hahn18
89 Friedrichs/Dennis127 Grodzicki/Campau6
911 Patterson/Dattilo118 Budd/Rudnick16
1011 Patterson/Dattilo119 Friedrichs/Dennis12
1110 Gohl/Thompson1010 Gohl/Thompson10
1215 Thomas/Coates911 Patterson/Dattilo11
1317 Curry/Karoub812 Grodzicki/Scott11
142 Fitch/Poet713 Hiller/Mudie4
157 Grodzicki/Campau614 Milnamow/Batcheider18.5
165 Raukar/Itami415 Thomas/Coates9
175 Raukar/Itami416 Barker/Supron13
183 Hanlon/Dougherty217 Curry/Karoub8
193 Hanlon/Dougherty218 Conway/Daughtery14

<colgroup><col style="width: 19pt; mso-width-source: userset; mso-width-alt: 914;" width="25"> <col style="width: 147pt; mso-width-source: userset; mso-width-alt: 7168;" width="196"> <col style="width: 35pt; mso-width-source: userset; mso-width-alt: 1682;" width="46"> <col style="width: 48pt;" width="64"> <col style="width: 143pt; mso-width-source: userset; mso-width-alt: 6948;" width="190"> <col style="width: 35pt; mso-width-source: userset; mso-width-alt: 1682;" width="46"> <tbody>
</tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi

Under B, you have 2 entries for 11 Patterson/Dattilo, but that name only appears once under E?
 
Upvote 0
yes that is true and I am trying to figure how to write the formula to pull the correct name with the correct number, the formula is pulling the first name that matches the number. you will notice that under column e 12 Grodzicki/Scott has the same number 11 I cannot figure how to write the formula to match both names.
 
Upvote 0
Try this small modification:

=INDEX($E$2:$E$20,MATCH(C2,$F$2:$F$20,0) + COUNTIF($C$2:C2, C2) - 1)
 
Upvote 0
try this...

add a helper column in G and use this, copied down...
=IF(COUNTIF($F$2:F2,F2)>1,F2+(COUNTIF($F$2:F2,F2)/100),F2)

then use this C, copied down...
=LARGE($G$2:$G$19,ROW(A1))
 
Upvote 0
Hello

If you can add an helper column, try this.
Excel Workbook
BCDEFG
1Team RankingPointsTeam RankingPoints
23 Hanlon/Dougherty181 Isbister/Howe155
313 Hiller/Mudie172 Fitch/Poet714
45 Raukar/Itami163 Hanlon/Dougherty218
57 Grodzicki/Campau154 Ponkey/Levi201
62 Fitch/Poet145 Raukar/Itami416
717 Curry/Karoub136 Emeott/Hahn183
815 Thomas/Coates127 Grodzicki/Campau615
910 Gohl/Thompson118 Budd/Rudnick164
1012 Grodzicki/Scott109 Friedrichs/Dennis128
1111 Patterson/Dattilo910 Gohl/Thompson1011
129 Friedrichs/Dennis811 Patterson/Dattilo119
1316 Barker/Supron712 Grodzicki/Scott1110
1418 Conway/Daughtery613 Hiller/Mudie417
151 Isbister/Howe514 Milnamow/Batcheider18.52
168 Budd/Rudnick415 Thomas/Coates912
176 Emeott/Hahn316 Barker/Supron137
1814 Milnamow/Batcheider217 Curry/Karoub813
194 Ponkey/Levi118 Conway/Daughtery146
Sheet1
Excel 2010
Cell Formulas
RangeFormula
B2=INDEX($E$2:$E$20,MATCH(C2,$G$2:$G$20,0))
C2=LARGE($G$2:$G$19,ROW(G2)-1)
G2=RANK(F2,$F$2:$F$19)+COUNTIF(F$2:F2,F2)-1
 
Upvote 0
Checked my answer and it wasn't actually working :rolleyes:

So this small adjustment:

Add a helper column in G with this formula
=RANK(F3,$F$3:$F$20) + COUNTIF($F$3:F3, F3) - 1

Then in B use:
=INDEX($E$3:$E$21,MATCH(ROW(B1),$G$3:$G$21,0))

And in C use:
=INDEX($F$3:$F$21, MATCH(ROW(C1), $G$3:$G$21, 0))

Hope this helps!
 
Upvote 0
I used =INDEX($E$2:$E$20,MATCH(C2,$F$2:$F$20,0) + COUNTIF($C$2:C2, C2) - 1) but I still get duplicates. Column D and E are the raw data that I use to get the data into Columns A and B. The other formulas creating a helper column is giving me ranking which I am not looking for ranking. I need to pull from column e and populate the LARGEST number at the top and match that names with those numbers. What would cause the duplicates and leavel out names. Column A8 should read
6 Emeott/Hahn14.0

<tbody>
</tbody>



ABCDE
1Team RankingPoints Team RankingPoints
218 Conway/Daughtery20 1 Isbister/Howe18.0
31 Isbister/Howe18 2 Fitch/Poet17.0
42 Fitch/Poet17 3 Hanlon/Dougherty16.0
53 Hanlon/Dougherty16 4 Ponkey/Levi15.0
64 Ponkey/Levi15 5 Raukar/Itami14.0
75 Raukar/Itami14 6 Emeott/Hahn14.0
85 Raukar/Itami14 7 Grodzicki/Campau12.0
97 Grodzicki/Campau12 8 Budd/Rudnick11.0
108 Budd/Rudnick11 9 Friedrichs/Dennis10.0
119 Friedrichs/Dennis10 10 Gohl/Thompson9.0
1210 Gohl/Thompson9 11 Patterson/Dattilo8.0
1311 Patterson/Dattilo8 12 Grodzicki/Scott7.0
1412 Grodzicki/Scott7 13 Hiller/Mudie6.0
1513 Hiller/Mudie6 14 Milnamow/Batcheider5.0
1614 Milnamow/Batcheider5 15 Thomas/Coates4.0
1715 Thomas/Coates4 16 Barker/Supron3.0
1816 Barker/Supron3 17 Curry/Karoub2.0
1917 Curry/Karoub2 18 Conway/Daughtery20.0
Raw data pulled from other parts of sheet

<colgroup><col style="width: 17pt; mso-width-source: userset; mso-width-alt: 824;" width="23"> <col style="width: 126pt; mso-width-source: userset; mso-width-alt: 5973;" width="168"> <col style="width: 48pt;" span="2" width="64"> <col style="width: 130pt; mso-width-source: userset; mso-width-alt: 6172;" width="174"> <col style="width: 48pt;" width="64"> <tbody>
</tbody>
 
Upvote 0
We understand this is what you want, but in order to show the points highest to lowest you need to use RANK at least somewhere. Try the formulas I posted in post #7, just above your last post.

What this is does is use Column G to get the ranks of the points and then convert these ranks back to points in Column B. Therefore it is the actual points values that appear in column B not the ranks.

Hope this helps!
 
Upvote 0
Hello again

As you don't object to helper columns, try this with two.
Excel Workbook
ABCDEFG
1Team RankingPointsTeam RankingPoints
24 Ponkey/Levi201 Isbister/Howe151418
314 Milnamow/Batcheider18.52 Fitch/Poet7517
46 Emeott/Hahn183 Hanlon/Dougherty2116
58 Budd/Rudnick164 Ponkey/Levi201815
61 Isbister/Howe155 Raukar/Itami4214
718 Conway/Daughtery146 Emeott/Hahn181613
816 Barker/Supron137 Grodzicki/Campau6412
99 Friedrichs/Dennis128 Budd/Rudnick161511
1012 Grodzicki/Scott119 Friedrichs/Dennis121110
1111 Patterson/Dattilo1110 Gohl/Thompson1089
1210 Gohl/Thompson1011 Patterson/Dattilo1198
1315 Thomas/Coates912 Grodzicki/Scott11107
1417 Curry/Karoub813 Hiller/Mudie436
152 Fitch/Poet714 Milnamow/Batcheider18.5175
167 Grodzicki/Campau615 Thomas/Coates974
1713 Hiller/Mudie416 Barker/Supron13123
185 Raukar/Itami417 Curry/Karoub862
193 Hanlon/Dougherty218 Conway/Daughtery14131
Sheet1
Excel 2010
Cell Formulas
RangeFormula
A2=INDEX($D$2:$D$19,MATCH(G2,$F$2:$F$19,0))
B2=INDEX($E$2:$E$19,MATCH(A2,$D$2:$D$19,0))
F2=RANK(E2,$E$2:$E$19,1)+COUNTIF(E$2:E2,E2)-1
G2=LARGE($F$2:$F$19,ROWS(F$2:F2))
 
Upvote 0

Forum statistics

Threads
1,215,312
Messages
6,124,197
Members
449,147
Latest member
sweetkt327

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