Football Statistic Match Ratings (Average for Past 3 Games)

SWRevolution

New Member
Joined
Apr 30, 2018
Messages
1
I'm building out a database of Football statistics for the Football Teams I support, however an issue I have is that it is all automated, except for the average rating for the past three matches (Recent Form). At the moment I have to manually select the cells that would contribute to this statistic. I know how to average the last three cells of a range, however depending on where the player plays and the formation that is used, their name can end up in a different column match-on-match. Here's an example (For the sake of this example the cell with "Starting XI 1" is cell E2. Column A is the player names and Column B is the Number of Games Played and Column C is Recent Form. In Cell C2 (For "Lucas" the Formula I have is "=IFERROR(SUM(AD3, S4, AB5)/IF(B2<3, B2, 3),6)"

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Starting XI 1
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 2
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 3
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 4
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 5
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 6
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 7
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 8
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 9
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 10
[/TD]
[TD]Rating
[/TD]
[TD]Starting XI 11
[/TD]
[TD]Rating
[/TD]
[TD]Sub 1
[/TD]
[TD]Rating
[/TD]
[TD]Sub 2
[/TD]
[TD]Rating
[/TD]
[TD]Sub 3
[/TD]
[TD]Rating
[/TD]
[/TR]
[TR]
[TD]Lloris
[/TD]
[TD]5.4
[/TD]
[TD]Trippier
[/TD]
[TD]6.6
[/TD]
[TD]Sánchez
[/TD]
[TD]6.6
[/TD]
[TD]Vertonghen
[/TD]
[TD]7.3
[/TD]
[TD]Davies
[/TD]
[TD]6.9
[/TD]
[TD]Dembélé
[/TD]
[TD]7.1
[/TD]
[TD]Dier
[/TD]
[TD]7.1
[/TD]
[TD]Lamela
[/TD]
[TD]6.4
[/TD]
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help would be much appreciated!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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