Find the Minimum Value in an Excel Range With Errors
Question details
Find the smallest valid number in an Excel range that contains error values.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Calculate the minimum of cells C2:C9 on the SheetRawData worksheet while ignoring errors.
- Observed behavior
- A MIN formula can return an error when the referenced range contains error values.
Check that the worksheet name and cell range match your data. Make sure the range contains at least one numeric value; MIN returns 0 when there are no numbers to evaluate.
Use MIN with IFERROR to Ignore Errors
Use this formula to find the smallest number while excluding error values from the specified range.
Click the cell where you want the minimum value to appear.
Type =MIN(IFERROR(SheetRawData!C2:C9,"")), replacing the sheet name and range with your own if needed.
Press Enter in Microsoft 365 or Excel 2021. In older Excel versions on Windows, press Ctrl+Shift+Enter to enter it as an array formula.

Use MIN Alone for a Range Without Errors
Use the simpler formula when the range does not contain error values.
Find a Minimum Value While Ignoring Errors in WPS Spreadsheets
Use a helper column with IFERROR, then apply MIN to the cleaned values in WPS Spreadsheets.
- 1. Open the workbook: Open your Excel workbook in WPS Spreadsheets and select the SheetRawData worksheet.
- 2. Create a helper formula: Choose an empty helper column. For example, enter =IFERROR(C2,"") in cell D2, provided D2:D9 is unused.
- 3. Fill the helper column: Drag the fill handle from D2 down to D9 to apply the formula to the remaining source cells.
- 4. Calculate the minimum: In the desired result cell, enter =MIN(SheetRawData!D2:D9) and press Enter. MIN returns 0 if the helper range contains no numbers.

Frequently Asked Questions
Why does MIN return an error instead of a number?
MIN can return an error if a referenced cell contains one. Use =MIN(IFERROR(SheetRawData!C2:C9,"")) to replace errors with empty text before calculating the minimum.
Do I need to use Ctrl+Shift+Enter?
In Microsoft 365 and Excel 2021, press Enter for the MIN and IFERROR formula. In older Excel versions on Windows, confirm it with Ctrl+Shift+Enter as an array formula.
What happens if every cell is an error or contains no number?
After IFERROR replaces errors with empty text, MIN returns 0 if there are no numeric values to evaluate. Check the source range if 0 could be mistaken for a valid minimum.
How do I reference a sheet whose name contains spaces?
Put single quotes around the sheet name in the formula, for example: =MIN(IFERROR('Sheet Raw Data'!C2:C9,"")).
What if Excel rejects the formula separators?
Your regional settings may require semicolons instead of commas. Try =MIN(IFERROR(SheetRawData!C2:C9;"")).




