Calculating Grade Percentage Excluding Blank Cells

annrbennett

New Member
Joined
Feb 18, 2014
Messages
1
Please help....
I need a formula that will calculate the total percentage, excluding blank cells (assignments not yet graded).
Currently, I get 52.50% by dividing the sum of column B by the sum of column C, but that's not correct because I need the blank cells to be excluded.
Any suggestions???

A
BC
AssignmentPoints
Received
Points
Possible
HW 135
HW 255
HW 335
HW 455
HW555
HW65
HW75
HW85

<tbody>
</tbody>
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
hi annrbennett,

To do what you need to do you could either use a subtotal with a filter or alternatively use a sumif to only sum column C values when column B isn't blank.

In this case you could use:

=SUM(B$2:B9)/SUMIF(B$2:B9,"<>"&"",C$2:C9)


In the above we assume your data is running from B2:B9 and C2:C9 - just change these to fit your data requirements.

Hope that helps,

Cheers,
Ross
 
Upvote 0

Forum statistics

Threads
1,215,872
Messages
6,127,430
Members
449,382
Latest member
DonnaRisso

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