Different score depending on check box?

Viewed 37
1 Answers

Checking if the cell/checkbox is checked is simply : =if(cell; valueIfTrue; valueIfFalse)

Score in D11 should SUM the grades values of :

  • the 1st semester if D14 is checked (D2/D3)
  • the 2nd semester if D15 is checked (D4/D5)
  • the 3rd semester if D16 is checked (D6/D7)

And of course all 3 semester if all are checked.

Problematic

Formula

= SUM(if(D14;ARRAYFORMULA(IFERROR(VLOOKUP(D2:D3; F2:G7; 2; 0)));0);if(D15;ARRAYFORMULA(IFERROR(VLOOKUP(D4:D5; F2:G7; 2; 0)));0);if(D16;ARRAYFORMULA(IFERROR(VLOOKUP(D6:D7; F2:G7; 2; 0)));0))
Related