Hello,
I was trying to replace certain values with other values (e.g., 1 to 100, 2 to 80) and used the following syntax:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B3,1,100), 2,80), 3,60), 4,40), 5,20), 6,0)
However, for the value 3, it generated 00 as output instead of 60. It had changed 3 to 60, and then changed the 6 in 60 to a 0, which resulted in 00. Is there a way to prevent Excel from double substituting like this?
Thank you.
Bookmarks