Want to find sum of Top 70% students' marks

sunilbsrv2k

Board Regular
Joined
May 25, 2018
Messages
73
Hi All,

I have an unusual yet important question.

My question is: I obtained the marks of about 150 students, in 4 different subjects.

I have them in the list with 3 columns; first column is "Subject", 2nd is Student ID and 3rd is respective marks in the particular subject.

Issue here is I need to find the sum of top 70% students in each subject. For example if I have marks of 100 students in the subject "Mathematics", then I should find the sum of the marks of Top 70 students.

Could you please kindly help me in this

Thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
The Rank formula is your friend here.

Add a column with the formula RANK([students mark],[range where marks are]) and drag it down. Then you can SUMIF off of this formula.
 
Upvote 0
The Rank formula is your friend here.

Add a column with the formula RANK([students mark],[range where marks are]) and drag it down. Then you can SUMIF off of this formula.

Hi Thanks for the answer.

However, my question is not just 70% of the Top ranks; but its should be for each subject.
 
Upvote 0
Hi All,

I have found an answer. To accomplish this, we need to use :
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]=SUMPRODUCT(LARGE((G8:G1000 = BN8)*(AE8:AE1000),{1,2,3}))[/FONT]

However, now the issue is , I want to replace {1,2,3} with larger numbers like 1 to 50 etc.

Is this possible?

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,392
Messages
6,119,255
Members
448,879
Latest member
oksanana

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