Finance

Charts

Statistics

Macros

Search

How to use the SEARCH function in Excel

The SEARCH function is used to locate the position of a substring within a string. For example, it can find the position of the letter « S » in the word « JOURNALISM. » The SEARCH function is case-insensitive, meaning it does not distinguish between uppercase and lowercase letters.

The syntax for the SEARCH function is:
=SEARCH(find_text; within_text; [start_num])

  • find_text: The text or substring you want to find.
  • within_text: The text in which you want to search for the substring.
  • start_num (optional): The position in the text where the search should begin. If omitted, the search starts from the first character.

Practical Examples of the SEARCH Function

Example 1:
Search for the position of « T » in cell A1 in the table below.

  1. Go to cell B2 and type:
    =SEARCH(« T »; A1; 1)

  1. Press Enter.

The position of « T » in cell A1 is 3.

Example 2:
Search for the position of « MAN » in cell C1 in the table below.

  1. Go to cell D2 and type:
    =SEARCH(« MAN »; C1; 1)S

  1. Press Enter.

The position of « MAN » in cell D1 is 2.

0 0 votes
Évaluation de l'article
S’abonner
Notification pour
guest
0 Commentaires
Le plus ancien
Le plus récent Le plus populaire
Online comments
Show all comments
Facebook
Twitter
LinkedIn
WhatsApp
Email
Print
0
We’d love to hear your thoughts — please leave a commentx