+ Reply to Thread
Results 1 to 3 of 3

Grade Distribution

  1. #1
    Registered User
    Join Date
    03-11-2005
    Posts
    63

    Grade Distribution

    Hi there

    I am trying to perfect a spreadsheet that will analyse the stats of grades. Their name, gender, predicted grade and actual grade are entered into columns A, B, C & D respectively, commencing in cell B38.

    I am trying to perfect a formula that will tell me the grades of BOYS only that score D,M,P and FAIL (D=Distinction, M=Merit, P=Pass) and express it as a % of the BOYS only grades.

    As a test I entered the grades & genders of 3 boys in cells A38-D40, inputting D for distinction in all three actual grade colums. I also inputted grades for 4 girls too. In cell Y5 I used the following formula to calculate the % of boys getting a D as an actual grade (which should be 100% as all 3 boys got D).

    =SUMPRODUCT(--($B$38:$B$131="M"),--($D$38:$D$131="D"))/ COUNTIF($B$38:$B$131,"?*")

    The result of this formula is 42.9% which is the right result IF I wanted the % of BOYS & GIRLS that got a D. I am having brain freeze here - anyone want to point out the obvious and help me just to isolate the boys grades?

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    Try,

    =SUMPRODUCT(--($B$38:$B$131="M"),--($D$38:$D$131="D"))/ COUNTIF($B$38:$B$131,"M")

    HTH

    Steve

  3. #3
    Registered User
    Join Date
    03-11-2005
    Posts
    63
    Thanks Steve :P

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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