+ Reply to Thread
Results 1 to 4 of 4

Max and Min value between 2 dates omitting zeros and blank

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Max and Min value between 2 dates omitting zeros and blank

    Hello Friends

    Please find the attached file (Max and Min value between 2 dates omitting zeros and blank.xlsx)

    I need to find the max and min values by formula in light yellow cells.
    Please omit / ignore the blank cells and zero cells for minimum and maximum calculation.

    thanks in advance
    Sekar

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Max and Min value between 2 dates omitting zeros and blank

    Put in G2:
    =MAX(($A$1:$A$30>=$E2)*($A$1:$A$30<=$F2)*($B$1:$B$30<>"")*($B$1:$B$30>0)*($C$1:$C$30))

    Put in H2:
    =MIN(IF($A$1:$A$30<=$E2,IF($A$1:$A$30<=F2,IF(C1:C30>0,IF(C1:C30<>"",C1:C30)))))

    and make sure press all together CTRL+SHIFT+ENTER button (array formula style)

    and then copied down as necessary

    cheers

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Max and Min value between 2 dates omitting zeros and blank

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

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

    dont need zero check for max unless you have all negative numbers

    in H2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Max and Min value between 2 dates omitting zeros and blank

    Hello Azumi and humdingaling

    Thanks for both of your formulas.

    thanks again

+ 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] Text to Columns is omitting zeros. How do I stop that?
    By jambog in forum Excel General
    Replies: 5
    Last Post: 07-02-2015, 11:26 AM
  2. [SOLVED] Plotting last set of given N numbers by omitting bottom zeros.
    By thilag in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2015, 07:14 AM
  3. Omitting zeros from chart for future dates/formula in use...
    By Lexen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-22-2013, 11:15 PM
  4. Frequency function omitting zeros and errors
    By ArekRos in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-04-2012, 06:11 PM
  5. transposing chart, omitting zeros
    By redfur in forum Excel General
    Replies: 1
    Last Post: 04-27-2011, 04:53 PM
  6. Find Min Value omitting blanks or zeros
    By bjohnsonac in forum Excel General
    Replies: 3
    Last Post: 01-06-2011, 12:43 PM
  7. Excel 2007 : Choose minimum value omitting zeros?
    By zaqop4 in forum Excel General
    Replies: 4
    Last Post: 07-16-2010, 07:53 AM

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