Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
210 views
in Technique[技术] by (71.8m points)

excel - Replace part of string with values in other columns

I am trying to replace a part of string in "input1" with values in column "input2" to get the "output" as shown:

enter image description here

Any idea how to do this in MS excel?

question from:https://stackoverflow.com/questions/65842327/replace-part-of-string-with-values-in-other-columns

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try below formula-

=SUBSTITUTE(A2,"replace_this",B2)

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...