Hi, I am new in this forum site, and having problems with an IF formula. I am wondering if such a formula may exist that would allow me to do the following. I have created an excel (2010) spreadsheet for horseracing that will allow me to rate every runner in a race out of 100. By copying and pasting data from an online formguide site, I have rated the last 3 races of every runner. Now I want to average each of those 3 runs. However I only want to average them if they are in the horse's current campaign.
So lets say that Column A has the rating figure/s for the horse/s third last start; Column B has the rating figure/s for the horse/s second last start and Column C, for the last start. I also have a Column D (details copied and pasted also) that tells me how many runs each horse has had, in its current campaign, it may say 4, 5, 3 or 7 etc. However if the horse is first up it will show "FU" and if the horse is second up (from a spell) it will show "SU".
What I would like is for Column E to show the average rating of the last 3 runs, providing the horse has had 3 runs in this campaign. Hence if the figure in Column D is 3 or more, I want Column E to show the average of Columns A, B and C. If the figure in Column D is 2, I want Column E to show the average of Columns B and C. If the figure in Column D is "SU", I just want Column E to show the rating in Column C. If the figure in Column D is "FU", then maybe Column E can just show that, "FU".
The final thing I would like is that if cells A, B and C are blank, say due to not having a runner there, then I would want say cell E2 to be also blank.
I hope you can follow this, Regards, Paul
Bookmarks