TGViewer
MS Excel for Data Analysis MS Excel for Data Analysis @excel_analyst ยท 73.1K subscribers
Post #2254 3K
๐Ÿ“Š Excel Basics #26 โ€“ LEN(), FIND() & SEARCH() Functions

When working with real-world data, text is often messy.

You may need to count characters, find specific words, or locate symbols inside text.

That's where LEN(), FIND(), and SEARCH() become useful.

๐Ÿ“Œ 1. LEN() Function

LEN() counts the number of characters in a text string.

Syntax:

=LEN(text)

Example:

=LEN("Excel") โ†’ Result: 5

Spaces are also counted.

=LEN("Data Analyst") โ†’ Result: 12

๐Ÿ“Œ 2. FIND() Function

FIND() returns the position of one text string inside another.

Syntax:

=FIND(find_text, within_text, [start_num])

Example:

=FIND("@","rahul@gmail.com") โ†’ Result: 6

The "@" symbol appears at position 6.

โš ๏ธ FIND() is case-sensitive.

=FIND("A","Data") finds uppercase "A". Searching for lowercase "a" gives a different result.

๐Ÿ“Œ 3. SEARCH() Function

SEARCH() also finds the position of text inside another text string.

Syntax:

=SEARCH(find_text, within_text, [start_num])

Example:

=SEARCH("analyst","Data Analyst") โ†’ Result: 6

Unlike FIND(), SEARCH() is not case-sensitive.

So =SEARCH("ANALYST","Data Analyst") also returns: 6

๐Ÿ“Œ FIND() vs SEARCH()

FIND():

โ€ข Case-sensitive

โ€ข Does not support wildcards

โ€ข Useful when exact capitalization matters

SEARCH():

โ€ข Not case-sensitive

โ€ข Supports wildcards such as ** and ?

โ€ข Useful for flexible text searches

๐Ÿ“Œ Real-World Example

Suppose: A2 = "rahul.sharma@gmail.com"

Find the position of "@":

=FIND("@",A2) โ†’ Result: 13

Count the total characters:

=LEN(A2)

Use with LEFT(), RIGHT(), or MID() to extract parts.

To extract everything before "@":

=LEFT(A2,FIND("@",A2)-1) โ†’ Result: rahul.sharma

๐Ÿ“Œ Common Mistake

If FIND() or SEARCH() cannot find the text, Excel returns: #VALUE!

Handle it using:

=IFERROR(SEARCH("@",A2),"Not Found")

๐Ÿ“Œ Real-World Uses

โ€ข Find "@" in email addresses

โ€ข Locate hyphens or separators in IDs

โ€ข Count characters in customer names

โ€ข Extract usernames from email addresses

โ€ข Clean and transform raw datasets

โ€ข Identify whether specific text exists within a cell

Remember:

LEN() โ†’ How many characters?

FIND() โ†’ Where is it? Case-sensitive

SEARCH() โ†’ Where is it? Not case-sensitive

These functions become even more powerful when combined with LEFT(), RIGHT(), MID(), and IFERROR().

Double Tap โค๏ธ For More
  • โค 11
  • ๐Ÿ‘ 1
More from @excel_analyst
  1. Oct 8, 2026๐ŸŽ“ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ฒ๐˜€! ๐Ÿš€๐Ÿ”ฅ Upgrโ€ฆ
  2. Oct 7, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 5 This part focuses on Tables, Filters & Data Analysis shortcutsโ€ฆ
  3. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  4. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  5. Sep 29, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 3 This part focuses on Formatting Shortcuts โ€” quickly format celโ€ฆ
  6. Sep 29, 2026๐—™๐—ฅ๐—˜๐—˜ ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐—ง๐—ผ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—”๐—œ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ๐Ÿš€ โ€‹ Explore 6 free resourceโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’