Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

how to apply formual for a particular cell in a column

SrinivasanSugumaran
8 - Asteroid

hi team, pls help me in sorting the below issue. I am trying to apply formula for a particular cell (in this eg: "a" should have output as 32 which is summation for 20+12). similarly for "b" and "e" too.

 

Input:

a 
b 
c20
d30
e 
f12

 

output:

a20+12
b30+12
c20
d30
e20-30
f12
3 REPLIES 3
mbarone
16 - Nebula
16 - Nebula

I'm not seeing any pattern here between your input and output.  What is the "rule" for going from your input to your output?

SrinivasanSugumaran
8 - Asteroid

Not sure whether the ask is for below.

 

Pattern

 

ac+f
bd+f
c20
d30
ec-d
f12

 

mbarone
16 - Nebula
16 - Nebula

Is the incoming data always going be exactly 6 rows, with no headers, and exactly two columns; where the first column has values a,b,c,d,f; and the 2nd column has values blank, blank, 20, 30, blank, 12?  

 

I'm guessing the data will change.  If you want to simply to from what you posted, you can use a Cross Tab tool and then a Formula tool and then a Transpose Tool.


Check out the Tool Mastery section of the community.  The tools I mention are under the "Transform" section:  https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Index/ta-p/84593

 

Labels