简体   繁体   中英

Auto calculation of number of students passing and failing the test using excel sheet

I have an excel sheet, In that, I need to calculate how many students are passing and how many are failing the exams.

Let us assume I have 30 Questions that means 30 columns and 200 students means 200 rows. 60% is the minimum criteria for passing the exams.

I have another sheet which holds the Answer key along with the question that holds 30 columns for 30 Questions and 1 row for all the answers.

I need the number of students who are through to the exam.

Example: The students are given multiple choice questions and here the following data is achieved after the conduction of exam in excel sheet:

RolNo---Q1------Q2------Q3------Q4----Q5

101-----abc---pqr--xyz---uif---lkm

102-----rft---pqr--bgh---uif---wer

103-----rft---pqr--bgh---uif---wer

104-----abc---pqr--bgh---uif---wer

105-----rft---pqr--bgh---uif---wer

Now we have another sheet which holds the answer

Answer key sheet :

Q1------Q2------Q3------Q4----Q5

abc-----pqr------xyz------uif----wer

Note

4 marks for each question right.

-1 negative marking for incorrect answer.

0 for leaving the question that means no negative marking.

60% is the minimum criteria for passing the exams

I want all the calculations to occur in the sheet and I can get the details how many are passing and failing. Thanks in advance!

If we assume:

  1. You have 3 worksheets sheet 1 of questions, sheet 2 of answer, and a results sheet
  2. And we assume the Exam correct answer to first question is on the answers sheet in a2 and progresses to b2, b3 etc...
  3. and we assume the student answers is on the questions sheet and start in A2 with the ID and B2 fir the first answer... then the following formula would work..

Note For A2 I just selected the 1st student ID and then filled down and then used the formula for B-end of questions.

=IF(Question!B2="",0,IF(Question!B2=Answers!A$2,4,-1)) \\

This formula basically states if the answer is blank use a 0 if the student answer matches the actual answer then 4, otherwise put a -1.

在此处输入图片说明 在此处输入图片说明

note that column G is the sum of BF在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM