Match only those with maximum games

William53

New Member
Joined
Jul 8, 2017
Messages
38
Office Version
  1. 365
Platform
  1. Windows
Hi All
I have the following challenge.
I want to only count the players that have played more than 'N' games (say 5 for this example) in my average calculations from the table.
PlayerAll MatchesInstat IndexAvg IndexMinsAvg MinsShotsPassesAvg Pass Pass Completion% Pass CompletionChallengesAvg ChallengesChallenges Won% Challenges Won
Laws715712246399125027246893%75113952%
Wootton818242287739725166547692%5373362%
Payne715002145978513434929987%5483361%
Sutton818752347739755136445488%127166854%
Piscopo499024834085111664214487%54141324%
Rufer613932324978323606032089%87155260%
Lewis7159722864993145908452489%68103653%
Sotirio7150221555179191502111879%88132731%
Sandoval8181922769287223294125878%102133332%
Ball7158822763491171692414284%83123542%
Waine362320824080647163779%2791141%
Pennington24352181799041608014289%33171752%
Hooper11981989595224242083%99333%
McGarry12142146868151514486%1010770%
Fenton23992001959821326611386%31161445%
Surman1221221100100089898697%77343%
Old11941948989037373389%99333%





The formula below gives me the result from the whole table.

A League Scott Performance.xlsx
OP
32Avg Instat IndexPiscopo
33% Pass CompletionSurman
34% Challenges WonMcGarry
35Avg PassSurman
36Avg ChallengesPennington
All Players
Cell Formulas
RangeFormula
P32P32=INDEX(TeamStats[Player],MATCH(MAX(TeamStats[Avg Index]),TeamStats[Avg Index],0))
P33P33=INDEX(TeamStats[Player],MATCH(MAX(TeamStats[% Pass Completion]),TeamStats[% Pass Completion],0))
P34P34=INDEX(TeamStats[Player],MATCH(MAX(TeamStats[% Challenges Won]),TeamStats[% Challenges Won],0))
P35P35=INDEX(TeamStats[Player],MATCH(MAX(TeamStats[[Avg Pass ]]),TeamStats[[Avg Pass ]],0))
P36P36=INDEX(TeamStats[Player],MATCH(MAX(TeamStats[Avg Challenges]),TeamStats[Avg Challenges],0))



What do I need to add to the formula so that it only works out the max for players who have played more than 5 games?

Many thanks
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
How about
+Fluff 1.xlsm
OP
19
20Avg Instat IndexSutton
21% Pass CompletionLaws
22% Challenges WonWootton
23Avg PassLewis
24Avg ChallengesSutton
Main
Cell Formulas
RangeFormula
P20P20=INDEX(SORT(FILTER(TeamStats,TeamStats[All Matches]>5),4,-1),1,1)
P21P21=INDEX(SORT(FILTER(TeamStats,TeamStats[All Matches]>5),11,-1),1,1)
P22P22=INDEX(SORT(FILTER(TeamStats,TeamStats[All Matches]>5),15,-1),1,1)
P23P23=INDEX(SORT(FILTER(TeamStats,TeamStats[All Matches]>5),9,-1),1,1)
P24P24=INDEX(SORT(FILTER(TeamStats,TeamStats[All Matches]>5),13,-1),1,1)
 
Upvote 0
Solution
Thank you very much Fluff, appreciated, will study the formula to understand it but works perfectly.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,712
Messages
6,174,031
Members
452,542
Latest member
Bricklin

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