Pull 10 smallest values, ignore zeros

virtuosok

Board Regular
Joined
Sep 2, 2020
Messages
209
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have the following formula to pull top-10 entries from the list, along with entries in associated column. It works well for my purposes.
Excel Formula:
=SORT(FILTER(CHOOSE({1,2},Source!$B$2:$B$500,Source!$N$2:$N$500),Source!$N$2:$N$500>=LARGE(Source!$N$2:$N$500,10)),2,-1)
How do I repurpose it from LARGE to SMALL, so that it also ignores any zeros in column N? I.e. it starts from ~0.0000000000001 and then pulls 10 lowest values in order, just as the above formula does for 10 biggest ones?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You seem to have Office 365 at your disposal.
Mr Excel Playground 3.xlsm
CD
11Numbers10 smallest
1251
1302
14102
15154
1604
1725
18205
19216
20207
21010
224
236
247
254
261
272
280
295
3015
Sheet16
Cell Formulas
RangeFormula
D12:D21D12=SMALL(FILTER(C12:C30,C12:C30<>0,""),SEQUENCE(10,1,1,1))
Dynamic array formulas.
 
Upvote 0
How about
Excel Formula:
=INDEX(SORT(FILTER(CHOOSE({1,2},Source!$B$2:$B$500,Source!$N$2:$N$500),Source!$N$2:$N$500>0),2,1),SEQUENCE(10),{1,2})
 
Upvote 0
Solution
OK great, thank you Fluff - your solution (as usual) is awesome and works seamlessly!
JamesCanale - thanks for the other option, it's not quite what I needed but I'll keep the formula for other needs!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,958
Members
449,200
Latest member
indiansth

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