Alteryx Designer Desktop Discussions

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

compute difference of excel spreasheets with same values and populate one below the other

SrinivasanSugumaran
8 - Asteroid

Hi Team,

 

Can you pls. help me to get the desired output.
I have two excel spreadsheets ( ideally both are same templates but for Different month i.e the structure of the templates are same it is just the values which are different), and I need to compute
I) the difference between all the cols. in the templates and

II) populate one below the other.

 Month 1 ( the number of rows/cols given are limited to 5 though the actual nbr. of rows/cols is 45/17)

DescriptionABCDE
M1020304050
N100200300400

500

 

Month 2

DescriptionABCDE
M608090105110
N600700800900

1000

 

Output:
Should have input 1 input 2, and output one below the other in the same excel worksheet.

DescriptionABCDE
M1020304050
N100200300400

500

 

DescriptionABCDE
M608090105110
N600700810900

1000

 

DescriptionABCDE
M5060606570
N500500510500

500

 

1 REPLY 1
MattBSlalom
11 - Bolide

To get all your columns doing the same calculation, first I'd Transpose them so each field becomes a row, then Join the 2 transposed months together, and perform the subtraction with a Formula tool.  After that, add a Crosstab to get the results back into the multiple-field format.  To get multiple tables into a single Excel sheet, we need to use the Reporting palette tools to turn each dataset into a Table, union those table reporting objects together, then Render them into an Excel file.

 

MattBSlalom_0-1618006546526.png

 

Labels