Hi,
I'm trying to write a formula that will replace all the 3's with 4, all the 2's with 3, and all the 1's with 2, but need to do it in this order so it does the 3s first, then the 2s, then the 1s, that way it doesn't apply it twice to the number. The digit is in the first position from the left (e.g. 13029344, 23029344,33029344). Is there a way to do this with a formula? Any help would be appreciated.
Here is what I have for the first change which works, but can't figure out how to get the second and third variables changed with the same formula =SUBSTITUTE(B2,"3","4",1)
I'm trying to write a formula that will replace all the 3's with 4, all the 2's with 3, and all the 1's with 2, but need to do it in this order so it does the 3s first, then the 2s, then the 1s, that way it doesn't apply it twice to the number. The digit is in the first position from the left (e.g. 13029344, 23029344,33029344). Is there a way to do this with a formula? Any help would be appreciated.
Here is what I have for the first change which works, but can't figure out how to get the second and third variables changed with the same formula =SUBSTITUTE(B2,"3","4",1)