Hi,
I've just joined here in the hope that someone can help. My Excel skills are OK, but certainly nowhere near advanced! (I put "complex" in inverted commas as perhaps this is not at all complex to some of you!). Basically I want to know if the following is possible (I really hope it is!):
I have a spreadsheet with football (soccer) data from past seasons. It contains details of all the fixtures and a number of stats for each game.
An example of what I would like to be able to do: In column C we have the home teams listed. In column E we have the number of goals scored by the home team (in that match).
I'd like to create a formula that can do the following: search column C for all instances of a team (e.g. "Arsenal"), cross reference to column E for the values of home team goals scored in each of these instances. I'd then like excel to add these figures up (number of home team goals scored), and divide by the number of instances to create an average.
e.g. In my 2010/2011 season data Arsenal will be in column C 19 times (19 home games), let's say that in those 19 games the sum is 38, then divided by the 19 = average of 2.
Obviously I can do the simple bits of the formula but need a way to automate the process as above... otherwise it will take me forever to do manually and cannot then simply be applied across different columns.
Please tell me this is possible, and if so, how can I do it?
Thanks in advance.
Alex
Bookmarks