Formatting Issues

Excel Conditional Formatting for Numeric Cells Greater Than a Value

Khadija KhanKhadija Khan Dec 2, 2026 869 views

Question details

Highlight cells containing numbers greater than a specified value without highlighting text or mixed content.

Excel Conditional Formatting for Numeric Cells Greater Than a Value
Product
Microsoft Excel
Device & OS
not provided
Scenario
Apply conditional formatting to a range containing both numeric and nonnumeric cells.
Observed behavior
Only cells with numeric values above the chosen threshold should be highlighted.
Before you start

Identify the range to format, its upper-left cell, and the threshold value. The example below uses A1 as the upper-left cell and 10 as the threshold.

Solution 1Recommended

Use a Formula-Based Conditional Formatting Rule in Excel

Use ISNUMBER with a greater-than comparison to highlight numeric values while excluding text.

1
Select the range

Select the cells you want to format, such as A1:A100.

2
Create a formula 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

Enter =AND(ISNUMBER(A1),A1>10). Replace A1 with the upper-left cell of your selected range and 10 with your threshold.

4
Choose the format

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

5
Check the applied range

Go to Home > Conditional Formatting > Manage Rules and confirm that Applies to covers the intended cells.

Use a Formula-Based Conditional Formatting Rule in Excel
Text and cell references: Numbers stored as text are excluded. Keep A1 relative so the rule adjusts for each cell; use dollar signs only when a row or column needs to stay fixed.
WPS Spreadsheets

Highlight Numeric Values in WPS Spreadsheets

Use a formula-based conditional formatting rule in WPS Spreadsheets to highlight numbers above your threshold while excluding text.

  1. 1. Open your spreadsheet: Open WPS Spreadsheets and use Open to select your workbook.
  2. 2. Select the target cells: Select the range to format, such as A1:A100.
  3. 3. Add a formula rule: On the Home tab, choose Conditional Formatting > New Rule and select the option to use a formula. Enter =AND(ISNUMBER(A1),A1>10), adjusting A1 and 10 for your range and threshold.
  4. 4. Set the highlight: Choose a format, such as a fill color, and confirm the rule. Save the workbook when finished.
Highlight numeric cells without including text or mixed contentOpen and edit Microsoft Excel XLSX filesUse a familiar spreadsheet interfaceAdjust the formula and threshold for your selected range
microsoft office alternative - wps office

Frequently Asked Questions

Will the rule highlight numbers stored as text?

No. ISNUMBER returns FALSE for numbers stored as text. Convert them to numeric values first if you want them included.

How do I change the threshold?

In Excel, go to Home > Conditional Formatting > Manage Rules, edit the rule, and replace 10 in the formula with your desired value.

What if my selected range starts at B2?

Use B2 as the formula reference, for example =AND(ISNUMBER(B2),B2>10), and apply the rule to the range starting at B2.

Can the rule include the threshold value itself?

Yes. Replace > with >=, as in =AND(ISNUMBER(A1),A1>=10), to highlight numeric values equal to or greater than 10.

Will a formula returning a number be highlighted?

Yes. If the formula's result is numeric and greater than the threshold, the conditional formatting rule highlights the cell.