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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,207,280
Messages
6,077,506
Members
446,287
Latest member
tjverdugo85

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