Utilisez la fonction de recherche dans Excel pour trouver la position d’une sous-chaîne dans une chaîne. La fonction de recherche est insensible à la casse des caractères génériques et supports.

  1. La fonction de recherche ci-dessous trouve la chaîne « ro » à la position 4.

Search Function in Excel

  1. La fonction de recherche est insensible à la casse. La fonction de recherche ci-dessous trouve la chaîne « excel », « Excel », « EXCEL », « EXcel », etc.

Search Function is Case-insensitive

La fonction de recherche prend en charge les caractères génériques. Un point d’interrogation (?) Correspond exactement à un caractère. Un astérisque () correspond à une série de zéro ou plusieurs caractères.

  1. La fonction de recherche ci-dessous trouve la chaîne « 2019 », « 2018 », « 2017 », etc.

Search Function with Question Mark

  1. La fonction de recherche ci-dessous trouve la chaîne « Microsoft Excel 2019 », « Microsoft Word 2019 », « Microsoft Access 2019 », etc.

Search Function with Asterisk

La fonction de recherche a un 3ème argument optionnel. Vous pouvez utiliser cet argument pour indiquer la position, à compter de la gauche, à laquelle vous voulez commencer la recherche.

  1. La fonction de recherche ci-dessous trouve la chaîne « o » à la position 5.

Start Searching at Position 1

  1. La fonction de recherche ci-dessous commence * à la position 6 et trouve la chaîne « o » à la position 7.

Start Searching at Position 6