cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
CMG
CMG
Level II

Move data from a row to a column for duplicates, then remove duplicates

New JMP user here. I know how to do this in Excel, but am not sure how to in JMP.

 

Here 's my dataset:

Column1Column 2Column 3Column 4
AAA123456ABCP
AAA123456ABC210.72
AAA234567ABCP
AAA234567ABC28.9
BBB345678ABCN
BBB345678ABC20.01
BBB456789ABCP
BBB456789ABC221.2

 

Here's what I want my data to look like:

Column1Column 2Column 3Column 4Column 5
AAA123456ABCP10.72
AAA234567ABCP8.9
BBB345678ABCN0.01
BBB456789ABCP21.2

 

Any and all help is greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Move data from a row to a column for duplicates, then remove duplicates

You can use 

     Tables=>Split

pull down menu to do this

In the Split dialog box,

    Select Column 3 as the Split By column

    Select Column r as the Split Columns

    Select Column 1 and Column 2 as the Group columns

split1.PNG

split2.PNG

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Move data from a row to a column for duplicates, then remove duplicates

You can use 

     Tables=>Split

pull down menu to do this

In the Split dialog box,

    Select Column 3 as the Split By column

    Select Column r as the Split Columns

    Select Column 1 and Column 2 as the Group columns

split1.PNG

split2.PNG

Jim
CMG
CMG
Level II

Re: Move data from a row to a column for duplicates, then remove duplicates

Thank you so much! That worked well!

 

 

Recommended Articles