Min If that ignores blanks

scotthannaford1973

Board Regular
Joined
Sep 27, 2017
Messages
110
Office Version
  1. 2010
Platform
  1. Windows
Hi

I have the formula below that brings up the minimum in a range (BA) where another range (AZ) equals a particular cell (BD) - which works - except as here are some blanks in BD, it includes the blank as the minimum. How do I exclude blanks? Thanks!


=MIN(IF($AZ$8:$AZ$401=BD10, $BA$8:$BA$401))

1644240492661.png
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try
Excel Formula:
=MIN(IF(($AZ$8:$AZ$401=BD10)*($BA$8:$BA$401<>""), $BA$8:$BA$401))
 
Upvote 0
Solution
Would this also work Fluff? For my own learning.

=MINIFS($BA$8:$BA$401,$AZ$8:$AZ$401,BD10,$BA$8:$BA$401,"<>""")
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,876
Members
449,056
Latest member
ruhulaminappu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top