LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to put 2nd column into 1st column in excel

Solved!
Go to solution

Hello,

I have a question how to put 2nd column into 1st column in excel. Thank you.

 

code.PNG

 

 

 

 

 

0 Kudos
Message 1 of 2
(2,306 Views)
Solution
Accepted by topic author CP_AT

Why the 1 iteration for loops?

 

Why the two Index Arrays?  It is just trying to fix the problem created by the For Loops on the original 1-D arrays.

 

Both of those things are creating 2-D arrays that are complicating things and can be eliminated.

 

You can take your 2 1-D arrays, use Build Array and right click to set "Concatenate Inputs".

 

If you do have a 2-D array, you can use Reshape Array to make it a 1 column by N row 2-D array.

0 Kudos
Message 2 of 2
(2,301 Views)