Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create dynamic reference table name in Excel
  • How To Create Frequency Distribution in Excel
  • How to do a t-Test in Excel?
  • Get column name from index in Excel Table
  • Conditional Formatting Color Scales Examples in Excel

References

  • Count unique text values with criteria
  • Get nth match with INDEX / MATCH in Excel
  • How to get relative column numbers in a range in Excel
  • How to use Excel ROWS Function
  • Count rows with at least n matching values

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation allow weekday only
  • Excel Data validation require unique number
  • Excel Data validation don’t exceed total
  • Excel Data validation date in next 30 days

Highlight numbers that include symbols in Excel

by

This tutorial shows how to Highlight numbers that include symbols in Excel using the example below;

Formula

=IF(ISNUMBER(B4),B4<input,IF(LEFT(B4)="<",(MID(B4,2,LEN(B4))+0)<input))

Explanation

To highlight numbers less than a certain value, including numbers entered as text like “<9”, “<10”, etc., you can use conditional formatting with a formula strips the symbols as needed and handles the result as a number. In the example shown, “input” is a named range for cell G2.

How this formula works

The formula first uses the ISNUMBER function to test if the value is a number, and applies a simple logical if so:

=IF(ISNUMBER(B4)

For any number less than the value in “input”, the formula will return TRUE and the conditional formatting will be applied.

However, if the value is not a number, the formula then checks if the first character is a less than symbol (<) using the LEFT function:

IF(LEFT(B4)="<"

If so, the MID function is used to extract everything after the symbol:

MID(B4,2,LEN(B4)

Technically, the LEN function returns a number 1 greater than we need, since it includes the “<” symbol as well. If this bothers you, feel free to subtract 1.

The result of MID is always text so the formula adds zero to force a Excel to convert the text to a number. This number is then compared to the value from “input”.

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel TRUE Function
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • IF, AND, OR and NOT Functions Examples in Excel
  • Check multiple cells are equal in Excel
  • Nested IF function example in Excel

Date Time

  • Convert time to time zone in Excel
  • How to join date and text together in Excel
  • How to calculate next scheduled event in Excel
  • Convert date string to date time in Excel
  • List holidays between two dates in Excel

Grouping

  • Group arbitrary text values in Excel
  • Map inputs to arbitrary values in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • How to randomly assign people to groups in Excel

General

  • 44 Practical Excel IF function Examples
  • 3D SUMIF for multiple worksheets in Excel
  • How to calculate percent variance in Excel
  • How to calculate percent sold in Excel
  • Excel Autofill Cell Ranges, Copy, Paste
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning