Ravindra BagaleCourses & study guides Track your progress

Excel SEARCH Function

Chala mitrano — sEARCH is FIND’s relaxed cousin. Case does not matter, and * ? wildcards work.

Fictional sample data for learning. Messy product notes (Surat catalogue + Leeds marketplace). Mixed ₹ and £.

Purpose

Find the starting position of text inside another string. Case-insensitive, and supports ? and * wildcards.

Return value

A 1-based position number, or #VALUE! if not found.

Syntax

SEARCH(find_text, within_text, [start_num])

Arguments

ArgumentRequired?Description
find_textRequiredText to find (wildcards allowed).
within_textRequiredText to search.
start_numOptionalStart position (default 1).

Version

All Excel versions. LibreOffice Calc has SEARCH with similar behaviour.

How to use — Why → What → How

Why: Surat catalogue notes mix case when staff type fabric names. Leeds marketplace titles do the same. SEARCH finds the word regardless of case. SEARCH powers contains-checks in catalogue notes. Contrast it with FIND on Cotton vs cotton in the same minute. Wildcards deserve a tiny demo, not a chapter of theory.

What: SEARCH returns the position of find_text without caring about letter case. ? matches one character; * matches any run of characters. Read every argument in the table once before you type; each one changes the answer on purpose.

How — numbered steps:

  1. Type =SEARCH("cotton",A2).
  2. Use the number with MID/LEFT if needed.
  3. Try wildcards like "cot*".
  4. Wrap IFERROR for missing words.
  5. Prefer FIND when case must match exactly (passwords, codes).

Ravindra Bagale's Tip

Friends, use SEARCH when users type cotton or Cotton or COTTON in notes.

Ravindra Bagale's Tip

Friends, sleep on SEARCH and rebuild example 1 tomorrow without looking. That five-minute test beats rereading the whole page.

Ravindra Bagale's Tip

Friends, after you finish SEARCH, open yesterday’s real workbook and find one place this function would have saved ten minutes. That habit turns lessons into salary skills.

Download practice file: practice-search.xlsx (includes sheet About this data, practice sheets, and Answers).

Worked examples

1) Case-insensitive

Surat notes.

Note
Soft Cotton shirt
soft cotton shirt
Formula: =SEARCH("cotton",A2)

Result: 6

What it means: Finds Cotton ignoring case.

2) Wildcard *

Leeds titles.

Title
Blue cotton tee
Red wool hat
Formula: =SEARCH("cot*",A2)

Result: 6

What it means: cot* matches cotton.

3) Not found

Missing word.

Note
Silk scarf
Formula: =SEARCH("cotton",A2)

Result: #VALUE!

What it means: No match.

4) With IFERROR

Flag presence.

Note
Soft Cotton shirt
Silk scarf
Formula: =IFERROR(SEARCH("cotton",A2),"No")

Result: 6

What it means: Number if found (or No on silk row).

5) start_num

Skip prefix.

Code
XX-cotton-41
Formula: =SEARCH("cotton",A2,4)

Result: 4

What it means: Search begins at 4.

6) vs FIND

FIND would fail on case.

Note
Cotton
Formula: =SEARCH("cotton",A2)

Result: 1

What it means: SEARCH succeeds where FIND("cotton") would #VALUE!.

About this data. Small demo rows for learning. Real sheets are longer; the same formula pattern scales when columns are clean.

Common errors and fixes

#VALUE! — Not found. Fix: IFERROR or check spelling.
Unexpected wildcard match — * or ? in data. Fix: Escape carefully or use FIND for literal symbols.

Notes and tips

  • SEARCH ignores case.
  • Wildcards: ? one char, * many.
  • FIND when case must match.
  • Catalogue teams in Surat and Leeds type casually. SEARCH powers simple 'contains' checks before FILTER was common.
  • SEARCH vs FIND: case and wildcards. SEARCH vs XLOOKUP wildcards: different tools — SEARCH returns a position.
  • Fictional sample data only — practice amounts and names are made for learning.
  • After the 10 tasks, re-read the errors table once.
  • Say the business question in plain words before you type equals.
  • Keep a scrap sheet for experiments so you do not overwrite class files.
  • Fill formulas down only after the first row looks correct.
  • When two answers look possible, write both on paper then test in Excel.
  • SEARCH powers contains-checks in catalogue notes. Contrast it with FIND on Cotton vs cotton in the same minute. Wildcards deserve a tiny demo, not a chapter of theory.
  • Revisit the SEARCH errors table after the quiz — most classroom mistakes are listed there.
  • Build one brand-new example on a blank sheet from memory before you close the laptop.
  • If a result looks wrong, check spaces with LEN and case with exact equals before changing the formula.
  • Share one tip from this page with a classmate in Marathi or Hindi — teaching locks the idea.
  • Keep currency symbols consistent inside a single report column even when practice mixes ₹ $ £ € across examples.
  • When Excel versions differ at home and in class, write the fallback formula under the modern one in a comment cell.
  • Print the revision card for SEARCH and stick it near your monitor for one week of real worksheets.
  • When helping a junior, ask them to predict the result before pressing Enter — prediction builds judgement.
  • Keep a personal notebook of the one mistake you make most often with this function; review it monthly.

In real work

Catalogue teams in Surat and Leeds type casually. SEARCH powers simple 'contains' checks before FILTER was common. SEARCH powers contains-checks in catalogue notes. Contrast it with FIND on Cotton vs cotton in the same minute. Wildcards deserve a tiny demo, not a chapter of theory. Classroom drill: write three brand-new SEARCH formulas on a blank sheet using names from your own city — if you can invent them without the page open, you own the skill. Then break one formula on purpose (wrong case, wrong start, extra space) and watch the error; recovering from that break is half of interview readiness.

How it compares

SEARCH vs FIND: case and wildcards. SEARCH vs XLOOKUP wildcards: different tools — SEARCH returns a position.

Interview corner

Case-sensitive?
No.
Wildcards?
Yes — ? and *.
Not found?
#VALUE!.

FIND, MID, SUBSTITUTE

Practice tasks (10)

  1. Task 1. SEARCH cotton in Soft Cotton shirt.
    Hint: case ignored.
  2. Task 2. Try cot* wildcard.
    Hint: star.
  3. Task 3. IFERROR when missing.
    Hint: wrap.
  4. Task 4. Compare FIND vs SEARCH on Cotton.
    Hint: lowercase find_text.
  5. Task 5. start_num example on XX-cotton-41.
    Hint: start 4.
  6. Task 6. Fill SEARCH for three notes.
    Hint: fill down.
  7. Task 7. Explain ? vs *.
    Hint: one vs many.
  8. Task 8. Flag Yes/No contains cotton.
    Hint: IF + SEARCH.
  9. Task 9. Note one Leeds/Surat use case.
    Hint: catalogues.
  10. Task 10. Interview answer: case?
    Hint: insensitive.

Quick quiz

Q1. SEARCH("cotton","Soft Cotton") finds:
Q2. Case:
Q3. Wildcard for many chars:
Q4. Not found:
Q5. Exact case needed → use:

Answers: Q1=A position number, Q2=Insensitive, Q3=*, Q4=#VALUE!, Q5=FIND (check after you try).

Revision card

Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.

Revision card: SEARCH
SEARCH revision card