cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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