+5 votes
165 views
in Sell ​​on the Internet by (242k points)
reopened
FIND Excel: all about the FIND Excel function

1 Answer

+3 votes
by (1.6m points)
edited
 
Best answer

Use SEARCH in Excel correctly
Excel's FIND function in practice
FIND Excel - Usage Examples
REPLACE AND FIND: first nests
Excel FIND function in summary

image

FIND Excel: all about the FIND Excel function

Regardless of whether you are a master of spreadsheets and Excel or are just starting out in this world, the command to find a document is part of the foundations of keyboard shortcuts and Excel shortcuts..

Whether you choose the classic Office package or one of the free alternatives, you can search a text using [Ctrl] + [F], in all software, from Google Sheets to a common browser.

As an alternative to this shortcut, Excel offers the SEARCH function. In addition to its main use, that is to find a term in the Excel table, it also has other functions. In this article we explain how to use it..

Index
  1. Use SEARCH in Excel correctly
  2. Excel's FIND function in practice
  3. FIND Excel - Usage Examples
  4. REPLACE AND FIND: first nests
  5. Excel FIND function in summary

Use SEARCH in Excel correctly

If you work with large spreadsheets, you probably know that specific words, strings, or formulas can often be difficult to find. The same goes for typos and coding errors. Excel has the more classic [Ctrl] + [F] search function , but if you only want to search a certain area of ​​cells or a certain piece of text, this keyboard shortcut is not entirely useful.

In this case, the Find or Find and Replace function has many limitations. If for example you want to substitute? And? for? o ?,? may? will become? maoo ?. So looking for these errors in large documents or long lines of code can be very annoying..

The SEARCH function in Excel is very useful if you are doing text analysis for statistical purposes and you want to know where in the text a letter or word, a sequence of characters or a number appears. Especially when creating and evaluating content, FIND in Excel can be of great help.

Excel's FIND function in practice

FIND Excel has a very simple structure. It only requires two pieces of information: What are you looking for? And where do you search (text or area)? The syntax is as follows:

  =HALLAR(Texto_buscado;Dentro_del_texto)  

The FIND and FINDB functions have a syntax similar to that of FIND or FINDB. The difference is that Excel FIND does not take into account the difference between upper and lower case and the FIND function does.

In addition, you can delimit from which character or at what point the search is carried out:

 

  =HALLAR(Texto_buscado;Dentro_del_texto;[Primer_carácter])  

These are the possible data:

  • Search_text : Text, number or sequence of words you want to search
  • Within_the_text : Search zone, cell or cell zone
  • Initial_Num : This value is optional and determines the character of the text from which you want to search Within_the_text . If you do not enter any data, the search will start at the beginning of the text.

The result indicates where the Search_Text begins . If there are multiple instances, the Excel SEARCH function must be nested.

FIND Excel - Usage Examples

The following examples show how Excel's SEARCH function behaves in practice:

  =HALLAR("e";A2;6)  
image
Excel SEARCH indicates the position of defined character sequences.

In this case, we look for the position of the first? E? in the character sequence of cell A2, starting from the 6th position. The result is? 8 ?, since in position 8 appears the first? E? if we start from position 6. In this way you can carry out, for example, text analysis.

  =HALLAR(A1;A2)  
image
Excel SEARCH allows you to find repeating passages of text.

The position of? Text? from cell A1 into? sample text? is position 1. In this context, you don't have to distinguish between upper and lower case.

image
Excel SEARCH also allows you to search for specific text.

The same happens if you search for? Text? as written text. Thus, you can detect, for example, misspelled names in databases.

image
The wild card ??? lets you find different ways to write something.

In contrast to the FIND function, Excel's SEARCH function allows you to use the ??? wildcard. This is very useful for detecting different ways of writing something. In this way, you can avoid the #VALUE! Error message . if the value does not match the spelling of the parsed cell.

REPLACE AND FIND: first nests

Using simple nesting with the REPLACE function, you can substitute terms with Excel's SEARCH function. The following example replaces? Example? by? Modelo ?.

  =REEMPLAZAR(A2;HALLAR(A3;A2);8;"Modelo")  
image
Excel FIND allows you to modify the text in certain positions with REPLACE AND FIND.

If you want to take full advantage of the potential of this formula, you can use it for more complex uses, for example shortening or lengthening serial numbers or encrypted content.

  =EXTRAE(A2;HALLAR("-";A2;HALLAR("-";A2;HALLAR("-";A2)+1))+1;HALLAR("-";A2;HALLAR("-";A2;HALLAR("-";A2)+1)+1)-HALLAR("-";A2;HALLAR("-";A2;HALLAR("-";A2)-1))-3)  
image
Excel FIND is very useful for shortening article numbers or number sequences.

Excel FIND function in summary

Excel's SEARCH function may seem complicated at first. But it can be very useful, especially if you want to clean or unify databases . The FIND function is very easy to combine with the FIND function, you just have to keep in mind the following:

  • the wild card ??? only works with FIND command
  • only in the FIND function can you distinguish between upper and lower case

Apart from FIND, Excel also has the formula HALLARB . Both functions have the same structure, the difference lies in the readable characters. Excel HALLAR includes, among others, the Latin alphabet, with special characters such as cedilla or accents in Spanish. For Asian symbols such as those used by Chinese, Japanese and Korean, use the HALLARB function . This is due to the way the characters are counted.


...