I want to replace the 'AA' in column B with corresponding values in Column A. How can I achieve that. I am looking for following results:
Column A
Bill
Invoice
Column B
ABAACD EFAAGH
ABAACD EFAAGH
Result
ABBILLCD EFBILLGH
ABINVOICECD EFINVOICEGH
In cell C1 use this formula and copy it down:
=SUBSTITUTE(B1,"AA",A1)
Check out the SUBSTITUTE function for more information.
This answer was originally posted as a comment by @tigeravatar: feel free to repost this answer as your own, and leave me a comment so I'll delete this copy. This kind of answer has been stipulated for questions with no answers, but issue solved in the comments .
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.