Excel Grading formula

dshafique

Board Regular
Joined
Jun 19, 2017
Messages
171
Hi guys, I am trying to create a spreadsheet which calculates my students' daily grades and spit out an average at the end of the week. I have certain tasks they do during the day and they're graded for those task for a total of out of 20 points per day. the formula i have right now is just an average of the points for each day.
my problem:

I want to make it in such a way where it only takes into account the days i have filled out so far. for example, if a student does perfectly on monday, i give them 20 points for monday, but my overall grade for the week is only going to give them 20% when it should be 100%.
is there a formula which only can only take into account the days i have graded so my students won't get discouraged?

thanks
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi dshafique

If your data is in range A1:E1 (representing Monday - Friday) then:

Code:
=SUM(A1:E1)/COUNTIF(A1:E1,">0")/20

and then format as "0%"

Cheers

pvr928
 
Last edited:
Upvote 0
Thank you so much, just what I needed. I made a couple edits to it to fit my sheet
Code:
=IFERROR(G13/COUNTIF(B13:F13,">0")/20, " ")
i added an if error so it shows it blank instead of #N/A and instead of SUM of A1-e1, i put the sum of all those in cell G1. thank you so much!
 
Upvote 0
That's not actually blank, it's a space. To return blank you should use this ""

=IFERROR(G13/COUNTIF(B13:F13,">0")/20, "")
 
Upvote 0

Forum statistics

Threads
1,213,537
Messages
6,114,216
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top