+ Reply to Thread
Results 1 to 3 of 3

MIN/MAX IF To Ignore Blanks

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    USA
    MS-Off Ver
    2019 16.0.13205.200000 64-bit
    Posts
    61

    Question MIN/MAX IF To Ignore Blanks

    Guys, I have an interesting case again. Basically I've got a formula that looks up a minimum with an if condition, that if being a group. I got 2 groups: 1 and 0, BUT some of the values do NOT have a group assigned to them (meaning there's a blank value in those cells). For group 1 formula works just fine, but for group 0 it also processes those blank values as well (apparently thinking that 0 is the same as blank, which in this case is NOT), showing a wrong minimum as a result. Please have a look at the sample attached.

    So basically what I'm looking for is a way to use the same formula BUT ignoring blank values when calculating for group 0. Any ideas, good people?
    Attached Files Attached Files
    Last edited by splendidus; 07-03-2012 at 05:14 AM.
    Office 2019 16.0.13205.200000 64-bit

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,766

    Re: MIN/MAX IF To Ignore Blanks

    Here, try this array:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    05-09-2012
    Location
    USA
    MS-Off Ver
    2019 16.0.13205.200000 64-bit
    Posts
    61

    Re: MIN/MAX IF To Ignore Blanks

    Quote Originally Posted by zbor View Post
    Here, try this array:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you so much, zbor! Worked like a charm. I wish I was smart enough to come up with such an elegant solution %)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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