Trying to rank data based on certain criteria

dw300

New Member
Joined
Feb 24, 2016
Messages
8
I am statistician for football team. I have created a list of team stats for the entire team, but am wanting to create separate lists for individual categories such as rushing and receiving, but only include those individual players with at least one attempt. The following is a sample from the team list for rushing yards.

[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]Player Name[/TD]
[TD]Attempts[/TD]
[TD]Yards[/TD]
[TD]Average[/TD]
[TD]Touchdowns[/TD]
[TD]Longest Rush[/TD]
[/TR]
[TR]
[TD="align: center"]Player A[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]2.7[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]8[/TD]
[/TR]
[TR]
[TD="align: center"]Player B[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]185[/TD]
[TD="align: center"]7.1[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]27[/TD]
[/TR]
[TR]
[TD="align: center"]Player C[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]62[/TD]
[TD="align: center"]31.0[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]52[/TD]
[/TR]
[TR]
[TD="align: center"]Player D[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]5[/TD]
[/TR]
[TR]
[TD="align: center"]Player E[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]Player F[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]216[/TD]
[TD="align: center"]8.3[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]29[/TD]
[/TR]
[TR]
[TD="align: center"]Player G[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]-2[/TD]
[TD="align: center"]-1[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]Player H[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]Player I[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]5[/TD]
[/TR]
</tbody>[/TABLE]















To create a list to Rank them by Yards I have tried the following.

cell B12: =IFERROR(LARGE($C$2:$C$10,ROW(1:1)),"")
cell B13: =IFERROR(LARGE($C$2:$C$10,ROW(2:2)),"") ect. Through cell B20.

cell A12: {=IF(LEN(B12),INDEX($A$2:$A$10,SMALL(IF($C$2:$C$10=B12,ROW($1:$9)),COUNTIF(B$12:B12,B12))),"")}
Through cell A20.

