I am sorry, I am pretty new to Origin. I searched the forum, but maybe my question is to simple:
I have two worksheets (WS1, WS2) with 500 columns, 80 rows. I would like to create a third worksheet WS3 with data in each column multiplied like this: WS1_column1 * WS2_column1 How could it be done automatically (loop..) without "set values.." manually?
Assume names of your source worksheets: Data1, Data2; and destination: Data3. Paste the following codes to the script window. Select the three lines of code and press Enter.
for (j = 1; j <= wks.nCols; j++) for (i = 1; i <= wks.nRows; i++) Data3!cell(i,j)=Data1!cell(i,j)*Data2!cell(i,j);