Bonjour,
Sauriez-vous traduire cette formule en vba ? Ce sont des formules countif (NB.SI en francais) concatenees.
J'ai 75 valeurs dans le tableau initial (colonne B) et je ne peux que concatener 64 fois les countif.
=IF(COUNTIF(H671,"*"&$B$3&"*")=1,$B$3,IF(COUNTIF(H671,"*"&$B$4&"*")=1,$B$4,IF(COUNTIF(H671,"*"&$B$5&"*")=1,$B$5,IF(COUNTIF(H671,"*"&$B$6&"*")=1,$B$6,IF(COUNTIF(H671,"*"&$B$7&"*")=1,$B$7,IF(COUNTIF(H671,"*"&$B$8&"*")=1,$B$8,IF(COUNTIF(H671,"*"&$B$9&"*")=1,$B$9,IF(COUNTIF(H671,"*"&$B$10&"*")=1,$B$10,IF(COUNTIF(H671,"*"&$B$11&"*")=1,$B$11,IF(COUNTIF(H671,"*"&$B$12&"*")=1,$B$12,IF(COUNTIF(H671,"*"&$B$13&"*")=1,$B$13,IF(COUNTIF(H671,"*"&$B$14&"*")=1,$B$14,IF(COUNTIF(H671,"*"&$B$15&"*")=1,$B$15,IF(COUNTIF(H671,"*"&$B$16&"*")=1,$B$16,IF(COUNTIF(H671,"*"&$B$17&"*")=1,$B$17,IF(COUNTIF(H671,"*"&$B$18&"*")=1,$B$18,IF(COUNTIF(H671,"*"&$B$19&"*")=1,$B$19,IF(COUNTIF(H671,"*"&$B$20&"*")=1,$B$20,IF(COUNTIF(H671,"*"&$B$21&"*")=1,$B$21,IF(COUNTIF(H671,"*"&$B$22&"*")=1,$B$22,""))))))))))))))))))))
Cette formule sert a m'extraire une valeur d'un texte d'une cellule.
Merci beaucoup d'avance