#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default =MIN() Function

I Have values in a range A1:C5

which contains for eg. 1, 5, 200, 0, 18, 15 etc etc

I want to Find A minimun from this range but it should ignore Zero. and give
me a min other then Zero

Eg. for the above range =Min(A1:C5) gives = 0
I want it to give me 1 not Zero

Any help please
Claude
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default =MIN() Function

Trythis

=MIN(IF(A1:A10=0,"",A1:A10))


Mike

"claude jerry" wrote:

I Have values in a range A1:C5

which contains for eg. 1, 5, 200, 0, 18, 15 etc etc

I want to Find A minimun from this range but it should ignore Zero. and give
me a min other then Zero

Eg. for the above range =Min(A1:C5) gives = 0
I want it to give me 1 not Zero

Any help please
Claude

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default =MIN() Function

try the following array formula (entered with CTRL+SHIFT+ENTER):
=MIN(IF(A1:C50,A1:C5))

--
Gary''s Student - gsnu200737


"claude jerry" wrote:

I Have values in a range A1:C5

which contains for eg. 1, 5, 200, 0, 18, 15 etc etc

I want to Find A minimun from this range but it should ignore Zero. and give
me a min other then Zero

Eg. for the above range =Min(A1:C5) gives = 0
I want it to give me 1 not Zero

Any help please
Claude

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default =MIN() Function

Claude

I got the range incorrect so
=MIN(IF(A1:C10=0,"",A1:C10))

It's now an array so Ctrl+Shift+enter
Note this formula ignores zero and allows negative numbers.

Mike

"claude jerry" wrote:

I Have values in a range A1:C5

which contains for eg. 1, 5, 200, 0, 18, 15 etc etc

I want to Find A minimun from this range but it should ignore Zero. and give
me a min other then Zero

Eg. for the above range =Min(A1:C5) gives = 0
I want it to give me 1 not Zero

Any help please
Claude

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default =MIN() Function

Thanks . its working Perfect

"Mike H" wrote:

Claude

I got the range incorrect so
=MIN(IF(A1:C10=0,"",A1:C10))

It's now an array so Ctrl+Shift+enter
Note this formula ignores zero and allows negative numbers.

Mike

"claude jerry" wrote:

I Have values in a range A1:C5

which contains for eg. 1, 5, 200, 0, 18, 15 etc etc

I want to Find A minimun from this range but it should ignore Zero. and give
me a min other then Zero

Eg. for the above range =Min(A1:C5) gives = 0
I want it to give me 1 not Zero

Any help please
Claude

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to combine an IF Function with a lookup function to determine [email protected] Excel Worksheet Functions 1 December 5th 06 06:09 AM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


All times are GMT +1. The time now is 09:57 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"