SEARCH function is used to find “position of character or text” in an available cell.
Search function is NOT case sensitive, means it will search “r” for text contains “r” and “R”. If you want to find value with case sensitive, then try FIND Function
=SEARCH(find_text,within_text,[start_num])
find_text argument, is the used to give character/ text or cell reference for which position is required to find
within_text argument, is used to give the cell reference from which find_value to be searched
[start_num] is optional argument and is used to specify the character from which search should be started. By default, the first character is 1, however if you want search should be started from 2nd find_text value then it should be position of 2nd find_text value and so on..
Here we have some examples, where:
– “Column A has various strings,
– “Column B” shows the sample formula that is applied,
– “Column C” shows the output of the function and
– Explanation is provided in Column “D”
– Search function will also work with Wild characters i.e. asterisk (*), question mark (?). Asterisk will find any series of characters and Question mark will find a single character.
– If you want to search actual * or ? (Asterisk or Question Mark) then type tilde (~) before * or ?
– Function should give output in “General” format, however if output is not as per the desired format then we need to change the cell format to “GENERAL”.
– If function parameters are not correctly applied in the function, then it will give output as “#VALUE!”
Don’t forget to leave your valuable comments!
If you liked this article and want to learn more similar tricks, please Subscribe us
REPT function is used to repeat the text or cell reference to multiple times
This tutorial introduces XLOOKUP, a new function in Excel for both vertical and horizontal lookups. Tasks that used to feel super complicated, like left-side lookups, finding the last match, or using VLOOKUP with multiple criteria, are now much easier with XLOOKUP.
Before, you had to choose between VLOOKUP for vertical lookups, HLOOKUP for horizontal ones, or more complex options like INDEX MATCH or Power Query. But now, you don’t have to pick anymore. XLOOKUP can handle all those tasks in one simple function.
Excel Function DATE When you work with dates in Excel, the DATE function is crucial to understand. The reason is that some other Excel functions may not always recognize dates when they are entered as…
Watch: How to use COUNTIF & COUNTIFS Function in Excel? What is COUNTIF Function? In Excel, “COUNTIF” counts the number of cells within a range that meet a single specified criteria. Click here to Read…
Do you work with lots of data in Excel? Sorting, summarizing, and organizing information can take time. You may have used features like outlines, subtotals, or pivot tables before. But now, there’s an even simpler…
SUMPRODUCT function performs multiplication of numbers within arrays and then sum the values SUMPRODUCT function has array1, 2.. arguments.