HELP: How to rank.avg that excludes cells with error.

nardlje80

New Member
Joined
May 12, 2015
Messages
8
Good day!

I am ranking my students final grade. But it gives me a #DIV/0! error. My formula is =RANK.AVG(C2,C$2:C$9). What I wanted is that A and F will rank 2.5 (because they occupy the 2nd and 3rd place) and B, C, and E will rank 5 (for places 4, 5 and 6). Another thing is that, I wish that the rounded grade will be the basis of ranking. Please help.
I would like to say THANK YOU in advance for those who can help me. Below is a sample of my worksheet.

ABCD
STUDENTSGRADESROUNDEDRANK
A87.2587#DIV/0!
B80.3080#DIV/0!
C80.1080#DIV/0!
#DIV/0!#DIV/0!#DIV/0!
#DIV/0!#DIV/0!#DIV/0!
E80.4080#DIV/0!
F87.0087#DIV/0!
G89.7590#DIV/0!

<tbody>
</tbody>
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Thanks for your assistance sir. The formula in B5 is ='1 (7)'!AR13 (it is linked in another worksheet). Anyway, I figured the formula =IF(COUNT(range),AVERAGE(range),"") for averaging that did not give a #DIV/0! error and =RANK.AVG(number,ref) for ranking that worked perfectly.
 
Upvote 0

Forum statistics

Threads
1,215,949
Messages
6,127,892
Members
449,411
Latest member
AppellatePerson

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