+ Reply to Thread
Results 1 to 7 of 7

Distinguishing between 'A' and 'A*' Exam Grades

  1. #1
    Registered User
    Join Date
    02-13-2015
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    12

    Distinguishing between 'A' and 'A*' Exam Grades

    Distinguishing between A and AStar V2.xlsx
    Excel Question - Distinguishing between A and AStar.xlsx


    I am a teacher in the UK. The current GCSE exam grading system uses letters to distinguish grades (e.g. A-G). However, they also have a result called an A-star represented by 'A*'.

    I use COUNTIF functions to count the number of students on a particular grade into a table. However I can't work out a way to get it to distinguish between 'A' and 'A*'. In the example I have attached the formula for A works properly. However, the formula for 'A*' also counts those cells that include just an 'A', so the plain 'A's get counted twice.

    I have previously used the "~" symbol (don't even know what its called), but I can't get it to work this time.

    I hope someone can help?

    Thanks

    Update: I actually use a Countifs function to fulfill multiple condition (as you can see in the Version2 spreadsheet I've attached). For example I have a table for each member of staff showing how many of each grade they got. My function goes something like this COUNTIFS(ClassName,"teacher name",Grade,"grade"). Is there anyway I can combine the SUMPRODUCT formula (which works really well) with the countifs?
    Last edited by mrmcmillanrevis; 05-21-2015 at 10:28 AM. Reason: more detail

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Distinguishing between 'A' and 'A*' Exam Grades

    Hi

    instead of countif use =SUMPRODUCT(--EXACT(B2:B27,$F$2))

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,110

    Re: Distinguishing between 'A' and 'A*' Exam Grades

    The ~ should work - its called a tilde

    =COUNTIF(A1:A500,"A~*")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Distinguishing between 'A' and 'A*' Exam Grades

    try:

    On G2 and copied down:

    =COUNTIFS($B$2:$B$27,IF(LEN($F2)=2,TRIM($F2)&"?",$F2))

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,311

    Re: Distinguishing between 'A' and 'A*' Exam Grades

    Slightly modified version of Sadath31's formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Registered User
    Join Date
    02-13-2015
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    12

    Re: Distinguishing between 'A' and 'A*' Exam Grades

    Hi,

    This works if I type the precise grade into each formula. However, with the size of tables this may not always be so efficient. Thanks though.

  7. #7
    Registered User
    Join Date
    02-13-2015
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    12

    Re: Distinguishing between 'A' and 'A*' Exam Grades

    Hi,

    This works so far. However, in my actual spreadsheet I actually used a COUNTIFS function so that I can do analsyis such as students who are taught by Teacher X and who got an A*. Is there anyway I could combine this sumproduct function with a countifs?

    I'm going to post another attachment to show you what I mean.

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Procedure to find average of grades when alphabet grades are given
    By vsbhogar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2012, 03:37 AM
  2. [SOLVED] formula for comparing predicted grades vs actual grades
    By maths in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-25-2012, 11:23 AM
  3. Making letters equal number values for semester and exam grades
    By Pfisch87 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-10-2011, 07:44 PM
  4. How to compose codes/macro for automatic sending students' exam grades?
    By bhchen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-09-2009, 04:15 AM
  5. Distinguishing between 3 variables... how?
    By oerberg in forum Excel General
    Replies: 13
    Last Post: 01-21-2009, 06:02 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1