Quote:
Originally Posted by Jayjones
Hi guys - trying to replace or substitute data to almost right of string ie want excel to always count 5 characters from right of cell but then only replace 4 of the characters with XXXX leaving last character as it was eg 1234abcde becomes 1234XXXXe or 123456abcdesfgh becomes 123456abcdXXXXh. I have tried right function with replace but can't manage to leave last digit intact. The replacing text is always XXXX
|
Hi,
Does the data follow any sort of pattern with regard to how many characters in length and where abouts in the string the section that needs replacing is?