#1   Report Post  
midwestern
 
Posts: n/a
Default gradebook average

How do I average these grades that are in columns across. Here are the
grades... 42/50, 20/30, 25/25, 13/15, and 87/100. These are in cells B2 thru
F2. Please respond ASAP! Thanks.
  #2   Report Post  
Dave O
 
Posts: n/a
Default

Are these entered as 42/50, or formulas- say, =42/50?

  #3   Report Post  
midwestern
 
Posts: n/a
Default

They are entered as 42/50..like a grade, the student got 42 out of 50 on an
assignment.

"Dave O" wrote:

Are these entered as 42/50, or formulas- say, =42/50?


  #4   Report Post  
N Harkawat
 
Posts: n/a
Default

=SUMPRODUCT(--(LEFT(B1:F1,SEARCH("/",B1:F1)-1)*100),--(1/RIGHT(B1:F1,(LEN(B1:F1)-SEARCH("/",B1:F1)))))/COUNTA(B1:F1)

And using your example I got an average of 84.86 out of 100


"midwestern" wrote in message
...
How do I average these grades that are in columns across. Here are the
grades... 42/50, 20/30, 25/25, 13/15, and 87/100. These are in cells B2
thru
F2. Please respond ASAP! Thanks.



  #5   Report Post  
Fredrik Wahlgren
 
Posts: n/a
Default


"midwestern" wrote in message
...
They are entered as 42/50..like a grade, the student got 42 out of 50 on

an
assignment.


The problem is that you need to evaluate 42/50 as as 0.84 before you can
calculate the average. Here's how you do that.

1) Select Tools|Macro|Visual Basic Editor
2) Insert a new module
3) Copy and paste this code into the module

Public Function Eval(ByVal s As String) As Variant
Eval = Application.Evaluate(s)
End Function

Now, if cell A1 holds the string 42/50, you can enter =Eval(A1) in a
different cell and it will return 0.84
Insert this newly created function in a different column and apply the
Average function
http://www.techonthenet.com/excel/formulas/average.htm

/Fredrik


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
Using The Average Function if a cell has NA carl Excel Worksheet Functions 6 May 21st 23 07:46 PM
Average the Last Five Cells in a Column Warrior Princess Excel Worksheet Functions 3 March 16th 05 02:12 PM
excused assignment in the excel gradebook. lalewis Excel Discussion (Misc queries) 1 January 5th 05 03:29 AM
Average Reggie Excel Worksheet Functions 2 December 29th 04 10:26 PM
average, array and offsets Darin1979 Excel Worksheet Functions 0 November 17th 04 04:21 PM


All times are GMT +1. The time now is 06:25 PM.

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

About Us

"It's about Microsoft Excel"