A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Finding Minimum value



 
 
Thread Tools Display Modes
  #1  
Old April 27th, 2004, 05:54 PM
Ruan
external usenet poster
 
Posts: n/a
Default Finding Minimum value

Hello,

I know the formula for finding the minimum value in a range is
=MIN(G7:G31)

But how do you find the minimum value and ignore all the 0 values?

Thanks
Ruan


  #2  
Old April 27th, 2004, 06:04 PM
Ken Wright
external usenet poster
 
Posts: n/a
Default Finding Minimum value

Assuming all data is positive and you just want to exclude 0s, then

=MIN(IF(A1:A1000,A1:A100)) array entered using CTRL+SHIFT+ENTER

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"Ruan" wrote in message
...
Hello,

I know the formula for finding the minimum value in a range is
=MIN(G7:G31)

But how do you find the minimum value and ignore all the 0 values?

Thanks
Ruan




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.668 / Virus Database: 430 - Release Date: 24/04/2004


  #3  
Old April 27th, 2004, 08:16 PM
Bruce N.
external usenet poster
 
Posts: n/a
Default Finding Minimum value

Ken is right. the only difference I would use if you do want to unclude negative values is to change the argument to =MIN(IF(or(A1:A1000,a1:a1000),A1:A100)) This will let you select the negatives as well
  #4  
Old April 27th, 2004, 08:21 PM
Ken Wright
external usenet poster
 
Posts: n/a
Default Finding Minimum value

With negatives in there but excl 0s

=MIN(IF(A1:A1000,A1:A100))

array entered

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"Bruce N." wrote in message
...
Ken is right. the only difference I would use if you do want to unclude

negative values is to change the argument to
=MIN(IF(or(A1:A1000,a1:a1000),A1:A100)) This will let you select the
negatives as well


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.668 / Virus Database: 430 - Release Date: 24/04/2004


  #5  
Old April 27th, 2004, 08:50 PM
Ruan
external usenet poster
 
Posts: n/a
Default Finding Minimum value

Thanks Bruce and Ken. Ken's formula is what I needed, as I am looking for
the minimum percentage above 0 in a range.

Ruan



"Ken Wright" wrote in message
...
With negatives in there but excl 0s

=MIN(IF(A1:A1000,A1:A100))

array entered

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

--------------------------------------------------------------------------

--
It's easier to beg forgiveness than ask permission :-)
--------------------------------------------------------------------------

--



"Bruce N." wrote in message
...
Ken is right. the only difference I would use if you do want to unclude

negative values is to change the argument to
=MIN(IF(or(A1:A1000,a1:a1000),A1:A100)) This will let you select the
negatives as well


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.668 / Virus Database: 430 - Release Date: 24/04/2004




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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