Hello all,
1st time post, so apologies if it is in the wrong section etc.
I am attempting to write a formula to change a character in text, but only if it is present.
So, for example, the text is "AB1oABCD" it should be AB10ABCD [The o replaces with a zero]
The logic is something along the lines of 'If the 4th character is the letter o, replace it with the number 0, if it is not, then leave the text as it is'
i have tried using the LEFT and RIGHT functions to point an IF function at the 4th character, then if the IF says there is a o in the 4th character position, REPLACE is used to change it to a 0. I can't seem to get it to work. I would like to avoid VBA and macros if possible.
Can anyone help ?
Thanks in advance !
EDIT: Solved, well i think so, see my post further down.
Bookmarks