• Calculate score correct out of total (WinXP XL2002)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Calculate score correct out of total (WinXP XL2002)

    Author
    Topic
    #425843

    I am scoring student marks for an exam, and need a formula to calculate the score. Each of 20 questions is either correct or incorrect, so the cells contain a C or an I to show this. I have a column to hold the final score as a fraction, ie 13 Cs out of 20. The formula need to count the number of Cs and put this as the top number in the fraction. I attach an example with fake data. Thanks in Advance.

    Viewing 0 reply threads
    Author
    Replies
    • #982371

      In B2:

      =COUNTIF(C2:V2,"C")/COUNTA(C2:V2)

      Copy it down the column

      Steve
      PS or are you after?
      =COUNTIF(C2:V2,”C”)&”/”&COUNTA(C2:V2)

      • #982387

        Thankyou that does the job. The second formula also gives the bottom half of the fraction, ie the number of questions answered, a very useful addition

    Viewing 0 reply threads
    Reply To: Calculate score correct out of total (WinXP XL2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: