How can I substitute characters in a string when the same characters are used in both input and output strings
Hi Numbers users,
I am trying to get Numbers 2.3 on OS X (10.9.1) to convert cells containing variable length strings composed of 6 letters, A, B, C, a, b, c into a second string containing the same 6 lettersusing the rule A to c, B to b, and C to a and vice versa, so for example cell A1 might contain string "AcBbCaaB" and I want Numbers to convert this into "cAbBaCCb" in cell B1. I have tried to use the SUBSTITUTE function (nested) without success so far as I end up with the letters either all uppercase or all lowercase. I understand why this is happening and maybe it isn't possible using SUBSTITUTE. Does anyone know if there is another function I can use to do this?
Thanks, Hugh.
iMac (27-inch Late 2009), OS X Mountain Lion (10.8.4)