Forum Discussion

Jonni Anderson's avatar
Jonni Anderson
Copper Contributor
Mar 18, 2018
Solved

Split data from one column into two columns

I have a large database where the first and last names are in one column. I need to have them in separate columns. Is there a way to separate the names without having to cut and paste?

Thanks.

  • Hi Jonni,

     

    This is the best technique to split any column based on a delimiter (Space, Comma...)

     

6 Replies

  • Haytham Amairah's avatar
    Haytham Amairah
    Silver Contributor

    Hi Jonni,

     

    This is the best technique to split any column based on a delimiter (Space, Comma...)

     

    • Jonni Anderson's avatar
      Jonni Anderson
      Copper Contributor

      Thanks, Haythem!

      But that only works if the first name and last name in every case are exactly the same length, as they are in your example. My database is composed of names of different lengths.

       

      I tried your method, and wound up with some names being truncated, and in others part of the last name remained in the firstname column.

       

      Jonni

      • Haytham Amairah's avatar
        Haytham Amairah
        Silver Contributor

        Hi Jonni,

         

        Could you please provide us with a sample of your database to diagnose it and to provide you with the perfect solution?

Resources