Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jtribe
 
Posts: n/a
Default min, max functions

in trying to find a min value, how do i exclude zeros from the list to be
looked at?
  #2   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

if you are sure there are some zero values then use
=small(dataange,2)

if you are not sure then use Dmin. see help


jtribe wrote in message
...
in trying to find a min value, how do i exclude zeros from the list to be
looked at?



  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Array entered with the key combo of CTRL,SHIFT,ENTER:

=MIN(IF(A1:A100<0,A1:A100))

Biff

-----Original Message-----
in trying to find a min value, how do i exclude zeros

from the list to be
looked at?
.

  #4   Report Post  
Ken Wright
 
Posts: n/a
Default

That won't exclude zeroes. You can use SMALL but will still need to use
something like Biff's example, eg

=SMALL(IF(Rng<0,Rng),1) array entered.

or

=SMALL(IF(Rng,Rng),1) 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 :-)
----------------------------------------------------------------------------

"R.VENKATARAMAN" wrote in message
...
if you are sure there are some zero values then use
=small(dataange,2)

if you are not sure then use Dmin. see help


jtribe wrote in message
...
in trying to find a min value, how do i exclude zeros from the list to

be
looked at?





  #5   Report Post  
Ken Wright
 
Posts: n/a
Default

or slightly shorter

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

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

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

"Biff" wrote in message
...
Hi!

Array entered with the key combo of CTRL,SHIFT,ENTER:

=MIN(IF(A1:A100<0,A1:A100))

Biff

-----Original Message-----
in trying to find a min value, how do i exclude zeros

from the list to be
looked at?
.





  #6   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

apologies to the newsgroup
=small(datarange,2)
will be ok only if there is only one zero
probably I was hasty.
I modified this to
=IF(MIN(A1:A13)=0,SMALL(A1:A13,COUNTIF(A1:A13,"0") +1),MIN(A1:A13))
but I found that others have since given more elegant
solutions.


R.VENKATARAMAN wrote in message
...
if you are sure there are some zero values then use
=small(dataange,2)

if you are not sure then use Dmin. see help


jtribe wrote in message
...
in trying to find a min value, how do i exclude zeros from the list to

be
looked at?









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
# of Functions per cell SUB-ZERO Excel Worksheet Functions 3 January 23rd 05 10:35 PM
PivotTable canned functions doco Excel Discussion (Misc queries) 0 January 14th 05 03:52 PM
Paste functions into a new XLS Rush Excel Worksheet Functions 1 January 11th 05 09:37 PM
How to load Engineering Functions into the Fx function wizard? jsaval Excel Worksheet Functions 1 November 11th 04 09:47 PM
Where can I see VBA code for financial functions? eios Excel Worksheet Functions 1 November 2nd 04 01:00 PM


All times are GMT +1. The time now is 02:35 PM.

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

About Us

"It's about Microsoft Excel"