FIND function

2016-04-30

What Does It Do?

 

This function can be used to find the first occurrence of a text string within another text string.

 

Syntax

 

FIND(Text to find, Text, Start position)

  • Text to find (required) – This is the text you want to find within another text string.
  • Text (required) – This is the text you want to search within.
  • Start position (optional) – This is the result the function will return if the expression is false. If nothing is entered here the function will return FALSE when the expression is false.

 

Example

Get Example Workbook

In this example we search for the word “cookies” in the text “I love cookies, cookies are great!”. The first example omits the optional starting position =FIND(B3,C3) and returns an 8 which is the character position of the first instance of the word “cookies”. The second example has the starting position as 9 and therefore only starts looking for “cookies” after the first instance =FIND(B4,C4,D4) and returns 17.

 

 

Hmm, I think I’ll go have a cookie now…

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and freelance consultant and trainer specializing in Excel, Power BI, Power Automate, Power Apps and SharePoint. You can find other interesting articles from John on his blog or YouTube channel.

Subscribe

Related Articles

UPPER function

This function will convert text to all uppercase letters. Syntax UPPER(Text)...

read more

LOWER function

This function will convert text to all lower case letters. Syntax LOWER(Text)...

read more

Comments

0 Comments

Get The Latest News

Follow Us

Follow us on social media to stay up to date with the latest tips in Excel!

Pin It on Pinterest