Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #235: Spell It Out For Me - Part 2

KaneG
Alteryx Alumni (Retired)

At first I just did the cents to work out the rules, and then it was easy enough to back that into the other cases once I transposed everything. I haven't had formulas that long for a while.

 

Spoiler
KaneG_0-1601537071594.png

 

I shortened the formulas by doing part of it that would apply to all first and then just call that field later

KaneG_1-1601537171269.png

 

 

 

 

ArtApa
Alteryx
Alteryx

Here is my solution:

Spoiler
ArtApa_0-1601549772207.png

 

JennyMartin
9 - Comet
Spoiler
AWC235.PNG

Certainly not the most efficient! Looking forward to diving into other solutions! Video solution here: https://www.youtube.com/watch?v=rPdte_54v2E&list=PL18SpOXDj-KMUD4YwWC5vZaUsIa7drxNZ&index=39

PhilipMannering
16 - Nebula
16 - Nebula

This was a tricky one for me.

 

Spoiler
Challenge 235 - Snip.jpg
PriyankaaJ
7 - Meteor

I was really inspired by my mentor for this. He completed his solution in just 2 tools! I took, maybe 4... 

 

Spoiler
All the magic happens in the Formula tool!

PriyankaaJ_0-1601581630125.png

 

Jeff_Neklason
8 - Asteroid
8 - Asteroid

That was fun. I may have gone a bit overboard with the Find Replace.

 

Spoiler
Jeff_Neklason_0-1601584887252.png

 

manojeaswaran
6 - Meteoroid

Hey, 

Attached my solution here. This was very interesting to solve. While I was able to get the output, I had to use multiple joins, unions to get there. I am sure there are other easier ways. I will review other answers to learn just that. 

Miles_Waller
8 - Asteroid

This one took a while, but it was mostly just brainstorming the best way to assign the words to the numbers in the columns. I'm sure there are more elegant solutions out there, but mine does the trick just great and even includes the grammatically-correct hyphen in between tens and ones for numbers over 20! For example, my workflow spells out 371 as three hundred seventy-one.

 

Spoiler
Challenge_Screenshot.JPG

rmassambane
10 - Fireball

I didn't like this one.

jessle
8 - Asteroid

Curious to see if others managed a more elegant solution 👀

Spoiler
challenge_235 JH1.png