Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Marie1uk
 
Posts: n/a
Default % error calculating grades


I am using the formula below to calculate the % of males (denoted as "M"
in the F column) scoring A*, A, B,.... U (contained in the H column) in
a list:

=SUMPRODUCT(--($F$48:$F$432="M"),--($H$48:$H$432="A*"))/
COUNTIF($F$48:$F$432,"?*")

In my test I find that if I have 4 entries - 3 male & 1 female it will
report that 25% of males scored A*, 25% scored A and 25% scored B,
instead of 33.3% for 3 boys only. It is including the female score when
doing the % calculation. How can I isolate the boys only scores ?


--
Marie1uk
------------------------------------------------------------------------
Marie1uk's Profile: http://www.excelforum.com/member.php...o&userid=20984
View this thread: http://www.excelforum.com/showthread...hreadid=384082

  #2   Report Post  
duane
 
Posts: n/a
Default


how about

=SUMPRODUCT((F48:F432="m")*(H48:H432="a*"))/SUMPRODUCT((F48:F432="M")*1)


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=384082

  #3   Report Post  
Marie1uk
 
Posts: n/a
Default


That solution does not isolate the A grades from A*grades (A and A* are
read identically) and also gives blank scrores a reading of 100%.
Thanks anyways.


--
Marie1uk
------------------------------------------------------------------------
Marie1uk's Profile: http://www.excelforum.com/member.php...o&userid=20984
View this thread: http://www.excelforum.com/showthread...hreadid=384082

  #4   Report Post  
duane
 
Posts: n/a
Default


it seems to be working fine for me


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=384082

  #5   Report Post  
Marie1uk
 
Posts: n/a
Default


Thanks a lot Duane - tried it again and it works fine - gremlins.


--
Marie1uk
------------------------------------------------------------------------
Marie1uk's Profile: http://www.excelforum.com/member.php...o&userid=20984
View this thread: http://www.excelforum.com/showthread...hreadid=384082



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do any of the Grade book templates using Excel average grades? JHardin Excel Discussion (Misc queries) 0 June 29th 05 07:59 PM
Vlookup student grades Vicky Excel Discussion (Misc queries) 7 May 19th 05 01:19 PM
Converting Letter Grades to Numeric Angelo D Excel Worksheet Functions 6 April 25th 05 07:29 PM
grades Ggal Excel Discussion (Misc queries) 1 March 19th 05 08:23 PM
How do calculate grades in Excel? Meika Excel Worksheet Functions 2 December 4th 04 04:34 AM


All times are GMT +1. The time now is 07:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"