Flag Rows Where a Cell Contains Specific Text
A notes column holds free text — order comments, ticket descriptions, delivery instructions — and you need to flag every row that mentions a certain word, wherever it appears in the cell.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
You can't test "contains" with A2="rush" — that only matches cells that say exactly rush and nothing else. SEARCH returns the position where the text starts (a number) when it's found, and a #VALUE! error when it isn't. ISNUMBER converts that into a clean TRUE or FALSE, and IF turns it into your two labels. SEARCH ignores case, so "RUSH - client launch" matches too; if capitalization must matter (matching a code like "ID" but not "id"), swap in FIND, which is case-sensitive but otherwise identical.
When to use it
Use it to route orders whose notes mention rush or urgent, flag tickets that reference refund, or tag transactions whose descriptions contain a vendor name.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveDownload the proof sheet (.xlsx)Last reviewed 2026-07-09