How to sum col2 when col1 changes and then order in descending totals

I have a spreadsheet that has studentname in column 1, and scolarship amount in column2.
One student can get multiple scolarships.  I need to be able to sum column2 for each student, and the order the list in decending order of of each student's total

studenta         1,000    
studenta            300
studenta            200
studentb            500
studentc          1,000
studentc             700

desired results:

studentc          1,700
studenta          1,500
studentb             500
abgailAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dlmilleCommented:
If your data in column A starts in row 2, and you have, say 100 students (just change the 100 to the size of the row, or use A:A which is less efficient, but will include all the rows):

In F2:F4, you have:

studentc
studenta
studentb

Then in D2, you can use the formula:

[D2]=SUMIF($A$2:$A$100,$F2,$B$2:$B$100)

and copy down for all your student names in column F.

See attached.

Dave
studentScholarships-r1.xls
0
dlmilleCommented:
I was editing mine and couldn't submit.  now that you have the pivot option suggested....

Shanan212 - want to use my example, add a pivot table and put the sort in?

Cheers,

Dave
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Rob HensonFinance AnalystCommented:
Alternative, certainly works in 2003.

Sort the data initially by student and then use the Subtotals wizard to add subtotals to the Amount column.

This will also add Outline Grouping icons down the left hand margin.

Collapse all the groups to show only Subtotals. Now select all the data and apply a Sort by amount. The groups will be moved as a block rather than individual lines.

Thanks
Rob H
0
Anthony MellorChartered AccountantCommented:
I'll pick up the pivot table invite using your file dave,
xls is also attached.

Pivot and formula solutions in one
ugh, forgot the sort, back in a minute

Anthony
0
abgailAuthor Commented:
Using the pivot table, is there a way to sort by total?
0
Anthony MellorChartered AccountantCommented:
yes see new image above and file attached here, you beat me to it while I was fixing that little matter.
studentScholarships-r2.xls
0
abgailAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for abgail's comment #37834536

for the following reason:

This solution solved my problem.
0
Anthony MellorChartered AccountantCommented:
Here's how you find the sort option, it's a bit buried, shout if you need guidance for a different version, this is from Excel 2008.Show sort in pivot table Excel 2008
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Anthony MellorChartered AccountantCommented:
abgail, I think you hit the wrong button there :-)
I'll ask a mod to pop in to help... when I figure out how..
Anthony
0
Anthony MellorChartered AccountantCommented:
I think abgail has pressed the wrong button, having done that myself on occasion. Anthony
0
abgailAuthor Commented:
Yes, I hit the wrong button.  I accepted your solution.

thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.