ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to calculate non-zero minimum value? (https://www.excelbanter.com/excel-discussion-misc-queries/177496-how-calculate-non-zero-minimum-value.html)

yhoy

How to calculate non-zero minimum value?
 
I have a list of data. want to get the lowest non-zero value. How to set up
the formula?

Thanks!

Tyro[_2_]

How to calculate non-zero minimum value?
 
If the values are in A1:A10 then you can use an array formula which must be
entered with Ctrl+Shift+Enter, not just Enter

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

Tyro

"yhoy" wrote in message
...
I have a list of data. want to get the lowest non-zero value. How to set up
the formula?

Thanks!




RagDyeR

How to calculate non-zero minimum value?
 
Non-array option:

=SMALL(A1:A100,COUNTIF(A1:A100,0)+1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tyro" wrote in message
. net...
If the values are in A1:A10 then you can use an array formula which must
be entered with Ctrl+Shift+Enter, not just Enter

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

Tyro

"yhoy" wrote in message
...
I have a list of data. want to get the lowest non-zero value. How to set
up
the formula?

Thanks!






David Biddulph[_2_]

How to calculate non-zero minimum value?
 
But I don't think that formula works correctly if there are negative
numbers?
--
David Biddulph

"RagDyer" wrote in message
...
Non-array option:

=SMALL(A1:A100,COUNTIF(A1:A100,0)+1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tyro" wrote in message
. net...
If the values are in A1:A10 then you can use an array formula which must
be entered with Ctrl+Shift+Enter, not just Enter

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

Tyro

"yhoy" wrote in message
...
I have a list of data. want to get the lowest non-zero value. How to set
up
the formula?

Thanks!








RagDyeR

How to calculate non-zero minimum value?
 
You're absolutely right.

However, as I mentioned in a thread yesterday concerning averaging without
zeroes, the transition from positive to negative predisposes the presence of
zeroes.

Therefore, one can assume ... no 0's ... no negatives.

Though your point is well taken, since we never actually know how or where
our suggestions will be used.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
But I don't think that formula works correctly if there are negative
numbers?
--
David Biddulph

"RagDyer" wrote in message
...
Non-array option:

=SMALL(A1:A100,COUNTIF(A1:A100,0)+1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tyro" wrote in message
. net...
If the values are in A1:A10 then you can use an array formula which must
be entered with Ctrl+Shift+Enter, not just Enter

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

Tyro

"yhoy" wrote in message
...
I have a list of data. want to get the lowest non-zero value. How to set
up
the formula?

Thanks!









Jon Peltier

How to calculate non-zero minimum value?
 
.... or abused.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"RagDyeR" wrote in message
...
You're absolutely right.

However, as I mentioned in a thread yesterday concerning averaging without
zeroes, the transition from positive to negative predisposes the presence
of
zeroes.

Therefore, one can assume ... no 0's ... no negatives.

Though your point is well taken, since we never actually know how or where
our suggestions will be used.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
But I don't think that formula works correctly if there are negative
numbers?
--
David Biddulph

"RagDyer" wrote in message
...
Non-array option:

=SMALL(A1:A100,COUNTIF(A1:A100,0)+1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tyro" wrote in message
. net...
If the values are in A1:A10 then you can use an array formula which must
be entered with Ctrl+Shift+Enter, not just Enter

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

Tyro

"yhoy" wrote in message
...
I have a list of data. want to get the lowest non-zero value. How to set
up
the formula?

Thanks!











All times are GMT +1. The time now is 12:34 AM.

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