Function Problems

How to Find a Less-Than Symbol in an Excel Range Using Formulas

Khadija KhanKhadija Khan Nov 2, 2026 869 views

Question details

The user needs an Excel formula to detect if a specific range contains the less-than symbol (<) and output the symbol in another cell if it is found.

How to Find a Less-Than Symbol in an Excel Range Using Formulas
Product
Excel
Device & OS
not provided
Scenario
Checking a range of cells for the presence of a specific mathematical symbol (<) and returning a text output based on the result.
Observed behavior
The goal state is to have a formula that successfully identifies either an exact match or a partial match of the '<' symbol within a specified cell range.
Before you start

Identify the specific range of cells you want to check and decide whether you need to find cells containing only the less-than symbol or cells containing the symbol anywhere within their text.

Solution 1Recommended

Find Cells Exactly Matching the Less-Than Symbol

Use this method if you want to find cells where the entire content is exactly the '<' symbol, with no other text or numbers.

The COUNTIF function can count the number of cells that match a specific condition. By wrapping the '<' symbol in quotation marks, you force Excel to look for the literal character instead of treating it as a mathematical operator.

1
Select the destination cell

Click on the cell where you want the result to appear.

2
Input the IF and COUNTIF formula

Type the formula =IF(COUNTIF(A1:A10,"<"),"<","") into the formula bar.

3
Adjust the cell range

Replace A1:A10 with the actual target range of your data, then press Enter to execute the formula.

Find Cells Exactly Matching the Less-Than Symbol
Formula Logic: If the count is greater than zero (which evaluates to TRUE), the IF function returns '<'. Otherwise, it returns an empty string.
Efficient Spreadsheet Management

Use WPS Spreadsheet to Handle Complex Formulas Easily

WPS Office provides a highly compatible spreadsheet tool that fully supports standard Excel formulas, including COUNTIF, IF, and wildcard functions, making data analysis straightforward and efficient.

  1. 1. Open your workbook in WPS Spreadsheet: Launch WPS Office, select Spreadsheet, and open the document containing your data range.
  2. 2. Select the output cell: Click on an empty cell where you want the '<' symbol to appear if a match is found.
  3. 3. Apply the COUNTIF formula: Type =IF(COUNTIF(A1:A10,"*<*"),"<",""), adjust the range to fit your data, and press Enter.
Fully compatible with Microsoft Excel formulas, functions, and file formats (.xlsx)Lightweight application that runs smoothly on Windows, Mac, Linux, and mobile devicesFree built-in templates and advanced data analysis tools to boost productivity
microsoft office alternative - wps office

Frequently Asked Questions

Why does COUNTIF treat the less-than symbol as an operator instead of text?

By default, COUNTIF interprets symbols like '<' or '>' as logical operators (e.g., less than a value). By wrapping the symbol in quotation marks or using wildcards (like "*<*"), you force the function to treat it as a literal text string instead.

Can I use this formula to find the greater-than symbol as well?

Yes. Simply replace the less-than symbol in the formula with a greater-than symbol (>), such as =IF(COUNTIF(A1:A10,"*&gt;*"),"&gt;","").

What if I want it to return 'Found' or 'Not Found' instead of the symbol itself?

You can modify the output parameters of the IF function. Use =IF(COUNTIF(A1:A10,"*<*"),"Found","Not Found") to customize the result text according to your needs.