+ Reply to Thread
Results 1 to 6 of 6

extract postcode number into new column

  1. #1
    Forum Contributor
    Join Date
    10-02-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2016
    Posts
    140

    extract postcode number into new column

    Hi..
    I need help
    I have data with include postcode number
    I need to extract the postcode number into a new column
    I have attached sample data
    Postcode is five digit number

    For example
    A B C D E F G
    NO Account No Customer Name PROPERTY ADDRESS 1 PROPERTY ADDRESS 2 PROPERTY ADDRESS 3 PROPERTY ADDRESS 4
    1 06030010187950 CHUN KAI HOE NO.48,JALAN BAYU 5. TAMAN SERI BAYU, 28600 KARAK PAHANG
    2 06030010421950 CHANDRAN NO.57 LADANG SABAI BAHAGIAN KEMASUL 28600 KARAK, PAHANG.


    A B C D E F G H
    NO Account No Customer Name PROPERTY ADDRESS 1 PROPERTY ADDRESS 2 PROPERTY ADDRESS 3 PROPERTY ADDRESS 4 POSTCODE
    1 06030010187950 CHUN KAI HOE NO.48,JALAN BAYU 5. TAMAN SERI BAYU, KARAK, PAHANG 28600
    2 06030010421950 CHANDRAN NO.57 LADANG SABAI BAHAGIAN KEMASUL KARAK, PAHANG. 28600



    Thanks
    Raj
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,586

    Re: extract postcode number into new column

    Try
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: extract postcode number into new column

    From the attached workbook, what I see is that Pin code could be in any column and any position with in the cell. There could be other 5 digit numbers which are not pin codes. If the data is not organised, it is still possible to get the output but you have to give many possible scenarios in routine.

  4. #4
    Forum Contributor
    Join Date
    10-02-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: extract postcode number into new column

    Thanks

    U have solved my Problem
    U r really expert in ms excel ..

    Once again
    Thanks
    Raj

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,586

    Re: extract postcode number into new column

    Found bug.
    Logic
    Last appeared 5 digit number in the row.
    See the difference in Row 5 in result.
    Replace the function with
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    10-02-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: extract postcode number into new column

    Thanks
    It working as i want


    Once again
    Thanks
    Raj

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1