Function Problems

Use MIN, IF, and ROUND to Find the Smallest Positive Value in Excel

Huma Ashraf ChHuma Ashraf Ch Nov 25, 2026 871 views

Question details

Find the smallest positive value in an Excel range and round the result.

Use MIN, IF, and ROUND to Find the Smallest Positive Value in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Combine MIN, IF, and ROUND in a worksheet formula, optionally including an additional cell.
Observed behavior
The formula should exclude zero and negative values from the range, then round the minimum to the requested precision.
Before you start

Check that B4:B10 contains the values you want to compare and choose the desired rounding precision. A precision of -2 rounds to hundreds, while 2 rounds to two decimal places.

Solution 1Recommended

Find and Round the Smallest Positive Value with an Array Formula

Use this formula to filter a range for positive values before finding and rounding the minimum.

1
Enter the formula

Select an empty cell and enter =ROUND(MIN(IF(B4:B10>0,B4:B10)),-2). Replace B4:B10 with your range if needed.

2
Confirm the formula

Press Enter in current Excel versions. In older Excel versions, press Ctrl+Shift+Enter to confirm it as an array formula; do not type the surrounding braces yourself.

3
Adjust the precision or include another cell

Edit the final ROUND argument to change the precision. To include B25 in the minimum and round to two decimal places, use =ROUND(MIN(IF(B4:B10>0,B4:B10),B25),2) and confirm it as required by your Excel version.

Find and Round the Smallest Positive Value with an Array Formula
Check the input values: The condition applies only to B4:B10, not B25. Make sure B25 is a positive number if it is included. If the range contains no positive values, the first formula can return 0 rather than indicating that no match was found. Rounding a small positive minimum can also produce 0.
Work with spreadsheet formulas in WPS Office

Find and Round Positive Values in WPS Spreadsheets

Use MIN, IF, and ROUND in WPS Spreadsheets to calculate and round the smallest positive value in a worksheet range.

  1. 1. Open your workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Select an output cell: Click an empty cell where you want the rounded minimum to appear.
  3. 3. Enter the formula: Type =ROUND(MIN(IF(B4:B10>0,B4:B10)),-2), replacing the range and precision as needed.
  4. 4. Confirm and check the result: Press Enter to calculate. If your WPS version requires an array formula, edit the cell and confirm with Ctrl+Shift+Enter.
Find the smallest positive value with a combined spreadsheet formula.Open and edit Microsoft Excel XLSX and XLS files.Use familiar spreadsheet functions and a familiar worksheet interface.
microsoft office alternative - wps office

Frequently Asked Questions

How do I round the minimum to tens instead of hundreds?

Change the final ROUND argument from -2 to -1: =ROUND(MIN(IF(B4:B10>0,B4:B10)),-1). Confirm it as an array formula if your Excel version requires it.

Why does the formula return zero?

The range may contain no positive values, or the positive minimum may round to zero at the chosen precision. Check B4:B10 and try a less negative ROUND argument.

Does the positive-value condition also apply to B25?

No. In =ROUND(MIN(IF(B4:B10>0,B4:B10),B25),2), B25 is passed separately to MIN. A zero or negative value in B25 can therefore become the minimum.

When do I need to press Ctrl+Shift+Enter?

Older Excel versions require Ctrl+Shift+Enter to confirm this array formula. Current Excel versions generally calculate it when you press Enter.