Forum Discussion
find string if not matches replace this to character string
- Dec 02, 2021
=IF(ISNUMBER(SEARCH("*"&I$1&"*",F1))=FALSE,"something",F1)
Is this what you are looking for?
๐Thank you Quadruple Pawn , i did it with your formular.
Can you do that also for me in VBA ?
I would like to see and learn from it, couse if i try i can not walk two meters allone in that syntax.
Please if you have time , thank you ๐
excelbaer1 Wieder kleiner Vertipper drinn ๐
SOLUTION in
1German and 2 Englisch
1
Spalte F wird durchsucht ob Keyword in Zelle steht, wenn nicht รคndere Zelleninhalt in "something".
In Zelle I1 Zeichenkette eingeben nach der gesucht werden soll. (keyword)
Ausgabe der Formel in neuer Spalte mit
=WENN(ISTZAHL(SUCHEN("*"&I$1&"*";F1))=FALSCH;"something";F1)
Collum F get searched if it not contains keyword , if not change the cell to string something .
=IF(ISNUMBER(SEARCH("*"&I$1&"*";F2))=FALSE;"something";F2)