Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Finding MAX number (excluding a particular number)

I did a search for help on this, but didn't find anything.
Using MAX to find the largest number in a column: =MAX(D3:D7)

If one of those numbers = 125, then I would like to exclude it from the
calculation. I've tried using DMAX, and IFs, but I can't get it to
work.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Finding MAX number (excluding a particular number)

On 24 Apr 2005 04:06:53 -0700, "Johnny" wrote:

I did a search for help on this, but didn't find anything.
Using MAX to find the largest number in a column: =MAX(D3:D7)

If one of those numbers = 125, then I would like to exclude it from the
calculation. I've tried using DMAX, and IFs, but I can't get it to
work.


Use this **array** formula:

=MAX(IF(D3:D7<125,D3:D7))

To enter an **array** formula, after typing it in, hold down <ctrl<shift
while hitting <enter. Excel will place braces {...} around the formula.


--ron
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
Subtracting number of days excluding the weekend The Rook[_2_] Excel Discussion (Misc queries) 2 February 17th 09 09:15 AM
finding last number in row excluding 0's Joe Excel Worksheet Functions 8 August 20th 08 03:21 AM
lowest number in a set EXCLUDING zero Bad Kitty Excel Worksheet Functions 2 November 3rd 06 10:34 PM
finding a number and the number of times it occurs luposlipophobia Excel Discussion (Misc queries) 3 June 22nd 06 03:51 AM
Is there a way to get an average, excluding the lowest number? TNTraining Excel Discussion (Misc queries) 7 June 2nd 05 10:12 PM


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