P
pseudonym
I have a formula, but it does not quite meet with my needs.
=REPLACE(A1,LEN(A1)-2,0,REPT(" ",8-LEN(A1)))
gives the result:
Eg:
AB19PQ
PE548YT
Changes it to:
AB1 9PQ
PE54 8YT
The 7-digit postcode is spaced correctly, but I would like an extra
space to appear in the 6-digit postcode i.e. AB 1 9PQ
Any ideas?
Thanks.
=REPLACE(A1,LEN(A1)-2,0,REPT(" ",8-LEN(A1)))
gives the result:
Eg:
AB19PQ
PE548YT
Changes it to:
AB1 9PQ
PE54 8YT
The 7-digit postcode is spaced correctly, but I would like an extra
space to appear in the 6-digit postcode i.e. AB 1 9PQ
Any ideas?
Thanks.