SEARCH Function in Excel: Position of Text (Any Case, Wildcards)

SEARCH Function in Excel: Position of Text (Any Case, Wildcards) featured illustration

📎 This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

TextLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. SEARCH in practice
  6. Where you will use it
  7. Worked example
  8. Mistakes people make
  9. Related functions
  10. Continue learning

SEARCH works like FIND but ignores case and accepts wildcards (? and *). With ISNUMBER it becomes a “contains” test.

Advertisement

Syntax

=SEARCH(find_text, within_text, [start_num])
Argument What it means
find_text Text to find; wildcards allowed.

Examples

Example 1

=ISNUMBER(SEARCH("urgent", F2))

TRUE if the note contains “urgent” in any case.

Example 2

=IF(ISNUMBER(SEARCH("cable", D2)), "Cable", "Other")

Categorise by keyword.

SEARCH in practice

Where you will use it

  • Find words regardless of case
  • Contains check: ISNUMBER(SEARCH("tea",A2))
  • Wildcard search

Worked example

TextFormulaResult
Masala Tea=IFERROR(SEARCH("tea",A2),"not found")8
GREEN TEA=IFERROR(SEARCH("tea",A3),"not found")7
Coffee=IFERROR(SEARCH("tea",A4),"not found")not found

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Case-sensitive needUse FIND
Wildcards in dataUse ~ to search for real * or ?

FIND · COUNTIF · IF

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

⚡ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

📎 Practice files for this article

  • 📗
    Practice workbook: Text & cleaning24 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX · 35 KB

Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong

Leave a Reply

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