Note: The other languages of the website are Google-translated. Back to English

Excel FIND function

doc find function 1


Description

The FIND function is used to find a string within another string, and returns the starting position of the string inside another one. Supposing, =FIND("ea","pear") returns 2 which means to find the starting position of "ea" in "pear".

Syntax and arguments

Formula syntax

FIND(find_text,with_text,[start_num])

Arguments

  • Find_text: Required, the string or character you want to find.
  • Within_text: Reuquired, the string contains the find_text you want to find.
  • Start_num: Optional, the starting position in the within_text to search find_text. If omitting this argument, it is assumed to be 1.

Return Value

The FIND function returns the starting position of a string inside another one.

Remarks

1. The FIND function returns the starting position of the first instance of find_text in within_text.

2. The FIND function always returns the number of characters from the start of within_text.

3. If the find_text is empty, the FIND function returns the character numbered start_num, if start_num is omitted, returns 1.

4. The FIND function is case sensitive and does not support wildcards.

Errors

1. If the FIND function cannot find the find_text in the within_text, it returns #VALUE error.

2. If the start_num is not greater than zero, the FIND function returns #VALUE error.

3. If the start_num is longer that the within_text, the FIND function returns #VALUE error.

Usage and Examples

Example 1 Find start from first character in another string

=FIND(B3,C3,1)

 

Find_text Within_text Start_num Result  Formula Description
 a  banana 1  2  =FIND(B3,C3,1)  Find position of ”a” form the first character of “banana”

doc find function 2

=FIND(B4,C4,1)

 

Find_text Within_text Start_num Result  Formula Description
na  banana 1  3  =FIND(B4,C4,1) Find position of “na” form the first character of “banana”

doc find function 3

Example 2 Find start from nth character in another string

=FIND(B5,C5,3)

 

Find_text Within_text Start_num Result  Formula Description
 a  banana 3  4  =FIND(B5,C5,3) Find position of “a” from the third character of “banana”

doc find function 4

Example 3 Find string in case sensitive

=FIND(B6,C6,1)

 

Find_text Within_text Start_num Result  Formula Description
 a  banana 1  5  =FIND(B6,C6,1) Find position of “t” form the first character of “Ten tons” in case sensitive

doc find function 5

Download sample

find-function.xlsx


Relative Functions:

  • Excel DOLLAR Function
    The CHAR function is used to convert a number to text in the currency formatting, with the decimals rounded to the given number of decimal places.

  • Excel CLEAN Function
    The CLEAN function is used to remove all non-printable characters from the given text.

  • Excel CODE Function
    The CODE function returns a numeric code of a character or the first character in a given text string cell.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet

Follow Us

Copyright © 2009 - www.extendoffice.com. | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL