• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

extract only top 15 data (with formula)

rahulshewale1

Active Member
hiii
I attached file.column a has menu head description and column b has sold quantity.can i extract top 15 sold quantity menu head description and sold quantity.

this can be possible with formula....
 

Attachments

  • filter data only top 15.xlsx
    9.9 KB · Views: 11
Hi Rahulshewale,

have you try DATA > FILTER ?

Kindly check attached file.
 

Attachments

  • filter data only top 15.xlsx
    10.1 KB · Views: 5
  • sample.png
    sample.png
    52.3 KB · Views: 7
Another option without helper (all in non-CSE formula),

1] Consider Ties in 15th place.

2] Cell B20 value changed to 75, being the 2nd 15th place, for testing the "Ties" purpose.

3] F1, enter : 15

4] S/n D4, formula copy down :

=IF(F4="","",COUNT(F$4:F4))

5] Menu Item E4, formula copy down :

=IF(F4="","",INDEX(A$2:A$61,MATCH(0,INDEX(COUNTIF(E$3:E3,A$2:A$61)+(B$2:B$61<>F4),0),0)))

6] Total Quantity F4, formula copy down :

=IF(ROWS($1:1)<=COUNTIF(B$2:B$61,">="&LARGE(B$2:B$61,F$1)),LARGE(B$2:B$61,ROWS($1:1)),"")

Regards
Bosco
 

Attachments

  • Top15.xlsx
    14.1 KB · Views: 7
In D2:
=LARGE($B$2:$B$61,ROW(A1)) extend down until you have 15 values
In C2:
=INDEX($A$2:$A$61,MATCH(D2,$B$2:$B$61,0))

Remember to give me a Like if you like my answer!
 
Dear Rahul,

pls find the attached sheet and finish the Formula with CTRL+SHIFT+ENTER
Formula to Get the TOP 15 menu Item
=INDEX($A$2:$A$61,MATCH(LARGE($B$2:$B$61,ROW(A1)),$B$2:$B$61,0))

Formula to Get the TOP 15 SOLD Item


=LARGE($B$2:$B$61,ROW(A1))

regards
Naresh
 

Attachments

  • filter data only top 15.xlsx
    17.4 KB · Views: 5
Back
Top