+ Reply to Thread
Results 1 to 4 of 4

calculate maximum of a range and ignore if it is 0.

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    79

    calculate maximum of a range and ignore if it is 0.

    How to calculate maximum of a range and ignore if it is 0. like if max(A1:A6) = 0 and -6 is the second maximum number i want maximum number that is not equal to zero. implement the same logic through excel formulas.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: calculate maximum of a range and ignore if it is 0.

    TRY MAXif

    =max(if((A1:A6<>0,A1:a6))

    Ctrl+Shift+Enter
    To make it array function
    Punnam

  3. #3
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: calculate maximum of a range and ignore if it is 0.

    another alternative,

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If this helped and you wish to say thanks, then Please click on the Star* icon below this post.

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: calculate maximum of a range and ignore if it is 0.

    Hi,

    if you're using Excel 2010 a possible way could be:


    Formula: copy to clipboard
    Please Login or Register  to view this content.




    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How do I calculate up to a set maximum number?
    By necht_angel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2013, 11:50 AM
  2. calculate maximum value every nth rows
    By MacBranco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2012, 04:35 AM
  3. Calculate the maximum TEXT values in a range, but exclude one value?
    By kpratico in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-19-2010, 04:00 PM
  4. [SOLVED] Function: Ignore Mimimum and Maximum Values
    By Michael J in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2006, 04:45 PM
  5. [SOLVED] Function: Ignore Mimimum and Maximum Values
    By Michael J in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-06-2006, 02:10 PM

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