Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

Excel FIND Function

In many situations, you need to locate the certain character or text string within another string present in cells. By doing so, you can find the presence of that specified character to extract the required information from other string. For this purpose, Excel has built-in FIND function to perform this activity in many ways with the help of other functions too.    

Excel FIND function returns the position of a character or substring in another text string as the number. This function returns #VALUE error where the text string is not found in another text string.

Syntax of FIND function is as follows;

=FIND (find_text, within_text, [start_num])

It has three arguments. First 2 arguments are required and the third one is optional.

find_text: This argument contains character or text string that you need to find in other string. You can supply the character or text string directly or as a cell reference.

within_text: This argument contains text string to be searched within. You can directly supply text string or as a cell reference.

start_num: This argument is optional. It is the position in string where the search will start. The first position is 1.

The FIND function returns a numeric value. The first position in the string is 1. A number represents the location of find_text argument in within_text argument.

 

Notes to Use FIND function in Excel

There are some points to remember while using FIND function correctly in Excel.

  • FIND function is case-sensitive, so it will return the position of the exactly matched text string as the number value.
  • If it does not support wildcard characters for partial or case-insensitive search. If you need to locate case-insensitive characters then you must use SEARCH function.
  • within_text argument may contain several occurrences of find_text argument, so FIND function will return the first occurrence of find_text argument. For example, if you need to find character “p” in string “Apple” then FIND returns 2, that is the position of first “p” character in text string “Apple”.
  • If find_text argument contains several characters in substring then FIND function returns the position of the first character of the substring in within_text argument. For example, if you need to locate substring “le” in string “Apple” then FIND function returns 4, that is a position of first character “l” of substring “le”.

For example, you need to locate the position of various characters or substring within other strings using FIND function in the following example.

In the first case, the start number is optional, so it is set to 1 by default. In this example, you need to find character “A” in word “Apple” and FIND function will return 1 as a position of character “A”.

In the second case, you need to find the first occurrence of character “p” where there are multiple occurrences of find_text character.

In the third case, find_text argument has more than one character to find in within_text argument.

In the fourth case, you need to find the case-sensitive search of substring “the” where the string in within_text argument has lower case and Proper case words, like “the” and “The”.

 

Finding Nth occurrence of a character in a text String

Suppose you have multiple occurrences of a specified character like the dash (“-“) in a string, and you want to find the position of Nth occurrence of dash character in the following string, then you need to embed another FIND function in main FIND function, like following formulas;

 

For 2nd occurrence the formula would be like followings;

=FIND("-",A2,FIND("-",A2)+1)

To locate 2nd dash (“-“) in cell A2, you need to embed another FIND function in 3rd argument (start_num) of FIND function, like this;

FIND("-",A2)+1)

For 3rd occurrence the formula would be like followings;

=FIND("-",A2,FIND("-",A2,FIND("-",A2)+1)+2)

To locate 3rd dash (“-“) in cell A2, you need to embed three FIND functions like above. In the 3rd argument (start_num) of 2nd FIND function, you need to embed another FIND function like this;

FIND("-",A2)+1)+2)

Extract N characters following the Nth occurrence of a character

 

Using FIND function within MID function you can extract the N characters following the Nth occurrence of a specified character. Suppose you want to extract 3 characters after the 2nd occurrence of dash character “-“. To do this you need to use FIND function within MID function to extract 3 characters in following formula;

=MID(A2,FIND("-",A2,FIND("-",A2)+1)+1,3)  

MID function extracts N characters from a string based on start_num position of a specified character as per the following syntax;

 

MID(text, start_num, num_chars)

Here you need to find Nth occurrence of a specified character using FIND function in start-num argument of MID function and add 1 in the resulting Nth occurrence of that character in start_num argument, like followings;

FIND("-",A2,FIND("-",A2)+1)+1

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Solution examples
i am using sum to work out balances imported from a csv. If there is no number in the blank column the sum does not work but if i enter 0 and then delete it it works. What is the work around on that? Not had this before
Solved by F. D. in 35 mins
using excel as a checkbook -- formula =IF(ISBLANK(E283),"",N282-J283+L283) after 280 lines it is now just saying VALUE in the balance column (N) What have I done wrong?
Solved by T. Y. in 44 mins
Hi, i need one formula, for example in salary level 200000 to 300000 is coming under 6B 300000 to 450000 is coming under 6A 450000 to 600000 is coming under 5A Now if salary is 280000 so which formula i can use to find their Band lavel
Solved by E. F. in 35 mins
If I have a sheet that pulls data from another sheet. How can I compare if the right data is filled in, after the fact?
Solved by Z. Y. in 43 mins
I have a column where each cell has letters and numbers. The numbers would range from 10 through 18. I would like to find a formula where I can search the cell for any one of the numbers and return a value from a different cell if it finds one. I currently search for a specific number and the formula works but only for that particular number. The formula I currently have is: =IF(ISNUMBER(SEARCH("16",F10)),G10,"") This does work if it finds the value of 16 in the (F10)cell and then places the value from cell "G10" as the result. If it doesn't find the numbers, it will leave the resultant cell blank.
Solved by O. H. in 60 mins

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

Did this post not answer your question?
Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc