Formatting Issues

Excel Conditional Formatting for Values Outside ±10%

Huma Ashraf ChHuma Ashraf Ch Dec 2, 2026 869 views

Question details

Highlight cells whose values differ by more than 10% from corresponding reference values.

Highlight Values Outside ±10% in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Compare each cell in one range with the value in the same row of another range, or with one fixed reference cell.
Observed behavior
Cells outside the ±10% tolerance should be highlighted; values within or exactly at the tolerance should remain unhighlighted.
Before you start

Identify the cells to format and their reference cells. In the example below, D2:D100 contains the values to highlight and E2:E100 contains numeric reference values.

Solution 1Recommended

Create a formula-based conditional formatting rule in Excel

Use this rule to highlight values in column D that differ by more than 10% from their references in column E.

1
Select the target range

Select D2:D100, starting at D2 so that D2 is the active cell.

2
Create a new rule

On the Home tab, select Conditional Formatting > New Rule, then choose Use a formula to determine which cells to format.

3
Enter the formula

In the formula field, enter =ABS($D2-$E2)>0.1*ABS($E2). The row references adjust for each cell in the selected range.

4
Choose a format

Select Format, choose a fill color or other style, and select OK to save the format and rule.

Create a formula-based conditional formatting rule in Excel
Comparing with one fixed value: To compare every cell with E2 instead of the value in the same row, use =ABS($D2-$E$2)>0.1*ABS($E$2).
WPS Spreadsheet

Highlight values outside a 10% tolerance in WPS Spreadsheet

Use a formula-based conditional formatting rule in WPS Spreadsheet to compare each value with its corresponding reference and highlight values outside the tolerance.

  1. 1. Open the spreadsheet: Open WPS Spreadsheet and use Open to select your workbook.
  2. 2. Select the values: Select D2:D100, starting at D2 so the formula uses the first row of the selected range.
  3. 3. Add the rule: Choose Home > Conditional Formatting > New Rule and select the option to use a formula. Enter =ABS($D2-$E2)>0.1*ABS($E2).
  4. 4. Set the highlight: Choose a format such as a fill color, then confirm the rule to highlight matching cells.
Highlight values that exceed a ±10% toleranceWork with Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceCreate and edit spreadsheets for free
microsoft office alternative - wps office

Frequently Asked Questions

Are values exactly 10% above or below the reference highlighted?

No. The formula uses >, so only differences greater than 10% are highlighted. Change > to >= if values exactly at the limit should also be highlighted.

How do I compare every value with the same reference cell?

In the conditional formatting formula, use an absolute reference such as $E$2: =ABS($D2-$E$2)>0.1*ABS($E$2).

Does the formula work with negative reference values?

Yes. ABS($E2) uses the magnitude of the reference value to calculate the 10% threshold, including when the reference is negative.

What happens if the reference value is zero?

The 10% threshold is zero, so any nonzero value in the corresponding target cell is highlighted. A zero target value is not highlighted.