Excel if cell contains text then...

Solved
caba_44 Posted messages 107 Status Membre -  
 RENOU -
Hello everyone,

I have a slight issue that I would like to resolve with a formula.
If my cell A1 contains the text "NBR", then write NBR in cell B1
Knowing that cell A1 = O'Ring NBR 70 Shore A.

How can I do this?

Looking forward to hearing from you,

Mathieu

Configuration: Windows Vista / Firefox 12.0

7 answers

Vaucluse Posted messages 27336 Registration date   Status Contributor Last intervention   6 450
 
Hello
in B1
=IF(COUNTIF(A1,"*NBR*"),"NBR","")

watch out for the signs
thanks
388
caba_44 Posted messages 107 Status Member 5
 
Great, it's working...

Thank you for your response

See you very soon :)

Mathieu
2
Dani_California Posted messages 1 Status Member
 
@Vaucluse: simple, quick, effective solution. Well done and thank you!!!!
1