Formula Errors

Use an Excel MIN Array Formula That Ignores Blank Cells

Emma BrownEmma Brown Nov 25, 2026 868 views

Question details

Calculate the minimum value for matching records while excluding blank cells from the source range.

Use an Excel MIN Array Formula That Ignores Blank Cells
Product
Microsoft Excel
Device & OS
not provided
Scenario
A summary sheet needs the minimum value from a data sheet for records matching a specified criterion.
Observed behavior
The MIN array formula can return zero when the source range contains blank cells.
Before you start

Identify the criteria range, the cells containing values, and the cell containing the match criterion. Make sure the criteria and value ranges cover the same rows.

Solution 1Recommended

Exclude Blank Cells in a MIN Array Formula

Use this formula when you need to match a criterion and calculate the minimum from nonblank cells.

1
Enter the formula

Select the result cell on the Summary sheet and enter =MIN(IF(('Cleansed Data'!$I$2:$I$1000=Summary!$D$4)*('Cleansed Data'!$F$2:$F$1000<>""),'Cleansed Data'!$F$2:$F$1000)).

2
Adjust the references

In the formula bar, replace the sheet names and ranges if needed. Column I is the criteria range, Summary!D4 is the criterion, and column F contains the values to evaluate.

3
Confirm the formula

Press Enter in a current version of Excel. In older Excel versions, press Ctrl+Shift+Enter to confirm it as an array formula.

Exclude Blank Cells in a MIN Array Formula
Check zero results: A genuine numeric zero is included in the minimum. MIN can also return zero if no numeric values satisfy the conditions.
Calculate conditional minimums

Calculate a Minimum Without Blanks in WPS Spreadsheets

Use a conditional MIN array formula in WPS Spreadsheets to find the lowest matching value while excluding blank source cells.

  1. 1. Open your workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Select the result cell: Go to the Summary sheet and click the cell where you want the minimum to appear.
  3. 3. Enter the formula: In the formula bar, enter =MIN(IF(('Cleansed Data'!$I$2:$I$1000=Summary!$D$4)*('Cleansed Data'!$F$2:$F$1000<>""),'Cleansed Data'!$F$2:$F$1000)), adjusting the references to match your workbook.
  4. 4. Confirm and save: Press Enter, or use Ctrl+Shift+Enter if your WPS version requires array-formula confirmation. Check the result, then use File > Save.
Exclude blank cells from conditional minimum calculationsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet formulas and cell references
microsoft office alternative - wps office

Frequently Asked Questions

Why does my MIN array formula return zero when there are blank cells?

An array calculation can treat blank source cells as zero. Add a condition such as range<>"" inside IF to exclude them before MIN calculates the result.

Does the formula exclude real zero values?

No. The condition <>"" excludes blanks but retains numeric zero. If zero is a valid matching value, it can still be the minimum.

When do I need Ctrl+Shift+Enter?

In older Excel versions, select the formula cell and confirm the MIN(IF(...)) formula with Ctrl+Shift+Enter. Current Excel versions generally accept it with Enter.

Why is the result still zero after excluding blanks?

Check the matching rows for a real zero. MIN can also return zero when no numeric values satisfy the conditions, and MINIFS returns zero when no cells meet its criteria.

Can I use whole-column references in the array formula?

You can, but limiting the references to the rows containing data, such as F2:F1000 and I2:I1000, can improve performance. Keep both ranges aligned.