Features of !SEMTools
↑ Navigate Excel tasks and !SEMTools add-in features ↑

Detect text characters

Highlight Latin characters in Excel cells with color
Latin letters, accented ones included, turn red right inside the text. Greek, Japanese, digits and symbols keep their color.

When working with imported content or data from external sources, you often need to filter out junk rows that don’t contain text and keep only those that do.

The simplest way to perform such a filter is to display a Boolean value (TRUE or FALSE) next to each cell — does it contain real text or not?

Find Text Using a Formula

Excel includes a built-in function called ISTEXT, but it's not always reliable for this use case. It simply checks the formatting of the cell — so even if a cell contains just a space, a number formatted as text, or a punctuation mark, ISTEXT will still return TRUE. If that works for your case, you’re good to go. But most users asking how to detect text in a cell are really looking for actual letters — not formatting.

So, before asking how to detect text, define what you consider to be “text.”

Some users consider only alphabetic characters (letters) to be real text.

If that sounds like you, the following formula will help. It uses the NOT and EXACT functions, with help from LOWER and UPPER, to check for the presence of letters:

=NOT(EXACT(LOWER(A1), UPPER(A1)))
ISTEXT vs “has letters”
C2=NOT(EXACT(LOWER(A2),UPPER(A2)))
ABC
1ValueISTEXTHas letters?
2HelloTRUE=ISTEXT(A2)TRUE=NOT(EXACT(LOWER(A2),UPPER(A2)))
312345 (text)TRUE=ISTEXT(A3)FALSE=NOT(EXACT(LOWER(A3),UPPER(A3)))
4---TRUE=ISTEXT(A4)FALSE=NOT(EXACT(LOWER(A4),UPPER(A4)))
5Café 24/7TRUE=ISTEXT(A5)TRUE=NOT(EXACT(LOWER(A5),UPPER(A5)))
62026-10-22TRUE=ISTEXT(A6)FALSE=NOT(EXACT(LOWER(A6),UPPER(A6)))
7№ 5TRUE=ISTEXT(A7)FALSE=NOT(EXACT(LOWER(A7),UPPER(A7)))

All six values are stored as text, so ISTEXT is TRUE for each. The letter check is TRUE only where the text changes between LOWER and UPPER — real letters in any alphabet.

The logic is simple: if the cell content remains the same after converting to both lowercase and uppercase, it likely contains no letters — since LOWER and UPPER only affect letters.

Find letters and digits in a cell

Other users may consider digits (0–9) to be part of text content as well. Such a set of symbols (letters plus digits) is usually referred to as Alphanumeric letters. Read the article on how to find alphanumeric characters.

Check whether Excel cells contain Latin letters, numbers or alphanumeric characters
Three fast TRUE/FALSE checks. Greek «Αθήνα» passes only as alphanumeric, while «***» and «—» fail all three.

In !SEMTools, these checks are in FIND → Characters → By type → Return TRUE (faster): Alphanumeric, Latin and Numbers. Select the cells, click the check you need, and every cell turns into TRUE or FALSE.

Find Specific Text Characters

If you want to detect specific types of characters — for example, only Latin, or only digits — use one of the following dedicated tools:

For more advanced needs, try the "Find cells by regular expression" tool in the same section.


See also:

Need to find text-containing cells in Excel?
!SEMTools helps you do it in just a few clicks!

Leave a Reply

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

*