SEARCH vs FIND: When Case Sensitivity Matters
You're locating "lamp" inside product names to split or flag them, but half your data says "Lamp" and half says "lamp" — and your formula keeps throwing #VALUE! on rows that clearly contain the word.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
Both functions return the character position where text is first found — in "Desk Lamp - Black", the word starts at position 6 — and both return #VALUE! when it isn't found at all. The difference is what counts as found. SEARCH is case-insensitive: "lamp" matches "Lamp", "LAMP", and "lamp" alike, which is what messy real-world data needs. FIND is case-sensitive: =FIND("lamp",A2) on "Desk Lamp" returns #VALUE! because the capital L doesn't match — the single most common surprise with these functions. SEARCH also accepts wildcards (? for one character, * for any run), so =SEARCH("l?mp",A2) matches lamp and limp; FIND treats ? and * as literal characters. Default to SEARCH, and reach for FIND only when capitalization is the point — like telling product code "AB" from "ab".
When to use it
Use SEARCH to locate a word before splitting with LEFT/MID, or to flag rows containing a keyword regardless of typing. Use FIND when case is meaningful — distinguishing "IT" the department from "it" the word.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveDownload the proof sheet (.xlsx)Last reviewed 2026-07-09