+ Reply to Thread
Results 1 to 10 of 10

Data to coloumns - separate after zip code

  1. #1
    Registered User
    Join Date
    12-01-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    5

    Smile Data to coloumns - separate after zip code

    Hi guys

    First thread on EF... I've been browsing for a while.

    I have a list where the zip code (4 digits) is within the adress coloumn. I would like it to be in seperate columns:

    Now it's like this:
    Company name; Adress
    Output: Blueblau; Vardegade 23 5. 2100 Copenhagen East

    I would like it to be:
    Company name; Adress; Zip code; City
    Output: Blueblau; Vardegade 23 5.; 2100; Copenhagen East

    How can I do this??

    Thank you in advance...

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Data to coloumns - seperate after zip code

    it would be nice to see example of data in excel

  3. #3
    Registered User
    Join Date
    12-01-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Data to coloumns - seperate after zip code

    Quote Originally Posted by watersev View Post
    it would be nice to see example of data in excel
    Hi... The example is attached... Thank you... :-)
    Attached Files Attached Files

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Data to coloumns - seperate after zip code

    Try this workbook

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    12-01-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Data to coloumns - seperate after zip code

    Quote Originally Posted by Marcol View Post
    Try this workbook

    Hope this helps
    It works on 90% of all the adresses, but alot of them, doesn't work, and I can't seem to see why...?

    I have attached a sheet with the ones highlighted that doesn't work.

    Thank you again... You help is much apriciated! :-) Thank you!
    Attached Files Attached Files

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Data to coloumns - seperate after zip code

    Because your addresses are quite variable I think that a UDF might be the easiest solution.
    Please Login or Register  to view this content.
    Enter this in D2
    Please Login or Register  to view this content.

    In C2
    Please Login or Register  to view this content.

    in E2
    Please Login or Register  to view this content.

    Drag/Fill these down as required.


    This will return the last group of 4 digits in the string.

    Hope this helps
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-01-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Data to coloumns - seperate after zip code

    It worked like a CHARM! Thank you very much!! :-)

    I really apriciate your help, and it troubles me that I'm asking you yet another question.
    I thought I could do this my self, but it doesn't work.

    I want to delete everything after the company name, from and with "V/"...
    Ex.:
    Arcasa ApS Arkitekter Par
    arkitekter V/ Thomas Andersen
    M arkitekter A/S
    0205 I/S v/ Peter Eriksen Og Birgitte Neergaard
    1:1 Arkitekter ApS
    1:1 Landskab ApS
    1:1 V/ Sigurd Elling

    Will be:
    Arcasa ApS Arkitekter Par
    arkitekter
    M arkitekter A/S
    0205 I/S
    1:1 Arkitekter ApS
    1:1 Landskab ApS
    1:1


    How is that possible?

    Thank you in advance...
    Last edited by NBVC; 12-01-2010 at 11:24 AM. Reason: Remove long quote

  8. #8
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Data to coloumns - seperate after zip code

    Try this
    Please Login or Register  to view this content.

    Hope this helps
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-01-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    5

    Smile Re: Data to coloumns - seperate after zip code

    Quote Originally Posted by Marcol View Post
    Try this
    Please Login or Register  to view this content.

    Hope this helps
    Thank you SO much... I really apriciate your help! Thank you! :-)

  10. #10
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Data to coloumns - seperate after zip code

    Happy to have been of some help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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