ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   calculating the minimum value ignoring o (https://www.excelbanter.com/excel-worksheet-functions/33165-calculating-minimum-value-ignoring-o.html)

jo jo

calculating the minimum value ignoring o
 
How do I calculate the minimum figure but ignoring and 0 values

For example:

8
0
5
8
0
2
4
0
3
7
8
the I looking for is 2

Aladin Akyurek

If no negative entries in the range of interest:

=SMALL(Range,COUNTIF(Range,0)+1)

Otherwise:

=MIN(IF(Range,Range))

which must be confirmed with control+shift+enter, not just with enter.

jo jo wrote:
How do I calculate the minimum figure but ignoring and 0 values

For example:

8
0
5
8
0
2
4
0
3
7
8
the I looking for is 2



All times are GMT +1. The time now is 06:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com