Hi All,
Hope you are doing great, i have a data where i have to found top 5 values, could you please let me how to resolve it. thanks
attached is the data sheet
Hi All,
Hope you are doing great, i have a data where i have to found top 5 values, could you please let me how to resolve it. thanks
attached is the data sheet
Please try.
B5
=INDEX(Data!$A$1:$A$11,AGGREGATE(15,6,(ROW(Data!$A$1:$A$11)-(ROW(Data!$A$1)-1))/(Data!$B$1:$B$11=C5),COUNTIF($C$4:$C5,$C5)))
C5
=LARGE(Data!$B$1:$B$11,ROWS(C$4:C4))
Regards.
My English is very poor, so please be patient >_<"
My Dynamic Related Dropdown post:
https://www.excelforum.com/excel-for...ml#post5657376
https://www.excelforum.com/excel-for...ml#post5655711
https://www.excelforum.com/excel-for...ml#post5655762
worksheet name : Result
Cell B5 array formula , Drag down and across
HTML Code:
@wk9128
Thanks, It is giving Name where there is no data for any name in data sheet, have attached the scenario.
@menem
what actually "AGGREGATE(15,6," this is doing? how can i customize it in large data?
@Merrysa
array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula
Last edited by wk9128; 09-30-2021 at 03:04 AM.
@Merrysa
Please post a more realistic sample of your data as the first file obviously did not represent your true situation.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Please see POST#6 attachment and picture
Because there IS data for them - they have 0, not a blank cell.![]()
Last edited by AliGW; 09-30-2021 at 04:21 AM. Reason: Typo
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
AGGREGATE( 15 = min , 6 = ignore all errors , .... list of array to verify .... , no of array that not error )
but list of array to verify is hard for me to explain (due to my english)
AGGRIEGATE( 15 , 6 , { 50, 60 , #N/A , 9 , #DIV/0 , 1 } , 3 ) will give result 50 because 50 is small value number 3 exclude errors
Regards.
worksheet name : Result
Pls Click the left mouse button to select the ranges area B5:B9 ; pls Place the following formula in Formula Bar , then Array formulaHTML Code:
Then Copy ranges area B5:B9 to C5
In B5
In C5![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks