FormulaCraft

How to highlight cells that contain specific text in Excel and Google Sheets

Topic:Conditional formatting
Excel & Google Sheets
=ISNUMBER(SEARCH("pending",A2))

Verified example

Computed by a real spreadsheet engine on the sample data below.

Status
Pending approval
Completed
Pending review
Approved

=ISNUMBER(SEARCH("pending",A2))TRUE

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Select the range to format, e.g. A2:A20.
  2. 2Open Conditional Formatting and choose the 'Use a formula' option.
  3. 3Enter =ISNUMBER(SEARCH("pending",A2)), set your highlight color, and save the rule.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Can I highlight based on a cell reference instead of a hardcoded word?

Yes. Put the keyword in a cell like E1, then use =ISNUMBER(SEARCH($E$1,A2)) in the conditional formatting formula so you can change the keyword without editing the rule.

More on Conditional formatting

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: