Hello,
I would like to ask the excel experts on how to substitute a text that is located in the middle of the text string. The text that should be replaced is after the word "PIN". Attached is a sample table
Hello,
I would like to ask the excel experts on how to substitute a text that is located in the middle of the text string. The text that should be replaced is after the word "PIN". Attached is a sample table
Assuming what you want to replace is the 7-digit number after the word "PIN", give this formula a try (change "ReplacementValue" to whatever it is you want to replace the 7-digit number with)...
=REPLACE(A3,FIND("PIN",A3)+4,7,"ReplacementValue")
Thank you very much. it works!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks