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

Can this Excel formula be converted for use in Alteryx?

rbelski
6 - Meteoroid

I want to replicate an Excel formula that returns any set of characters in a cell to the left of a space.  The purpose is to convert a column from an input file called "Area Description" to a field "Area" containing only characters to the left of the space (example data below).

 

I've tried the Formula Tool, then started reading about the RegEx Tool but am a bit overwhelmed by all the options.

 

BULK01 - Floor Bulk Storage
DEVFLR01 - Device Floor A Area
DEVSCNY01 - Device Secondary Storage Area
HVYPRMY - Heavy Rack Primary Area
3 REPLIES 3
binuacs
21 - Polaris
Bren_Spill
12 - Quasar
12 - Quasar

Hi @rbelski - you could also use text to column here. Not as elegant as @binuacs's solution, but works!

rbelski
6 - Meteoroid

Works perfectly... thanks!

Labels