Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Excel 2016 formula to calculate a score with coefficients

This may seem easy, but I can’t find the formula to calculate the total score of a student in the table shown below.

Image here

I tried to put something like this :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

=SUMPRODUCT((B6:T6="X");B5:T5)

(I first removed the word "POINTS" in cells B5 to T5 in order to keep only the numerical coefficients).

It seems like the part (B6:T6="X") doesn’t return a matrix as I want it to. In Excel 2019, I heard this is called "Spilling", but my computer only has Excel 2016 and I’m looking for another solution.

Thanks for your time!

>Solution :

Close, but you need to do the — trick to convert the Trues and Falses into 1s and 0s! Try this

=SUMPRODUCT(–(B6:T6="x"),$B$5:$T$5)

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading