Formula to Rank - Ignore column if not empty

jaime1182

New Member
Joined
Dec 11, 2007
Messages
49
Office Version
  1. 2013
Platform
  1. Windows
Hi all. I hope you are all well. I am having some issues with a rank formula.

I need to do two ranking formulas. One is to get the overall rank (minus scores where the resit column isn't blank) as well as the rank within the course (again, minus the scores where the resit column isn't blank)

IDScoreResitCourseOverallCourse Rank
AB0018.587A6 of 73 of 3
AC03512.50A2 of 71 of 3
BA91310.20A4 of 72 of 3
OB3123.15YA
AB0019.15B5 of 73 of 4
AC03513.67B1 of 71 of 4
BA91311.63B3 of 72 of 4
OB3125.15B7 of 74 of 4


Before the resit column, it was somewhat straightforward.

I could use RANK(B1,B:B,0).

With the ranks for each individual subject, I had to make other sheets to rank those, then copy that back to this sheet.
I'm sure there's a faster way of doing this but am not entirely sure how.

But now with the complication of the resit column, I don't know how to ignore scores without actually deleting them.

Is anyone able to help me think this through? How should I go about doing this?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
These should do it
Excel Formula:
=IF(C2<>"","",(COUNTIFS(B:B,">"&B2,C:C,"")+1)&" of "&COUNTIFS(B:B,B2,C:C,""))
Excel Formula:
=IF(C2<>"","",(COUNTIFS(B:B,">"&B2,C:C,"",D:D,D2)+1)&" of "&COUNTIFS(B:B,B2,C:C,"",D:D,D2))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,063
Messages
6,122,928
Members
449,094
Latest member
teemeren

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