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 for Programming
 LabTalk Forum
 Appending Datasets to Worksheet Columns
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

farle

Germany
1 Posts

Posted - 04/09/2006 :  12:56:38 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (7.5):
Operating System: Windows XP
I have three worksheets (data1, data2, data3) containing x,y,z columns each. I want to concatenate/append the x column, the y column and the z-column of data2 and the ones of data3 to the x,y,z columns of data1 (yielding three coulumns not 6!). I tried the command " copy -a data2_A data1_A " followed by "copy -a data3_A data1_A" and followed by the corresponding commands for the y (B) and z (C) coulumn. The result are not columns with an equal no. of rows. Why not? Does anbody have a sugesstion ?
Thanks
Michael

Mike Buess

USA
3037 Posts

Posted - 04/09/2006 :  1:59:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Michael,

Sorry, but I can't reproduce that problem. If all columns in each worksheet have the same number of rows to start with the following script produces a data1 worksheet with columns of the same length.

copy -a Data2_A Data1_A;
copy -a Data3_A Data1_A;
copy -a Data2_B Data1_B;
copy -a Data3_B Data1_B;
copy -a Data2_C Data1_C;
copy -a Data3_C Data1_C;

Mike Buess
Origin WebRing Member
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