
To check whether the cell includes the exact text Passed or not, let's create the formula using the IF statement. When a logical test is run, the IF function returns a binary value (TRUE or FALSE). One of the first functions that comes to mind when you hear words like check is IF. This allows us to determine whether a cell in this column has the words Passed or Failed.įor instance, in this case, we will determine whether the word Passed is present in a cell before adding a comment to the newly added Remarks column. There are no extra words or strings present. There won't be any more conditions attached.įor instance, every cell in our dataset's Grade column has the words Passed or Failed. Cell contains specific text only in excel:Ī cell that may or may not contain exactly the text (string) we're looking for can be searched through. Let’s have a closer look at how to find if cell contains specific text in excel. In a real-world situation, you can come across a much bigger and more complicated dataset.


To keep things easy, take note that this is a rudimentary dataset. We will use this dataset to determine whether or not a cell includes a particular text.

Let's learn more about the dataset that serves as the foundation for our examples first.Ī table with the names and grades of various pupils is available. Today, we'll demonstrate how to determine whether a cell includes a particular piece of text. Conditions in Excel could call for verifying whether a cell has a particular text or not.
