Function Problems

WPS Spreadsheet IF Formula to Return a Cell Value or Minimum

Huda QurayshiHuda Qurayshi Nov 12, 2026 869 views

Question details

The user needs an IF formula that returns the value in D3 when D3 is not blank, or the minimum value from D3:R3 when D3 is empty.

Product
WPS Spreadsheet
Device & OS
not provided
Scenario
The formula is entered in C3 and evaluates the contents of D3 and the range D3:R3.
Observed behavior
The desired result is for C3 to display D3 when D3 contains a value and display the smallest value in D3:R3 when D3 is blank.
Before you start

Confirm that D3 is the cell being tested and that D3:R3 is the complete range from which the minimum should be calculated. Select C3, or another output cell outside the tested range, before entering the formula.

Solution 1Recommended

Use IF, ISBLANK, and MIN in WPS Spreadsheet

Use this formula when D3 may be empty and the result should switch between D3 and the minimum value in D3:R3.

The ISBLANK function checks whether D3 is truly empty. If it is blank, MIN(D3:R3) returns the smallest numeric value in the range; otherwise, the formula returns the value from D3.

1
Select the output cell

Open the worksheet and click cell C3, or another cell where you want the result to appear.

2
Enter the formula

Type =IF(ISBLANK(D3),MIN(D3:R3),D3) in the formula bar or directly in the selected cell.

3
Confirm the formula

Press Enter to calculate the result. WPS Spreadsheet returns D3 when it contains a value and the minimum value in D3:R3 when D3 is empty.

Formula result: If D3 is blank, C3 returns the smallest numeric value found in D3:R3. If D3 contains a value, C3 returns that value.

Calculate Conditional Values with WPS Spreadsheet Formulas

WPS Spreadsheet lets you enter and evaluate IF, ISBLANK, and MIN functions in a familiar worksheet interface. Use the formula bar to return a cell value or calculate a range minimum based on whether the selected cell is empty.

  1. 1. Open a spreadsheet: Launch WPS Office and open the workbook containing the D3:R3 data range.
  2. 2. Choose the result cell: Click C3 or another output cell outside D3:R3.
  3. 3. Enter the conditional formula: Type =IF(ISBLANK(D3),MIN(D3:R3),D3) into the formula bar and press Enter.
  4. 4. Check both outcomes: Temporarily enter a value in D3 and clear it again to verify that the result switches between D3 and the range minimum.
Create conditional results with IF, ISBLANK, and MIN functions.Evaluate D3 and the D3:R3 range without helper cells.Use a familiar spreadsheet interface with formula-bar editing and recalculation.Open and save Microsoft Excel XLSX workbooks with compatible formatting and formulas.
microsoft office alternative - wps office

Frequently Asked Questions

What formula returns D3 or the minimum of D3:R3?

Enter =IF(ISBLANK(D3),MIN(D3:R3),D3) in C3. The formula returns D3 when it is not blank and the minimum value in D3:R3 when it is empty.

Where should I enter the formula in WPS Spreadsheet?

Select C3, or another output cell outside the D3:R3 range, and enter the formula in the formula bar or directly in the cell.

Why does ISBLANK not detect a cell that looks empty?

ISBLANK detects a genuinely empty cell. If D3 contains a formula that returns an empty string, use =IF(D3="",MIN(D3:R3),D3) instead.

What happens if D3 contains text?

The first formula returns the text in D3 because D3 is not blank. If D3 is empty, MIN evaluates the numeric values in D3:R3 and returns the smallest one.