+ Reply to Thread
Results 1 to 3 of 3

Finding MAX number (excluding a particular number)

  1. #1
    Johnny
    Guest

    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. #2
    Forum Contributor
    Join Date
    03-03-2005
    Posts
    316
    Use Array formula:

    =MAX((D3:D7<>125)*(D3:D7))

    Ctrl+Shift+Enter


    David

  3. #3
    Ron Rosenfeld
    Guest

    Re: Finding MAX number (excluding a particular number)

    On 24 Apr 2005 04:06:53 -0700, "Johnny" <flem1064@gmail.com> 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1