# Index, Match w/ Lookup

#### gtd526

##### Active Member
Hello,
Im looking to show Teams (A2) that are >= 65% (D2), then Match the Team (F2) that Matches the given percentage (G2).
What I have is not correct. Thank you.

NBA.xlsm
ABCDEFG
1TeamWLW%Teams >65% = W%
2MIL61430%SAC79%
3LAC6746%NYK67%
4LAL4.56.541%UTA78%
5TOR6650%MEM69%
6BOS6460%#N/A#N/A
7DAL3350%#N/A#N/A
8HOU2529%
9UTA11569%
10MIA4450%
11OKC2529%
12DEN6650%
13PHI3.53.550%
14IND2625%
15PHX11858%
16NO5363%
17POR2529%
18SAN1614%
19MEM7278%
20BRK11858%
21ORL5363%
22SAC4267%
23MIN2433%
24CHI3538%
25DET4357%
26WAS4640%
27NYK5.51.579%
28CHA10567%
29ATL5550%
30CLE3443%
31GS5645%
Sheet2
Cell Formulas
RangeFormula
F2:F7F2=INDEX(\$A\$2:\$A\$31,MATCH(\$G2,\$D\$2:\$D\$31,0))
G2:G7G2=LOOKUP(2, 1/((COUNTIF(\$G\$2:G2,\$D\$2:\$D\$31)=0)*(\$D\$2:\$D\$31>0.65)),\$D\$2:\$D\$31)

### Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

#### jasonb75

##### Well-known Member
Is this what you want?
Book1
ABCDEFG
1TeamWLW%Teams >65% = W%
2MIL61430%NYK79%
3LAC6746%MEM78%
4LAL4.56.541%UTA69%
5TOR6650%SAC67%
6BOS6460%CHA67%
7DAL3350%
8HOU2529%
9UTA11569%
10MIA4450%
11OKC2529%
12DEN6650%
13PHI3.53.550%
14IND2625%
15PHX11858%
16NO5363%
17POR2529%
18SAN1614%
19MEM7278%
20BRK11858%
21ORL5363%
22SAC4267%
23MIN2433%
24CHI3538%
25DET4357%
26WAS4640%
27NYK5.51.579%
28CHA10567%
29ATL5550%
30CLE3443%
31GS5645%
Sheet3
Cell Formulas
RangeFormula
F2:F7F2=IFERROR(INDEX(\$A:\$A,AGGREGATE(15,6,ROW(\$D\$2:\$D\$31)/(\$D\$2:\$D\$31=G2),COUNTIF(G\$2:G2,G2))),"")
G2:G7G2=IFERROR(AGGREGATE(14,6,\$D\$2:\$D\$31/(\$D\$2:\$D\$31>=65%),ROWS(G\$2:G2)),"")

#### gtd526

##### Active Member
Is this what you want?
Book1
ABCDEFG
1TeamWLW%Teams >65% = W%
2MIL61430%NYK79%
3LAC6746%MEM78%
4LAL4.56.541%UTA69%
5TOR6650%SAC67%
6BOS6460%CHA67%
7DAL3350%
8HOU2529%
9UTA11569%
10MIA4450%
11OKC2529%
12DEN6650%
13PHI3.53.550%
14IND2625%
15PHX11858%
16NO5363%
17POR2529%
18SAN1614%
19MEM7278%
20BRK11858%
21ORL5363%
22SAC4267%
23MIN2433%
24CHI3538%
25DET4357%
26WAS4640%
27NYK5.51.579%
28CHA10567%
29ATL5550%
30CLE3443%
31GS5645%
Sheet3
Cell Formulas
RangeFormula
F2:F7F2=IFERROR(INDEX(\$A:\$A,AGGREGATE(15,6,ROW(\$D\$2:\$D\$31)/(\$D\$2:\$D\$31=G2),COUNTIF(G\$2:G2,G2))),"")
G2:G7G2=IFERROR(AGGREGATE(14,6,\$D\$2:\$D\$31/(\$D\$2:\$D\$31>=65%),ROWS(G\$2:G2)),"")
Perfect. Thank you.

Replies
13
Views
498
Replies
10
Views
535
Replies
6
Views
191
Replies
0
Views
92
Replies
2
Views
73

1,141,204
Messages
5,704,952
Members
421,372
Latest member
Jamie11

### 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.

### Which adblocker are you using?

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

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