- Excel Check For Text String
- Mac Excel Check For Text Contained In A Cells
- Excel Check For Text In A Cell
Supposing, you have a list of text strings in column A, now, you want to test each cell if it contains one of several values based on another range D2:D6. If it contains any of the specific text in D2:D6, it will display True, otherwise, it will show False as following screenshot shown. In this video I show you how to use the Excel function ISTEXT to detect if a cell contains text.
Let's say you want to find text that begins with a standard company prefix, such as ID_ or EMP-, and this text must be in uppercase letters. There are several ways to check if a cell contains text and the case of the text matters to you.
Compare one cell to another cell
To do this task, use the EXACT function.
Note: EXACT is case-sensitive but ignores formatting differences.
Compare one value to a list of values
![Cell Cell](/uploads/1/2/6/2/126205349/383970410.png)
To do this task, use the EXACT and OR functions.
Note: If you have a current version of Office 365, then you can simply enter the formula in the top-left-cell of the output range, then press ENTER to confirm the formula as a dynamic array formula. Otherwise, the formula must be entered as a legacy array formula by first selecting the output cell, entering the formula in the output cell, and then pressing CTRL+SHIFT+ENTER to confirm it. Excel inserts curly brackets at the beginning and end of the formula for you. For more information on array formulas, see Guidelines and examples of array formulas.
Check if part of a cell matches specific text
To do this task, use the IF, FIND, and ISNUMBER functions.
The formula in the above screenshot uses the following arguments.