Hello all,
I'd be so grateful if you could help me. I have thousands of UK post codes in one column. Most are formatted correctly but many are missing spaces. For any non-UK residents reading this, our post codes either have a 2 character, 3 character or 4 character prefix like this:
A1 2BC
AB1 2CD
AB12 3CD
However, I have a lot of records that are missing those spaces after the prefix, like this:
A12BC
AB123CD
AB12CD
Although the number of characters in the prefix vary, UK postcodes always end with 3 characters after the space.
Is there any way of checking for a space before the last three characters, then adding a space if one isn't found? Or any other solutions you can think of?
Bookmarks