Small function clarification & help

SimonHow

New Member
Joined
Aug 31, 2023
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi all

I am using the "Large" and "Small" to analyse some data.

I have around 250 lines of numeric data, that I want to find the largest (max) smallest (min) values, I am using the max and min functions with no problem. I also need to find a notional max and min where I remove any extreme peaks. I can do this with the large and small functions. The large function with k set to 2 (=Large(A1:A250,2), removes the true max, so works perfectly

The small function is not performing as expected. Where there a lot of 0's in the data, I expected =small(A1:A250,2) to show me the smallest value above 0, but it just shows 0. I have to set k to 51 before it shows a value. I have checked and there are 50 lines where the data is set to 0. Is this what I should expect ? if so is there another way to essentially eliminate the lowest point in the data set and return the next lowest datapoint ? there is a lot of variability on the possible data sets to analyse in this way, hence using the small function.

Many thanks in advance

Simon
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
1235.xlsm
ABCD
11
221
33
45
56
60
75
80
96
100
11
Sheet7
Cell Formulas
RangeFormula
C2C2=IFERROR(MINIFS(A1:A10, A1:A10, ">"&0), "No value > 0")
 
Upvote 0
Thanks, however the minimum value in another dataset might not be 0, so this formula will not work for my needs. Thanks anyway
 
Upvote 0
How about
Excel Formula:
=MIN(FILTER(A2:A250,A2:A250<>MIN(A2:A250)))
 
Upvote 0
Solution
Thanks Fluff, I will see if I can make that work.

Shame about the best result we can now achieve is 3rd ☹️
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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