Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a column of numbers, including zeros. I want to find the minimum
number, but not zero. Is there an Excel calculation? KEN |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here's one way:
=SMALL(A1:A20,COUNTIF(A1:A20,0)+1) counts the number of zero's and gives you the next smallest number that isn't zero. This assumes values in column A, thru row 20, adjust as necessary. "Ken" wrote: I have a column of numbers, including zeros. I want to find the minimum number, but not zero. Is there an Excel calculation? KEN |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One way, assuming no negative numbers:
=LARGE(A:A,COUNTIF(A:A,"0")) In article , Ken wrote: I have a column of numbers, including zeros. I want to find the minimum number, but not zero. Is there an Excel calculation? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If there are no negative numbers:
=SMALL(A1:A20,1+COUNTIF(A1:A20,0)) This one will work with negatives: Array entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER): =MIN(IF(A1:A20<0,A1:A20)) Biff "Ken" wrote in message ... I have a column of numbers, including zeros. I want to find the minimum number, but not zero. Is there an Excel calculation? KEN |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
FWIW, also assumes only non-negative numbers.
In article , BoniM wrote: Here's one way: =SMALL(A1:A20,COUNTIF(A1:A20,0)+1) counts the number of zero's and gives you the next smallest number that isn't zero. This assumes values in column A, thru row 20, adjust as necessary. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I kinda figured that was a safe assumption, if MIN was giving him the zero,
but you're right, I should have said so. "JE McGimpsey" wrote: FWIW, also assumes only non-negative numbers. In article , BoniM wrote: Here's one way: =SMALL(A1:A20,COUNTIF(A1:A20,0)+1) counts the number of zero's and gives you the next smallest number that isn't zero. This assumes values in column A, thru row 20, adjust as necessary. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to lookup the minimum, 2nd minimum and 3rd minimum......... | Excel Worksheet Functions | |||
minimum | Excel Worksheet Functions | |||
Minimum Distance Calculation using Array and Geographical Coordinates | Excel Discussion (Misc queries) | |||
Minimum Value | Excel Worksheet Functions | |||
second minimum value | Excel Discussion (Misc queries) |