Forum Discussion

fernandoC's avatar
fernandoC
Helper V
5 years ago

Splitting Column per Category

Hi!

 

I'm trying to split a column so that it represents one category per column. I have 2 columns: ID & Custom Field name where for example there multiple "Years of Experience" per the same ID and I would only like to have one ID with multiple columns representing each one of the categories. 

 

I would like to have the following: 

 

 

Instead of:

 

 

Hope it makes sense, any additional information required please let me know.

 

Best,

 

 

7 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    fernandoC - Seems like a grouping or maybe pivot or maybe even a transpose. Can you post sample data as text so I can test which way to go?

    • fernandoC's avatar
      fernandoC
      Helper V

      Hi Greg! Greg_Deckler 

       

      Please find below a text test table:

       

      IDCustom Field NameCustom Field Value
      10100Contact Date15/5/2020
      10100Contact Date15/5/2020
      10100Contact Date15/5/2020
      10100Years of Exp.1-3
      10100Years of Exp.1-3
      10100Years of Exp.1-3
      10200Contact Date20/3/2020

      10200

      Contact Date20/3/2020
      10200Contact Date20/3/2020
      10200Years of Exp.2-5
      10200Years of Exp.2-5
      10200Years of Exp.2-5

       

       

      The ideal would be to have the following:

      IDCustom Field 1Custom Field ValueCustom Field 2Custom Field Value
      10100Contact Date15/5/2020Years of Experience1-3
      10200Contact Date20/3/2020Years of Experience2-5