Hi All
Could anyone please help to advise how to extract a postal code from an address column into a separate column using formula?
Here is a sample of what seems to be 4 different variations of the data:
[TABLE="width: 255"]
<TBODY>[TR]
[TD]JOHOR BAHRU JOHOR 80250 M'SIA </SPAN>
[/TD]
[/TR]
[TR]
[TD]86800 MERSING JOHOR M'SIA </SPAN>
[/TD]
[/TR]
[TR]
[TD]DI JALAN AMPANG </SPAN>
[/TD]
[/TR]
[TR]
[TD]JALAN NB2 10/2 , TAMAN NUSA
[/TD]
[/TR]
</TBODY>[/TABLE]
The postal code is not in a fixed position as you can see in line 1(80250) and line 2(86800).
Line 3 does not have a postal code and line 4 doesn't either but it has other numbers(also not in a fixed position) which is part of a street name.
What seems to be consistent is that the postal code is always a 5 digit number.
Your advice would be very much appreciated.
Yours truly,
Amir A</SPAN>
Could anyone please help to advise how to extract a postal code from an address column into a separate column using formula?
Here is a sample of what seems to be 4 different variations of the data:
[TABLE="width: 255"]
<TBODY>[TR]
[TD]JOHOR BAHRU JOHOR 80250 M'SIA </SPAN>
[/TD]
[/TR]
[TR]
[TD]86800 MERSING JOHOR M'SIA </SPAN>
[/TD]
[/TR]
[TR]
[TD]DI JALAN AMPANG </SPAN>
[/TD]
[/TR]
[TR]
[TD]JALAN NB2 10/2 , TAMAN NUSA
[/TD]
[/TR]
</TBODY>[/TABLE]
The postal code is not in a fixed position as you can see in line 1(80250) and line 2(86800).
Line 3 does not have a postal code and line 4 doesn't either but it has other numbers(also not in a fixed position) which is part of a street name.
What seems to be consistent is that the postal code is always a 5 digit number.
Your advice would be very much appreciated.
Yours truly,
Amir A</SPAN>
Last edited: