General Discussions

Discuss any topics that are not product-specific here.

IF Condition

Yuvaraj85
7 - Meteor

123-45-6789
=> Name,Name

 

How to get the result as 
SSN #                     Name

123-45-6789           Name,Name

10 REPLIES 10
binuacs
21 - Polaris

@Yuvaraj85is your input data in the same row or multiple rows?

Yuvaraj85
7 - Meteor

In 2 different rows in text file

binuacs
21 - Polaris

@Yuvaraj85 one way of doing this with the help of cross tab

Screenshot 2023-06-23 161249.png

Yuvaraj85
7 - Meteor

Thank you so much. But this is just a format. If you help me with any if condition formula then it will really helpful

Yuvaraj85
7 - Meteor

Data
123-45-6789 STATUS: TERM 30 LOCATION:
=>Name,Name
401K EE: 6,275.27

ALLOC BEG BAL * * * * * * * * A C T I V I T Y * * * * * * * * END BAL
DESCRIPTION ID PCNT 2023/01/01 CONTRIB EARNINGS PAYMENTS LOANS OTHER 2023/06/06
BAIRD CORE BD INV 02A 0.0% .11 .00 .29 .00 .00 .40-X .00
BAIRD CORE BD INV 02D 0.0% .09 .00 .24 .00 .00 .33-X .00
MFS INT INTRS VAL 0HA 10.0% 720.52 .00 79.06 .00 .00 795.61-M .00

 

Output need

SSN #NameDESCRIPTIONIDSourcePCNT1/1/2023CONTRIBEARNINGSPAYMENTSLOANSOTHER6/6/2023
123-45-6789=>Name,NameBAIRD CORE BD INV2A0.00%0.1100.2900.40-X0
123-45-6789=>Name,NameBAIRD CORE BD INV2D0.00%0.0900.2400.33-X0
123-45-6789=>Name,NameMFS INT INTRS VAL0HA10.00%720.52079.0600795.61-M0
Yuvaraj85
7 - Meteor

Need to filter only -M from other column

 

binuacs
21 - Polaris

@Yuvaraj85 One way of doing this, need to make some pattern before parsing in the description field ( the output of the description field will show _ instead of space, you can change that with the formula tool if you want)

Screenshot 2023-06-23 165810.png

Yuvaraj85
7 - Meteor

How can we use the below formula in Alteryx

=if(Mid(A1,4,1)="-"),Left(A1,11), "")

 

 

Yuvaraj85
7 - Meteor

Thanks a lot for your help. But this will not work when the file is having multiple Participants and multiple funds

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels