Forum Discussion

denersena's avatar
denersena
Regular Visitor
3 years ago
Solved

Separate text value in the column

I have a column that has two names, like manager's name and supervisor's name, but it hasn't a pattern.

Sometimes the manager's name is the first name, sometimes not. I want to separate these names and have two columns, one for managers and one for supervisors.

 

Original situation:

Column

Manager1; Supervisor1
Supervisor1; Manager2
Manager3; Supervisor1
Supervisor2; Manager2

 

Expected Result:

ManagerSupervisor
Manager1Supervisor1
Manager2Supervisor1
Manager3Supervisor1
Manager2Supervisor2

 

Can somebody help me?

  • Hi denersena 

     

    If you know who is a supervisor or a manager, please prepare another table which has two columns indicating the position title of every person. For example,

     

    Then split the original column by delimiter ";" in the old table. 

     

    Add custom steps in the formula bar to get Supervisor and Manager Names list separately. 

     

    Then add custom columns to determine whether the Supervisor Name List or Manager Name List contains that person. 

     

    After that, remove the first two columns. You will have the result you want. I have attached the demo at bottom. You can download it to see details. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

3 Replies

  • ppm1's avatar
    ppm1
    Solution Sage

    Is there any logic to figure out which is which on each row? Unique text in one of them?

     

    Pat

     

    • denersena's avatar
      denersena
      Regular Visitor

      no, but i know who is a supervisor or a manager 

      • v-jingzhang's avatar
        v-jingzhang
        Community Support

        Hi denersena 

         

        If you know who is a supervisor or a manager, please prepare another table which has two columns indicating the position title of every person. For example,

         

        Then split the original column by delimiter ";" in the old table. 

         

        Add custom steps in the formula bar to get Supervisor and Manager Names list separately. 

         

        Then add custom columns to determine whether the Supervisor Name List or Manager Name List contains that person. 

         

        After that, remove the first two columns. You will have the result you want. I have attached the demo at bottom. You can download it to see details. 

         

        Best Regards,
        Community Support Team _ Jing
        If this post helps, please Accept it as Solution to help other members find it.