Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Minimum value needs to be greater than zero

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Minimum value needs to be greater than zero

=IF(SMALL(A1:D25,1)=0,SMALL(A1:D25,2),SMALL(A1:D25 ,1))

--
Gary's Student
gsnu200707


"Divy" wrote:

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,118
Default Minimum value needs to be greater than zero

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:A100,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" wrote:

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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Minimum value needs to be greater than zero

On Feb 19, 9:17 pm, Ron Coderre
wrote:
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:A100,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" wrote:
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- Hide quoted text -


- Show quoted text -


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

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
Minimum Date Greater than Today() VickiMc Excel Worksheet Functions 7 April 30th 23 07:42 PM
Minimum Date Greater Than Observation Start Date vito Excel Discussion (Misc queries) 2 August 14th 07 03:02 PM
Find minimum value greater than a particular value John Michl Excel Worksheet Functions 3 April 27th 06 07:10 PM
minimum greater than zero OkieViking Excel Worksheet Functions 9 March 19th 06 06:36 PM
Formula for placings, using 4 times and greater than minimum time handers Excel Worksheet Functions 2 May 12th 05 08:00 PM


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