Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Reference Mapping

SH_94
11 - Bolide

Dear Community,

 

I would like to ask how can we create the formula as below

1. If the number start with 1 , the result will be AA

2. If the number start with 7. the result will be  CF

3. If the number start with 5, the result will be KI

4. If the number start with 6, the result will be UE

 

SH_94_0-1644333477973.png

 

Many thanks for the help.

 

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @SH_94 

 

The best dynamic option is to use find and replace tool so that you can add more to the list.

 

atcodedog05_1-1644333790696.png

 

Hope this helps : )

 

JaeLim
Alteryx Alumni (Retired)

Hi  @SH_94 ,

This can easily be done using the formula tool as shown below:

Reference Mapping.PNG
Hope this helps! 

Labels
Top Solution Authors