calculating the minimum value ignoring o

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I calculate the minimum figure but ignoring and 0 values

For example:

8
0
5
8
0
2
4
0
3
7
8
the I looking for is 2
 
If no negative entries in the range of interest:

=SMALL(Range,COUNTIF(Range,0)+1)

Otherwise:

=MIN(IF(Range,Range))

which must be confirmed with control+shift+enter, not just with enter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top