Rank based on sum in a long list!

Nightjester

New Member
Joined
Nov 7, 2011
Messages
2
Hi, I have a long list of University courses by course year, each year has a number of modules with a value, this value can be 2, 1 or .5. Students study modules that have a total value of 6. What I am trying to do is identify the most popular modules in each program year. So I have ordered the list by the modules with the most students on, I then need to highlight the top modules when the value totals 6 (this could be top 6 modules with a value of one, or top 3 with a value of 2 etc.)

Course, Year, Module, Count, Value
Physics, 1, Water ,8, 2
Physics, 1, Earth, 8, 1
Physics, 1, Air, 7, 2
Physics, 1, Fire, 7, 1
Physics, 1, Metals, 3, 1
Physics, 2, Water, 7, 2 etc.........

So in this example the top 4 rows would be the ones I needed, the list would then continue with year 2 modules & I need to start the process again.

In Summary - once the sum of the value column hits 6, somehow highlight those rows or cells, then skip to the next year for that course & repeat

Any advice appreciated
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,225,761
Messages
6,186,891
Members
453,383
Latest member
SSXP

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