Help for formula to find Top 3 value in excel

emran06

New Member
Joined
Mar 13, 2011
Messages
27
Dear Experts,
I am facing problem to make summary sheet of top 3 value from large number of value of my excel sheet like-
Sheet1

GroupNameValue
1Nashid200145
2Kashem188516
1Jabed184198
2Rubel172569
3Romel168251
1Eman156622
2Hasin152304
3Nasim136357
3Hasan120410
2Monem104463
1Rashed88516
3Nizam72569

<tbody>
</tbody>

Now I want to make summary in sheet2 top 5 value among the list of sheet1 separately from group 1, 2 & 3.
If group number is 1 in sheet1 then top 3 value will be like this-
Group1
NameValue
Nashid200145
Jabed184198
Eman156622

<tbody>
</tbody>

If group number is 2 in sheet1 then top 3 value will be like this-
Group2
NameValue
Rubel172569
Hasin152304
Monem104463

<tbody>
</tbody>

If group number is 3 in sheet1 then top 3 value will be like this-
NameValue
Romel168251
Nasim136357
Hasan120410

<tbody>
</tbody>

Please help me if anyone know the formula. Thank you in advance for your help.

Best Regards

Emran
 
check the below formula
=INDEX(Sheet1!$B$2:$C$13,MATCH(LARGE(($B$1=Sheet1!$A$2:$A$13)*(Sheet1!$C$2:$C$13),COUNTA($A$3:$A3)),Sheet1!$C$2:$C$13,0),MATCH(A$3,Sheet1!$B$1:$C$1,0))


And this formula result will be incorrect.
If column C have the same value for two different people, but the same group, formula returns a false result.

GroupNameValue
1Nashid200145
2Kashem188516
1Jabed184198
2Rubel172569
3Romel168251
1Eman156622
2Hasin172569
3Nasim136357
3Hasan120410
2Monem104463
1Rashed88516
3Nizam72569
<colgroup><col width="64" style="width: 48pt;" span="3"> <tbody> </tbody>


and result will be:

Group2
NameValue
Kashem188516
Rubel172569
Rubel172569
<colgroup><col width="64" style="width: 48pt;" span="2"> <tbody> </tbody>
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I have not noticed already PeterSS said the same thing.
As well as me raising this issue (on at least 3 occasions I think), perhaps you had also missed this from the OP?
In my data sheet there is no two people from the same group and same value.
If correct, it obviates the need to worry about the issue.
 
Upvote 0
As well as me raising this issue (on at least 3 occasions I think), perhaps you had also missed this from the OP? If correct, it obviates the need to worry about the issue.

Yes, I saw the OP requirement but my response was to ravi 1986, in response to post number 20 "check Below the formula" ...
 
Upvote 0
Yes, I saw the OP requirement but my response was to ravi 1986, in response to post number 20 "check Below the formula" ...
Fair enough, but your statement "And this formula result will be incorrect" is itself incorrect given the OPs statement of fact regarding duplicates, and that is all I was trying to point out - perhaps not directly enough. :)

Having said that, I think I would be implementing a solution that did allow for duplicates, just in case, hence my suggestions earlier in the thread.
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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