Set a Minimum Value for an Excel Formula Result
Question details
Set a minimum value for a calculated Excel result without changing results above that minimum.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A formula calculates a value that should never be displayed below a specified threshold.
- Observed behavior
- The result should equal the minimum when the calculation is lower and otherwise retain the calculated value.
Identify the existing calculation and the minimum value you want to enforce. Check the cell references in the formula, including any absolute references such as $D$6.
Use MAX to set a minimum formula result in Excel
Wrap the existing calculation in MAX to return either the calculated value or the minimum, whichever is greater.
In Excel, select the cell containing the calculation and click the formula bar.
Replace the formula with =MAX(C13*$D$6*2,28), or substitute your own calculation and minimum value.
Press Enter. The cell returns 28 when the calculation is below 28; otherwise, it returns the calculated value.

Set a Minimum Formula Result in WPS Spreadsheet
Use the same MAX formula in WPS Spreadsheet to enforce a minimum while retaining higher calculated values.
- 1. Open the workbook: Open WPS Spreadsheet and use File > Open to select your workbook.
- 2. Select the result cell: Click the cell where you want the calculation result to appear.
- 3. Enter the formula: Type =MAX(C13*$D$6*2,28) in the cell or formula bar, adjusting the calculation and minimum as needed.
- 4. Apply the formula: Press Enter to calculate the result, then use File > Save to save the workbook.

Frequently Asked Questions
What happens if the calculation is exactly 28?
The formula =MAX(C13*$D$6*2,28) returns 28 because the calculated value and minimum are equal.
Can the minimum value come from another cell?
Yes. Replace 28 with a cell reference, such as =MAX(C13*$D$6*2,E1), to use the value in E1 as the minimum.
Why does the formula use $D$6 instead of D6?
The dollar signs make $D$6 an absolute reference, so it stays fixed if you copy the formula to another cell.
Will MAX hide errors in the original calculation?
No. If the calculation produces an error, MAX generally returns that error rather than the minimum value. Check the referenced cells and calculation to resolve it.




