In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to only take the correct part of data in a cell

LarsDellen
6 - Meteoroid

Dear all, 

on a steep learning curve (coming from mastering Excel) I try to come up with a formula that takes all the valid data of a cell, up to a specific character and ignores everything from there onward.

I have data coming in like this:
200 WEST NORTH AVENUE *************EMAIL TO: INVOICES@SCHOLLE.COM IL

...and would like to identify the position of the first Asterix (red) minus 1 as there is always a blank space before the Asterix, so I can take the Length from the left until the position of the Asterix.
I can't get my head around how the formula should be composed in Alteryx.

Any help appreciated.

2 REPLIES 2
Emil_Kos
17 - Castor
17 - Castor

Hi @LarsDellen,

 

I have used combination of find and left in order to create this formula:

 

Left([Field1], FindString([Field1], ' *'))

 

Field1 should be replaced with the proper column name.

 

Please mark my post as a solution if this was helpful!

LarsDellen
6 - Meteoroid

Thanks for the swift support. I was so close....

Labels
Top Solution Authors