How to find the bottom data

gimran

New Member
Joined
Dec 15, 2011
Messages
33
hello everyone,

I am a bit confused regarding the a issue stated below.

I have an changing data set with values in descending order. Now I want to find out the 3 or 4 smallest data in the data set. But i am afraid i could not figure it out how to do.


<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>
SIDNAMESales
9182Sample123009
9092Sample223008
3349Sample323007
3345Sample423006
2234Sample523005

<tbody>
</tbody>

Now I want get the bottom the sales persons name and all the information across rows in a different table.

Please help me to know how I can do that.

Br
Imran
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
The result would be the top 10 unique values in descending order. The output for this example would be:

Sales
3321
2356
2346
2345
2343
2234
1234

<TBODY>
</TBODY>

Sales 10
2345 7
2346 Distinct
2356 3321
2345 2356
2343 2346
2234 2345
2346 2343
2356 2234
3321 1234
3321
2343
2356
1234

<COLGROUP><COL style="WIDTH: 48pt" span=2 width=64><COL style="WIDTH: 72pt; mso-width-source: userset; mso-width-alt: 3413" width=96><TBODY>
</TBODY>

C1: 10

C2, just enter:
Rich (BB code):
=MIN(C1,SUM(IF(FREQUENCY(A2:A14,A2:A14),1)))

C4, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IF(ROWS(C$4:C4)<=$C$2,MAX(IF(1-ISNUMBER(MATCH($A$2:$A$14,C$3:C3,0)),$A$2:$A$14)),"")
 
Upvote 0
thanks a lot for the formula.............is there any other way without using an array formula?
 
Upvote 0
thanks a lot for the formula.............is there any other way without using an array formula?

Sales
10
2345
2345
7
2346
2346
Distinct
2356
2356
3321
2345
2356
2343
2343
2346
2234
2234
2345
2346
2343
2356
2234
3321
3321
1234
3321
2343
2356
1234
1234

<tbody>
</tbody>

B2, just enter and copy down:
Rich (BB code):
=IF(ISNUMBER(MATCH($A2,$A$1:A1,0)),"",$A2)

C1: 10

C2, just enter:
Rich (BB code):
=MIN(C1,SUM(IF(FREQUENCY(A2:A14,A2:A14),1)))

C4, just enter and copy down:
Rich (BB code):
=IF(ROWS(C$4:C4)<=C$2,LARGE($B$2:$B$14,ROWS(C$4:C4)),"")
 
Upvote 0

Forum statistics

Threads
1,216,077
Messages
6,128,673
Members
449,463
Latest member
Jojomen56

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