View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Divide by the minimum non-zero number in a range of cells

Suppose you have the numbers in Column A use the below formula to return the
minimum non zero number. Hope you dont have negative numbers..

=SMALL(A:A,COUNTIF(A:A,0)+1)

If this post helps click Yes
---------------
Jacob Skaria


"Opus" wrote:

I need to find the minimum non-zero number in a range of cells that contains
some zeroes. So that I can divide by the minimum number. Any ideas?

If I just use the MIN function, it returns a value of 0, then when my
formula divides by that I get the divide by zero error.