Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Sep 2001
    Location
    Blue Springs, Missouri, USA
    Posts
    108
    Thanks
    1
    Thanked 0 Times in 0 Posts

    MAX function (XL97)

    I want to use the a function to check for the max value of a series of numbers. The problem is that there are also error values in the row. When I try to use MAX, it returns the error code instead of the maximum value.

    44 43 50 #N/A #N/A

    Any thoughts / ideas how I can get around this? I have done it programmatically before but was hoping to use the function. TIA

    Dennis
    <img src=/S/gramps.gif border=0 alt=gramps width=20 height=20>

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: MAX function (XL97)

    Where A9:I9 is the range, try an array formula like this:

    {=MAX(IF(ISNUMBER(A9:I9),A9:I9,))}

    Do not enter the "{}" signs, enter the formula without them and press Control-Shift-Enter instead of Enter.
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: MAX function (XL97)

    If those values are in A1;E1, then the formula below, ARRAY ENTERED, should give you the MAX of the numeric values:

    <pre>=MAX(IF(ISERROR(A1:E1),-999999999999999,A1:E1))
    </pre>

    Legare Coleman

Posting Permissions

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