Hello,
I am creating a system where I need Google Docs version of Excel to find the maximum based on two criteria, tell me the address of the cell the formula found this number and then convert to the column header. Ideally, I'd be able to see that a student scored a 100 on learning goal on a quiz and then have the formula automatically report out what this student got the 100 on based on the column header and conversely if a student got a 0 on a learning goal, I'd be able to report out what was the minimum value of the student score. This way, I could generate a mail merge saying:
"John needs to work on ADDING FRACTIONS (minimum value), but is doing well on SUBTRACTING DECIMALS (maximum value)."
Right now, this is what I have:
=ARRAYFORMULA(INDEX(W11:GD11,MAX(IF($W$6:$GD$6&$W$7:$GD$7=P$8&P$9,$W11:$GD11,""))))
This is because student grades are in columns W(ROW):GD(ROW) and the subject is in row 6, test name in row 7. I type in the subject and test I want in P8 and P9. Based on this formula, I want the spreadsheet to find the maximum value within W11:GD11 based on the criteria found in P8 and P9 and then tell me the address of where this cell is. Finally, based on the address, I'd want the cell to report back the criteria heading in W7:GD7 (for example: ADDING FRACTIONS and SUBTRACTING DECIMALS).
Any help is appreciated!
I am creating a system where I need Google Docs version of Excel to find the maximum based on two criteria, tell me the address of the cell the formula found this number and then convert to the column header. Ideally, I'd be able to see that a student scored a 100 on learning goal on a quiz and then have the formula automatically report out what this student got the 100 on based on the column header and conversely if a student got a 0 on a learning goal, I'd be able to report out what was the minimum value of the student score. This way, I could generate a mail merge saying:
"John needs to work on ADDING FRACTIONS (minimum value), but is doing well on SUBTRACTING DECIMALS (maximum value)."
Right now, this is what I have:
=ARRAYFORMULA(INDEX(W11:GD11,MAX(IF($W$6:$GD$6&$W$7:$GD$7=P$8&P$9,$W11:$GD11,""))))
This is because student grades are in columns W(ROW):GD(ROW) and the subject is in row 6, test name in row 7. I type in the subject and test I want in P8 and P9. Based on this formula, I want the spreadsheet to find the maximum value within W11:GD11 based on the criteria found in P8 and P9 and then tell me the address of where this cell is. Finally, based on the address, I'd want the cell to report back the criteria heading in W7:GD7 (for example: ADDING FRACTIONS and SUBTRACTING DECIMALS).
Any help is appreciated!