Formula Errors

Use an Excel IF Formula to Check for an Increase Over 5%

Chanuka GeekiyanageChanuka Geekiyanage Nov 25, 2026 868 views

Question details

Determine whether a current value is more than 5% higher than a previous value using an Excel IF formula.

Use an Excel IF Formula to Check for an Increase Over 5%
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%.
Before you start

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.

Solution 1Recommended

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%.

1
Select a result cell

Open the worksheet in Excel and click an empty cell where you want the result to appear.

2
Enter the formula

Type =IF((D10-D4)/D4>5%,"Greater than 5%","Less than or equal to 5%") in the selected cell, then press Enter.

3
Check the result

Read the result in the formula cell. Replace D4 and D10 in the formula if your previous and current values are in different cells.

Compare the Percentage Increase with 5% Using IF
Check the starting value: A starting value of zero causes a division error. A negative starting value requires a separately defined comparison because the usual percentage-change formula can be misleading.
Calculate percentage changes

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. 1. Open the workbook: Open WPS Spreadsheet, select Open, and choose your workbook.
  2. 2. Check the values: Confirm that D4 contains a positive previous value and D10 contains the current value.
  3. 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. 4. Save the workbook: Select Save to keep the formula and its result in the workbook.
Identify increases greater than 5% with an IF formula.Open and edit Microsoft Excel XLSX and XLS files.Work with familiar spreadsheet formulas and cell references.
microsoft office alternative - wps office

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.