Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Copy paste data/import Data into another template

ShantanuDagar
8 - Asteroid

Hey all.

 

So I have a data set extracted from some source at regular intervals and has 26 columns. And multiple 1000 rows.

 

I need to import this data or copy/paste this data into another excel file that is empty but has column headings written which are different from the previous file. The alignment of the data remains the same. And this should become the input of the future workflow.

 

Any idea how to do this?

 

Was a simple copy/paste in excel. (Select all data in file 1 and copy it. Select cell A2 in second sheet and then paste it there) As the alignment is the same.

5 REPLIES 5
Qiu
21 - Polaris
21 - Polaris

@ShantanuDagar 
I think we can use the option "Preserve Formatting on Overwrite" in the output tool.

Just a quick sample below.

1019-ShantanuDagar.PNG

grazitti_sapna
17 - Castor

@ShantanuDagar , please use the below configuration in your output data tool. Please note that the start range must be from A2 as 1st row will contain header in output file and the end should be the last column and the maximum number of records which you think might come. In case the number of records will be dynamic and you are not sure about the number of records then you can use formula tool to dynamically set the end range. Added both flows in single workflow.

1. The configuration for specified range:

grazitti_sapna_0-1666155662690.png

2. Config for dynamic changing range:

grazitti_sapna_1-1666155880405.png

 

Sapna Gupta
ShantanuDagar
8 - Asteroid

@grazitti_sapna @Qiu There is a 10000 cell limit for the import of data in the tool. I surely have multiple 10000s cells.

gyang3
Alteryx Alumni (Retired)

@ShantanuDagar instead of a text input tool and pasting the 10000s of cells into it, you can pull in an Input Tool instead of the text input and just point it to the location of the folder that contains the data you need to import. Not sure if its needed but I use a wildcard like the *.xlsx shown in the screenshot below. This basically tells the tool to pull in any xlsx files contained within this specific folder. 

 

gyang3_0-1666232837764.png

 

Would that work or is there some other limitations within your use case? If that helps accomplish what you're looking to do, please mark as a solution. 

grazitti_sapna
17 - Castor

@ShantanuDagar , We have just provided you with the sample using Text input tool but in your case you can use input data tool and connect to the file as mentioned by @gyang3  and then apply next steps as mentioned in my workflow. Or you can copy paste data in text input tool.

Sapna Gupta
Labels