Hi Bonnie,
To achieve the desired result, you can use the
MIN function in Excel. Here's the formula you can use in cell
Q32:
Code:
=IF(Q31="",Q30,MIN(Q30,Q31))
Let me explain how this formula works:
- The IF function checks if Q31 is blank. If it is, then it returns the value in Q30. If not, it moves to the next part of the formula.
- The MIN function compares the values in Q30 and Q31 and returns the lesser of the two.
- The entire formula combines these two parts to give you the desired result.
You don't need to use an extra column for this. Simply enter the formula in cell
Q32 and it will give you the result you need.