We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Generate new rows for addresses with letters and numbers

j_claude
5 - Atom

Hi all 

 

I have a question on generating new rows for a sequence of addresses with both numbers and letters. I have no trouble when it's only numbers - but I need the output to combine both numbers and letters. The letters are identifiers for different doors and can vary from address to address. 

 

The addresses are stored as an interval in one row - but I need a new row "10A", "10B" and "1C" then "2A", "2B" and "2C" and so on, so that each address has its own row. The "letter ranges" are not always A to B but could also be A to D. 

 

Current structure:  

CityAddressNumber of residentsInfo xx
ArkansasNew Street 10A - 12B25 
New YorkOther Street 11A - 12D  20 

 

Desired structure (only showed for Arkansas address) 

CityAddressNumber of residentsInfo xx
ArkansasNew Street 10A25 
ArkansasNew Street 10B25 
ArkansasNew Street 11A25 
ArkansasNew Street 11B25 
ArkansasNew Street 12A25 
ArkansasNew Street 12B25 

 

Hope someone can help! 

4 REPLIES 4
FrederikE
13 - Pulsar

Hey @j_claude,

 

That was a cool challenge ;) 

 

FrederikE_0-1679050543095.png

 

Christina_H
14 - Magnetar

Here's a solution, using formulas from here: Solved: Generate Rows: increment letters like numbers - Alteryx Community

Christina_H_0-1679050864983.png

 

j_claude
5 - Atom

Thank you so much both of you. This was very helpful! 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

Late to the party! I was intrigued by your problem @j_claude :

BS_THE_ANALYST_0-1679062082759.png

 

All the best,
BS

LinkedIN

Bulien
Labels
Top Solution Authors