+ Reply to Thread
Results 1 to 5 of 5

Concatenation

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    NY, NY
    MS-Off Ver
    Excel 2010
    Posts
    27

    Question Concatenation

    hi everyone,

    the attached file contains 8 columns of data. the data consists of 3 letter country codes, country names, and 2 letter country codes. however, because the some countries have names that are several words long, the data has been scattered across 8 columns.

    i would like to see all 3 letter codes in a single column, all country names in a single column, and all 2 letter codes in a single column.

    can anyone help? thanks in advance.


    best,

    ian
    Attached Files Attached Files
    Last edited by ilundy77; 09-22-2011 at 04:11 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Complex Concatonation

    To get the 2-letter code, in K2, for example enter:

    Please Login or Register  to view this content.
    copied down

    Then in J2, to get entire country name, enter:

    Please Login or Register  to view this content.
    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-13-2009
    Location
    NY, NY
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Complex Concatonation

    this is great! the only thing is, for some reason, the first 2 letters are getting cut off of certain country names. any ideas on how to fix that? (see attached.) if not, no biggie...thx again.


    best,

    ian
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Complex Concatonation

    Change the J2 formula to:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-13-2009
    Location
    NY, NY
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Complex Concatonation

    YOU ROCK!! I tried to add more to your rep, but it said I have to spead it around a little...

+ 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