Hi
I have 2 cells containing the following text:
ZMT5 Eagle
ZMT5GMT6 Eagle
What I want to loop through each cell and write If statements such that if cell contains Eagle and number of characters in cell =10 (comfortable up until this point) then
(part I'm not sure how to write) replace the 2 characters starting 3 to left of Eagle with a 1 else replace the 2 characters starting 3 to the left and 7 to the left of Eagle with a 1.
So output from the loop would be as follows:
ZM1 Eagle
ZM1GM1 Eagle
If anyone could tell me how to handle the string replacement piece, it would be greatly appreciated.
Thanks
Bookmarks