Excel Conditional Formatting for Numeric Cells Greater Than a Value
Question details
Highlight cells containing numbers greater than a specified value without highlighting text or mixed content.

- 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.
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.
Use a Formula-Based Conditional Formatting Rule in Excel
Use ISNUMBER with a greater-than comparison to highlight numeric values while excluding text.
Select the cells you want to format, such as A1:A100.
On the Home tab, select Conditional Formatting > New Rule, then choose Use a formula to determine which cells to format.
Enter =AND(ISNUMBER(A1),A1>10). Replace A1 with the upper-left cell of your selected range and 10 with your threshold.
Select Format, choose a fill or other formatting style, and select OK to save the rule.
Go to Home > Conditional Formatting > Manage Rules and confirm that Applies to covers the intended cells.

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. Open your spreadsheet: Open WPS Spreadsheets and use Open to select your workbook.
- 2. Select the target cells: Select the range to format, such as A1:A100.
- 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. Set the highlight: Choose a format, such as a fill color, and confirm the rule. Save the workbook when finished.

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.




