Free Trial

Alteryx Designer Desktop Discussions

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

inout output

hi2019
8 - Asteroid

Hi

 

2025 NY CARO 500008 Working File Input.xlsx

 

how can I get this in output utlizing the YEAR and STATE from input for each file I will use in my workflow -yes they will be in the same format 

 

Formula?

 

thanks

1 REPLY 1
apathetichell
19 - Altair

left([field],4) - should give you year.

 

right(left(field,7),2) should give you state.

 

regex version - regex_replace([field],'^(\d{4}).*','$1')

regex_replace([field],'^\d{4} (\w{2}).*','$1')

Labels
Top Solution Authors