Use an Excel IF Formula to Check for an Increase Over 5%
Question details
Determine whether a current value is more than 5% higher than a previous value using an Excel IF formula.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to compare a current value in D10 with a previous value in D4 and display a result based on the percentage increase.
- Observed behavior
- The formula should return a label indicating whether the increase exceeds 5%.
Confirm that D4 contains the previous value and D10 contains the current value, and that both cells contain numbers. The formula below assumes the previous value is greater than zero.
Compare the Percentage Increase with 5% Using IF
Use this formula when the previous value is positive and you want a text result showing whether the increase exceeds 5%.
Open the worksheet in Excel and click an empty cell where you want the result to appear.
Type =IF((D10-D4)/D4>5%,"Greater than 5%","Less than or equal to 5%") in the selected cell, then press Enter.
Read the result in the formula cell. Replace D4 and D10 in the formula if your previous and current values are in different cells.

Check Percentage Increases in WPS Spreadsheet
Use the same IF formula in WPS Spreadsheet to compare a current value with a positive previous value and flag increases over 5%.
- 1. Open the workbook: Open WPS Spreadsheet, select Open, and choose your workbook.
- 2. Check the values: Confirm that D4 contains a positive previous value and D10 contains the current value.
- 3. Enter the formula: Click an empty cell and enter =IF((D10-D4)/D4>5%,"Greater than 5%","Less than or equal to 5%"), then press Enter.
- 4. Save the workbook: Select Save to keep the formula and its result in the workbook.

Frequently Asked Questions
What happens if the increase is exactly 5%?
The formula returns "Less than or equal to 5%" because the > operator checks for an increase strictly greater than 5%. Use >=5% in the formula if an exact 5% increase should qualify.
Why does the formula show a division error?
If D4 is zero, dividing by D4 produces a #DIV/0! error. Check the previous value in D4; a percentage increase from zero cannot be calculated with this formula.
Can I change the 5% threshold?
Yes. Edit the formula cell and replace 5% with another threshold, such as 10%, then press Enter.
What if my values are in different cells?
Edit the formula and replace D4 with the cell containing the previous value and D10 with the cell containing the current value. Use a positive previous value for this comparison.




