Excel Grading formula

dshafique

Board Regular
Joined
Jun 19, 2017
Messages
144
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
 

pvr928

Well-known Member
Joined
Oct 21, 2002
Messages
790
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:

dshafique

Board Regular
Joined
Jun 19, 2017
Messages
144
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!
 

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,886
That's not actually blank, it's a space. To return blank you should use this ""

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

Forum statistics

Threads
1,082,126
Messages
5,363,315
Members
400,725
Latest member
excelingtolearn

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top