Affiche le premier mot et la 1ére lettre du mot suivant

Bonsoir THIBO,

J'ai testé ta formule mais j'ai dù faire une erreur et elle fonctionne bien avec les prenoms composés mais répéte deux fois la 1ére initiale pour un simple prénom.

Je joins donc une partie de mon fichier allégé.

https://www.excel-pratique.com/~files/doc/test_forum_prenoms_composes.zip

Merci pour ton adie.

Bonjour,

Une nouvelle version corrigée (j'espère) :

SI(OU(A1="";SOMMEPROD((CODE(STXT(A1&"[";LIGNE(INDIRECT("1:"&NBCAR(A1)+1));1))>96)*1)=0);A1;GAUCHE(A1;EQUIV(VRAI;CODE(STXT(A1;LIGNE(INDIRECT("1:"&NBCAR(A1)));1))>96;0)-1))&SI(MAX((CODE(STXT(A1&"[";LIGNE(INDIRECT("1:"&NBCAR(A1)+1));1))<91)*LIGNE(INDIRECT("1:"&NBCAR(A1)+1)))=EQUIV(VRAI;CODE(STXT(A1&"µ";LIGNE(INDIRECT("1:"&NBCAR(A1)+1));1))>96;0)-1;"";" "&STXT(A1;MAX((CODE(STXT(A1;LIGNE(INDIRECT("1:"&NBCAR(A1)));1))<91)*LIGNE(INDIRECT("1:"&NBCAR(A1))));1))

Matricielle, donc CTRL + MAJ + ENTREE

Voir fichier joint

https://www.excel-pratique.com/~files/doc/F3cLwNom_Initiales_Prenom.zip

@+

Bonsoir THIBO,

Un grand merci pour ton aide et bonne nouvelle la formule fonctionne à merveille.

Je te remercie encore.

Rechercher des sujets similaires à "affiche premier mot 1ere lettre suivant"