Minimum value needs to be greater than zero

D

Divy

Hi all,

this is what i'm exactly looking for that in a selected range of
cells, i'm looking for the minimum value and it needs to be greater
than zero. whn i give =Min(A1:D25), it gives 0, and i am looking for 3
which is the smallest after 0...

regards,
Divy
 
R

Ron Coderre

With
A1:A10 containing numbers or blanks or text

This ARRAY FORMULA is the typical approach.
It returns the smallest NON-zero numeric value:
B1: =MIN(IF(A1:A10>0,A1:A10))

Note: For array formulas, hold down [Ctrl] and [Shift] when you press
[Enter], instead of just pressing [Enter].

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
D

Divy

With
A1:A10 containing numbers or blanks or text

This ARRAY FORMULA is the typical approach.
It returns the smallest NON-zero numeric value:
B1: =MIN(IF(A1:A10>0,A1:A10))

Note: For array formulas, hold down [Ctrl] and [Shift] when you press
[Enter], instead of just pressing [Enter].

Does that help?
***********
Regards,
Ron

XL2002, WinXP



Divy said:
this is what i'm exactly looking for that in a selected range of
cells, i'm looking for the minimum value and it needs to be greater
than zero. whn i give =Min(A1:D25), it gives 0, and i am looking for 3
which is the smallest after 0...
regards,
Divy- Hide quoted text -

- Show quoted text -

thnks buddy....
this works....
and wonderfully...
 

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

Top