Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kk
 
Posts: n/a
Default Getting Min Value

Hi

I have a problem to get the min value from a range

Col C
0.0097
0.02291
0
0.05416

The values can be in negative.

I need to exclude zero when try to get the min value. In this case, 0.0097.
But my formula give the result as 1

=min(($C$1:$C$4)<0)

I think this formula is giving me true/false instead of return the min value.


Would appreciate your assist.

kk
  #2   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Use:

=MIN(IF(C1:C4=0,"",C1:C4))

and press ctrl + shift + enter

Mangesh




"kk" <kkchoh @ yahoo dot com wrote in message
...
Hi

I have a problem to get the min value from a range

Col C
0.0097
0.02291
0
0.05416

The values can be in negative.

I need to exclude zero when try to get the min value. In this case, 0.0097.
But my formula give the result as 1

=min(($C$1:$C$4)<0)

I think this formula is giving me true/false instead of return the min
value.


Would appreciate your assist.

kk


  #3   Report Post  
kk
 
Posts: n/a
Default

Thank you, Mangesh

It works as I need.



"Mangesh Yadav" wrote in message
...
Use:

=MIN(IF(C1:C4=0,"",C1:C4))

and press ctrl + shift + enter

Mangesh




"kk" <kkchoh @ yahoo dot com wrote in message
...
Hi

I have a problem to get the min value from a range

Col C
0.0097
0.02291
0
0.05416

The values can be in negative.

I need to exclude zero when try to get the min value. In this case, 0.0097.
But my formula give the result as 1

=min(($C$1:$C$4)<0)

I think this formula is giving me true/false instead of return the min
value.


Would appreciate your assist.

kk



  #4   Report Post  
kk
 
Posts: n/a
Default

Thank you, Mangesh

It works as I need.



"Mangesh Yadav" wrote in message
...
Use:

=MIN(IF(C1:C4=0,"",C1:C4))

and press ctrl + shift + enter

Mangesh




"kk" <kkchoh @ yahoo dot com wrote in message
...
Hi

I have a problem to get the min value from a range

Col C
0.0097
0.02291
0
0.05416

The values can be in negative.

I need to exclude zero when try to get the min value. In this case, 0.0097.
But my formula give the result as 1

=min(($C$1:$C$4)<0)

I think this formula is giving me true/false instead of return the min
value.


Would appreciate your assist.

kk




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



All times are GMT +1. The time now is 05:14 AM.

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

About Us

"It's about Microsoft Excel"