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
 Addition/subtraction of sheets from different book
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cts18488

United Kingdom
38 Posts

Posted - 01/27/2022 :  08:42:49 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 2021b and Service Release (Select Help-->About Origin): SR2
Operating System: Windows 10

Hi,

I was trying to add two columns from a book - Book1 with two columns from another one - Book2 - with the sum displayed in a third book - Book3 (please check the image below). I have tried to convert the book s into matrices and then do matrix addition from Script Command, but it didn't recognise the name of the matrices.

Is there a quick, reliable and error-free (as much as possible) way to do? Either through GUI, LAbTalk or Embedded Python? If yes, can I please have the step-by-step recipe on how to do it?

Regards,
Tibi

snowli

USA
1031 Posts

Posted - 01/27/2022 :  08:55:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You can use enter this in F(x) cell of column B in Book3 to add B columns of Book1 and Book2.
[book1]1!B+[book2]1!B

See examples in https://www.originlab.com/doc/Origin-Help/Wks-SetColVal-QuickStart

Thanks, Snow
Go to Top of Page

cts18488

United Kingdom
38 Posts

Posted - 01/27/2022 :  11:37:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you!
quote:
Originally posted by snowli

Hello,

You can use enter this in F(x) cell of column B in Book3 to add B columns of Book1 and Book2.
[book1]1!B+[book2]1!B

See examples in https://www.originlab.com/doc/Origin-Help/Wks-SetColVal-QuickStart

Thanks, Snow


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