This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
You can do it all in one formula tool like you are trying but its far easier to follow the logic if you break it out into a couple of tools. I have used text to column and a formula tool to recombine it with the relevant 19 or 20 prefix.