I'm trying to find a way to average all values into a single cell if the column contains a specific text for each one of the students.
Student A has - 6 values for SCI.5.1.A, that need to be averaged into a single cell.
- 4 values for SCI.5.1.B, that need to be averaged into another single cell.
- 4 values for SCI.5.2.A, that need to be averaged into another single cell.
and so on...
I need to do this for each one of the students.
BTW, the number of values for each column title will increase as the year progresses.
I've been trying to use AVERAGEIFS, with the column name (i.e. SCI.5.1.A) as criteria1, and student name as criteria2 but I'm not sure how I can define the range to be averaged, as the ranges to meet criteria are different...
I've made 2 sheets, "Turn this" is where all the data is located, and "Into this" is how I would like to see it.
@jtorrens A possible solution is demonstrated in the attached workbook. It dynamically determines the first and last column in your score listing. All you need to do is expand your summary as more courses are added. I've used a helper column in D to achieve this. Hide the column by pressing the group button at the top (and vice versa). Note that the blue shaded cells should remain empty to guarantee correct calculations.
Best Response confirmed by
jtorrens (New Contributor)