简体   繁体   中英

How do I replace part of a string from one cell from a string in another cell?

Can someone help me with taking the string from one cell and use it to replace part of a string from another cell?

I have a list of names in column A and a list of messages that use that name in column B. Basically I'm just trying to find "T**-***" and replace it with the name in column A, but I can't seem to find a simple way to do that.

Snip

In C1 enter:

=SUBSTITUTE(B1,"T**-***",A1)

and copy downward:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM