• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

I need help with sorting data

Big Bill

New Member
I have entered student answers from a 10 question assessment into a spreadsheet and I would like to know how many answers they have correct without correcting each sheet indidually. I have tried to create a SUM(IF) statement, but I'm only getting 1 or 0 for my totals. I have attached what I have so far. Help if you can, please.
 

Attachments

  • Sample.xlsx
    12.2 KB · Views: 11
Hi, Big Bill!
Try this array formula in M3:
=SUMA(SI(C3:L3=C$1:L$1;1;0)) -----> in english: =SUM(IF(C3:L3=C$1:L$1,1,0))
Remember that array formulas should be entered with Ctrl-Shift-Enter instead of just Enter.
Copy down as required.
Regards!
 
  • Like
Reactions: 3G
@3G
Hi!
I frequently quote Albert Einstein: "We are all very ignorant, what happens is that not all ignore the same things". And I firmly believe it.
Thanks for your nice words.
Regards!
 
Hi, krishnaraj!
I got these values, 1st column yours, 2nd column mines. Could you please check yours?
3 3
0 6
7 3
5 9
4 7
7 7
7 10
2 2
9 9
2 9
6 7
5 5
5 7
5 10
4 6
9 9
7 6
8 9
4 6
Regards!

EDITED

PS: Giving a quick look at your formulas, you missed fixing row 1 in the formulas, so the formula at C34 should be:
=CONTAR.SI(C3;C$1) -----> in english: =COUNTIF(C3,C$1)
instead of:
=CONTAR.SI(C3;C1) -----> in english: =COUNTIF(C3,C1)
Then it works.
 
Hi, Big Bill!
Glad you solved it. Thanks for your feedback and welcome back whenever needed or wanted.
Regards!
 
Back
Top