#1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Minimum Calculation

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Minimum Calculation

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Minimum Calculation

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Minimum Calculation

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Minimum Calculation

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Minimum Calculation

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to lookup the minimum, 2nd minimum and 3rd minimum......... Mark McDonough Excel Worksheet Functions 8 July 15th 06 09:39 PM
minimum ridash Excel Worksheet Functions 4 June 23rd 06 03:00 PM
Minimum Distance Calculation using Array and Geographical Coordinates geobatman Excel Discussion (Misc queries) 1 June 9th 06 10:49 PM
Minimum Value ceemo Excel Worksheet Functions 2 August 9th 05 06:34 PM
second minimum value Ken Excel Discussion (Misc queries) 3 March 16th 05 06:17 PM


All times are GMT +1. The time now is 02:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"