Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Merge column over other existing columns

Polite123
8 - Asteroid

Hi Experts,

 

Need some help in merging data.

 

Input data:

 

ABC
012

 

Output data:(I want column D to be over other columns A,B and c in the merged form and should be centre aligned...the image below is incorrect...as D should not be only over A but also B and C...just like D getting merged over A B and C in Excel(Merge and Center))

 

D
ABC
012

 

 

Thanks in advance:)

Thanks in advance

10 REPLIES 10
T_Willins
14 - Magnetar
14 - Magnetar

Hi @Polite123,

 

To get a header row with Merge and Center you can use the reporting tools and output to a file.  The attached workflow outputs to a temporary Excel file, but it can be modified to output to a named Excel file.  Formatting of the table data can be done in the Table tool.

 

Add Header Row.png

 

 

 

 

grazitti_sapna
17 - Castor

Hi @Polite123 , alternate method.

grazitti_sapna_0-1600235022483.png

 

Thanks.

Sapna Gupta
Polite123
8 - Asteroid

Thank you both of you for solutions:)

But how to export it into excel?While doing so I am getting some layout column which is incorrect.

 

 

grazitti_sapna
17 - Castor

Hi @Polite123 , you can try this config.

 

grazitti_sapna_0-1600244824064.png

 

Thanks.

 

Sapna Gupta
Polite123
8 - Asteroid

Thanks a ton:)

It worked and has solved 75 percent of problem.

Can something like below be achieved?

 

I have attached the file

 

 

 

 
 

 

grazitti_sapna
17 - Castor

Hi @Polite123 , try this.

 

 

grazitti_sapna_0-1600252378170.png

 

 

Thanks.

Sapna Gupta
Polite123
8 - Asteroid

@grazitti_sapna---You are magical:)Thanks for the optimized solution:)

It worked upto 95 %.But still the alignment is not getting matched as per my requirement.

 

I have attached the file for reference.Please help me with the alignment and border margin which I am unable to do so

grazitti_sapna
17 - Castor

Hi @Polite123 , I tried replicating the desired output hope this works for you. For Specific template we need to create a separate workflow.

Please refer to the workflow.

 

grazitti_sapna_1-1600407378044.png

 

 

Thanks.

Sapna Gupta
Polite123
8 - Asteroid

Thanks @grazitti_sapna.

How can we add border to individual cell.I am not getting bottom line for each header in data shared.Could you please help?

Labels