Index, Match w/ Lookup

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
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

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
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)),"")
 
Upvote 0
Solution
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.
 
Upvote 0

Forum statistics

Threads
1,213,549
Messages
6,114,261
Members
448,558
Latest member
aivin

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