RESULT:
[TABLE="width: 200"]
<tbody>[TR]
[TD]Player F[/TD]
[TD="align: right"]216[/TD]
[/TR]
[TR]
[TD]Player B[/TD]
[TD="align: right"]185[/TD]
[/TR]
[TR]
[TD]Player C[/TD]
[TD="align: right"]62[/TD]
[/TR]
[TR]
[TD]Player A[/TD]
[TD="align: right"]24[/TD]
[/TR]
[TR]
[TD]Player D[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD]Player I[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Player E[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Player H[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Player G[/TD]
[TD="align: right"]-2[/TD]
[/TR]
</tbody>[/TABLE]

IS there a way, in which the condition, ATTEMPTS (B2:B10) must be greater than zero, can be added to the formula's in A12:B20 to remove Player E and Player H from the result? (only include players with at least 1 attempt in the result)
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try this in B12:

=IFERROR(LARGE(IF($B$2:$B$10>0,$C$2:$C$10),ROW(1:1)),"")

confirmed with Control+Shift+Enter, and drag down.
 
Upvote 0
Thank you Eric for the reply. Your answer worked for the for A12 and B12 and down through A20 and B20... removing Player E and Player H from the result. However, a new issue has come up if I edit my original table to show Player H with the following.

<colgroup><col width="91" span="6"></colgroup><tbody>
[TD="class: xl65, width: 91"]Player H[/TD]
[TD="class: xl65, width: 91"]1[/TD]
[TD="class: xl65, width: 91"]0[/TD]
[TD="class: xl65, width: 91"]0[/TD]
[TD="class: xl65, width: 91"]0[/TD]
[TD="class: xl65, width: 91"]0[/TD]

</tbody>

He now has 1 attempt, but still for zero yards. He should now be included in the result. When I start with B12 and drag the formula, it includes the zero in B18. Player E still has zero attempts/yards and is still not included in column B. However, for column A, instead of showing Player H in cell A18 it returns Player E, because it is the first result matching the zero yards in the original table. Need to add a condition to A12 and down to return only results with at least 1 attempt to match the result in Column B12 to B20.
{=IF(LEN(B12),INDEX($A$2:$A$10,SMALL(IF($C$2:$C$10=B12,ROW($1:$9)),COUNTIF(B$12:B12,B12))),"")}
{=IF(LEN(B18),INDEX($A$2:$A$10,SMALL(IF($C$2:$C$10=B18,ROW($1:$9)),COUNTIF(B$12:B18,B18))),"")}

RESULT:
[TABLE="class: cms_table"]
<tbody>[TR]
[TD][/TD]
[TD="align: right"]

<colgroup><col style="mso-width-source:userset;mso-width-alt:3328; width:68pt" width="91" span="2"> </colgroup><tbody>
[TD="class: xl63, width: 91"]Player F[/TD]
[TD="width: 91, align: right"]216[/TD]

[TD="class: xl63"]Player B[/TD]
[TD="align: right"]185[/TD]

[TD="class: xl63"]Player C[/TD]
[TD="align: right"]62[/TD]

[TD="class: xl63"]Player A[/TD]
[TD="align: right"]24[/TD]

[TD="class: xl63"]Player D[/TD]
[TD="align: right"]12[/TD]

[TD="class: xl63"]Player I[/TD]
[TD="align: right"]5[/TD]

[TD="class: xl63"]Player E[/TD]
[TD="align: right"]0[/TD]

[TD="class: xl63"]Player G[/TD]
[TD="align: right"]-2[/TD]

</tbody>
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Player E, should be Player H.

Thanks in advance.
[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
B12:

=IF(LEN(B12),INDEX($A$2:$A$10,SMALL(IF(($C$2:$C$10=B12)*($B$2:$B$10>0),ROW($1:$9)),COUNTIF(B$12:B12,B12))),"")

with Control+Shift+Enter.
 
Upvote 0
Again, Thank you Eric.
So far this is working as needed, but would like to add one more condition, if possible. IF I revise the original table to the following (below)... in which player C and player H each have the same amount for "YARDS". Would now show the result for "Player Name" in A12, "Attempts" in B12, and "Yards" in C12 and drag all down to row 20. In the current form, the formula would find Player C and list him first (row 14) and then Player H next (row 15). Can the formula's in A12 and B12 be revised to show the player with more attempts listed first in the resulting list? Therefore, Player H would be shown ahead of Player C.

(A12) =IF(LEN(C12),INDEX($A$2:$A$10,SMALL(IF(($C$2:$C$10=C12)*($B$2:$B$10>0),ROW($1:$9)),COUNTIF(C$12:C12,C12))),"")
(B12) =IF(LEN(C12),INDEX($B$2:$B$10,SMALL(IF(($C$2:$C$10=C12)*($B$2:$B$10>0),ROW($1:$9)),COUNTIF(C$12:C12,C12))),"")
(C12) =IFERROR(LARGE(IF($B$2:$B$10>0,$C$2:$C$10),ROW(1:1)),"")

[TABLE="class: cms_table, align: left"]
<tbody>[TR]
[TD="align: center"]Player Name[/TD]
[TD]Attempts[/TD]
[TD]Yards[/TD]
[TD]Average[/TD]
[TD]Touchdowns[/TD]
[TD]Longest Rush[/TD]
[/TR]
[TR]
[TD="align: center"]Player A[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]2.7[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]8[/TD]
[/TR]
[TR]
[TD="align: center"]Player B[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]185[/TD]
[TD="align: center"]7.1[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]27[/TD]
[/TR]
[TR]
[TD="align: center"]Player C[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]62[/TD]
[TD="align: center"]31.0[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]52[/TD]
[/TR]
[TR]
[TD="align: center"]Player D[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]5[/TD]
[/TR]
[TR]
[TD="align: center"]Player E[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]Player F[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]216[/TD]
[TD="align: center"]8.3[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]29[/TD]
[/TR]
[TR]
[TD="align: center"]Player G[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]-2[/TD]
[TD="align: center"]-1[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]Player H[/TD]
[TD="align: center"]10
[/TD]
[TD="align: center"]62
[/TD]
[TD="align: center"]6.2
[/TD]
[TD="align: center"]0
[/TD]
[TD="align: center"]22
[/TD]
[/TR]
[TR]
[TD="align: center"]Player I
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]5
[/TD]
[TD="align: center"]5
[/TD]
[TD="align: center"]0
[/TD]
[TD="align: center"]5
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Try this:

ABCDEFG
Player F
Player B
Player H
Player C
Player A
Player D
Player I
Player G

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Attempts[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Yards[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Average[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Touchdowns[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Longest Rush[/TD]
[TD="align: right"][/TD]

[TD="align: center"]2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player A[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]9[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]24[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]2.7[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]8[/TD]
[TD="align: right"][/TD]

[TD="align: center"]3[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player B[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]26[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]185[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]7.1[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]6[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]27[/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player C[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]62[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]31.0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]52[/TD]
[TD="align: right"][/TD]

[TD="align: center"]5[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player D[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]4[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]12[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]3.0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]5[/TD]
[TD="align: right"][/TD]

[TD="align: center"]6[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player E[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]#DIV/0![/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="align: right"][/TD]

[TD="align: center"]7[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player F[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]26[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]216[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]8.3[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]1[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]29[/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player G[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]-2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]-1.0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]1[/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player H[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]10[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]62[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]6.2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]22[/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]Player I[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]1[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]5[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]5.0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: center"]5[/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

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

[TD="align: right"]26[/TD]
[TD="align: right"]216[/TD]
[TD="align: right"]8.3[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]7[/TD]

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

[TD="align: right"]26[/TD]
[TD="align: right"]185[/TD]
[TD="align: right"]7.1[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]3[/TD]

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

[TD="align: right"]10[/TD]
[TD="align: right"]62[/TD]
[TD="align: right"]6.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]9[/TD]

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

[TD="align: right"]2[/TD]
[TD="align: right"]62[/TD]
[TD="align: right"]31.0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]4[/TD]

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

[TD="align: right"]9[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]2.7[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]2[/TD]

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

[TD="align: right"]4[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]3.0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]

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

[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5.0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]10[/TD]

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

[TD="align: right"]2[/TD]
[TD="align: right"]-2[/TD]
[TD="align: right"]-1.0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8[/TD]

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

</tbody>
Sheet2

[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] "]A12[/TH]
[TD="align: left"]=IF($G12="","",INDEX(A:A,$G12))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Array 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] "]G12[/TH]
[TD="align: left"]{=IFERROR(MOD(LARGE(IF($B$2:$B$10>0,$C$2:$C$10*10000+$B$2:$B$10+ROW($B$2:$B$10)/100),ROWS($G$12:$G12)),1)*100,"")}[/TD]
[/TR]
</tbody>[/TABLE]
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself[/TD]
[/TR]
</tbody>[/TABLE]



When I need to pull multiple columns from a table, it's usually better to have one column have a formula that returns the row number matching the right row. This means you only need 1 calculation-intensive array formula instead of several. Then just use INDEX for the other columns. Copy B12 over to F, and down as far as needed.

You might also consider just sorting the table, or copying it somewhere and sorting it. If you sort by yards, then attempts, you should get the same results.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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