The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Insert colums automatically
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

lenfant

France
Posts

Posted - 10/15/2021 :  03:44:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello Origin Users,
In a worksheet, how to automatically insert a copy of the first column between all the following columns.
In other words on a worksheet with columns A(x), B(y), C(y), D(y).... then have the following columns A(x), B(y), copy of A(x), C(y), copy of A(x), D(y)....
Thank you!
Stéphane

YimingChen

1609 Posts

Posted - 10/15/2021 :  09:12:07 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Are you trying to make graphs or perform analysis on multiple XY datasets? If so, you don't need to create an x column for each y column. Each y column finds the first x column before it as its corresponding x column.

If you still need to do so, you can go to menu Worksheet:Split Worksheet. Make the following settings:
1. Split Mode -> By Number of Columns
2. Number of Columns -> 1
3. Retain 1st N Columns -> 1
Click OK. You should get multiple worksheets with individual XY columns. Then go to menu Worksheet:Append Worksheet to combine them into one worksheet with XYXY... columns.

James
Go to Top of Page

lenfant

France
Posts

Posted - 10/15/2021 :  10:50:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

you can go to menu Worksheet:Split Worksheet. Make the following settings:
1. Split Mode -> By Number of Columns
2. Number of Columns -> 1
3. Retain 1st N Columns -> 1
Click OK. You should get multiple worksheets with individual XY columns. Then go to menu Worksheet:Append Worksheet to combine them into one worksheet with XYXY... columns.

James



Perfect!
Thank you
Stéphane
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000