I'm trying to do something similar than this: https://exceljet.net/formula/score-quiz-answers-with-key
But it is not the same because I have different "points" for each question.
For example, correct answer for question 1 gives you 2 points, but correct answer for question 10 gives you 6 points.
I need to get the total of points for each student based on their answers and how many points each answer gives them.
This is the sheet with the answers and points:
Please try this formula. Paste to R5 (first result row) and copy down.
=SUMPRODUCT(--(B5:Q5=B$1:Q$1),B$3:Q$3)