Forum Discussion
find string if not matches replace this to character string
Hello Community can anyone help me to start with excel
I would like to check each cell of a row (F:F) if it not matches with a string ->"keyword"
and then replace each cell with a string called ->"something"
I can"t come closer to this goal allone.
vba would be great
Thank you very much for your help π
=IF(ISNUMBER(SEARCH("*"&I$1&"*",F1))=FALSE,"something",F1)
Is this what you are looking for?
5 Replies
- OliverScheurichGold Contributor
=IF(ISNUMBER(SEARCH("*"&I$1&"*",F1))=FALSE,"something",F1)
Is this what you are looking for?
- excelbaer1Copper Contributor
π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 π
- excelbaer1Copper Contributor
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)