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
 automated counting 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

TimSch

4 Posts

Posted - 01/06/2019 :  07:12:49 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin 2017G (64-bit) SR2; b9.4.2.380

Hello,

another problem I have is:

At the attached images you see three books. I use subtract in Book3 Book2 from Book1, column per column. The first column is the y coordinate. These column I just copy.

Until now I copy the formula of column B(Y) into every following column and change the column character manually.

My questions ist, if there is a possiblity to use a counting variable for the characters of the columns.

Like: range rNe = [Book1]Sheet1!Col(n)
n = column book1 and book2

Thank you for your help!

AmandaLu

439 Posts

Posted - 01/07/2019 :  01:38:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please use “wcol(j)”. For example, highlight multiple columns, right click and select “Set Multiple Columns Values”. Define such in the “Before Formula Script”

range nB1=[book1]Sheet1!wcol(j);
range nB2 = [book2]Sheet1!wcol(j);

then enter

nB1-nB2

in the formula edit box.

Thanks,
Amanda
OriginLab Technical Service
Go to Top of Page

TimSch

4 Posts

Posted - 01/07/2019 :  03:53:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

this help works also! :)
Thank you!

Best Regards
Tim
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