ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   find smallest number not equal to 0 (https://www.excelbanter.com/excel-worksheet-functions/22930-find-smallest-number-not-equal-0-a.html)

dave

find smallest number not equal to 0
 
What I want to do is find the lowest number in a column that is not equal to 0.

example

column A1
10
0
15
0
10
0
2
0


The result I want would be 2.

I tried =MIN(<0,Data!I5) but got an error.

Thanks

JE McGimpsey

One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=MIN(IF(A1:A100<0,A1:A100))

In article ,
(dave) wrote:

What I want to do is find the lowest number in a column that is not equal to
0.

example

column A1
10
0
15
0
10
0
2
0


The result I want would be 2.

I tried =MIN(<0,Data!I5) but got an error.

Thanks


Duke Carey

Array entered - meaning Ctrl_Shift-Enter

=MIN(IF((A1:A7)0,A1:A7))

"dave" wrote:

What I want to do is find the lowest number in a column that is not equal to 0.

example

column A1
10
0
15
0
10
0
2
0


The result I want would be 2.

I tried =MIN(<0,Data!I5) but got an error.

Thanks



All times are GMT +1. The time now is 09:14 AM.

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