I am trying to create a formula to calculate an average in a fairly large spreadsheet that I cannot seem to do either with AverageIF, AverageIFS or Vlookups.
I have copied a sample S/Sheet to try and indicate the problem.
I need to average the Column "Rating" based upon certain criteria.
Column "H Value" needs to be a specific number, say 8 in this case.
Column "D Value" is then any value when Column "H Value" equals 8.
I then need to look up any of the values from column "D Value" where Column "H Value" equals 8 in Column "M Value" and take the average of their corresponding values in Column "Rating".
In this case I need to average cells (the number is the row)Rating 3,Rating 10,Rating 11,Rating 13,Rating 14,Rating 16 and Rating17.
I hope I have made myself clear.
Many thanks for any attempts at assistance.
H Value D Value M Value Rating
1 16 14 138
1 14 19 128
2 15 11 113
3 15 16 140
4 12 11 173
4 17 15 137
4 19 16 178
5 17 12 161
5 14 18 101
6 14 16 156
7 19 12 200
7 12 14 184
8 14 11 115
8 12 13 137
8 18 14 194
8 13 17 104
9 13 19 114
I have copied a sample S/Sheet to try and indicate the problem.
I need to average the Column "Rating" based upon certain criteria.
Column "H Value" needs to be a specific number, say 8 in this case.
Column "D Value" is then any value when Column "H Value" equals 8.
I then need to look up any of the values from column "D Value" where Column "H Value" equals 8 in Column "M Value" and take the average of their corresponding values in Column "Rating".
In this case I need to average cells (the number is the row)Rating 3,Rating 10,Rating 11,Rating 13,Rating 14,Rating 16 and Rating17.
I hope I have made myself clear.
Many thanks for any attempts at assistance.
H Value D Value M Value Rating
1 16 14 138
1 14 19 128
2 15 11 113
3 15 16 140
4 12 11 173
4 17 15 137
4 19 16 178
5 17 12 161
5 14 18 101
6 14 16 156
7 19 12 200
7 12 14 184
8 14 11 115
8 12 13 137
8 18 14 194
8 13 17 104
9 13 19 114