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

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 #284: Division with Macros

AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
AkimasaKajitani_0-1631114190357.png

 

AkimasaKajitani_1-1631114207153.png

 

Qiu
21 - Polaris
21 - Polaris

@clmc9601 
Thank you very much for your appreciation. 😁

barnap03
8 - Asteroid
Spoiler
barnap03_0-1631223779304.png

 

Michael_McKee
Alteryx Alumni (Retired)

This one was really tough.  I found a great way to troubleshoot Iterative Macros.  Put an output in the Macro to excel and have it append.  Every loop will put the data in the spreadsheet.  Thanks Tony Andriani for showing me this technique.

 

Spoiler
Capture.PNG

Spoiler
CaptureM.PNG

 

DaisukeTsuchiya
14 - Magnetar
Spoiler
キャプチャ.JPGキャプチャ2.JPG
kendi
11 - Bolide

I loved the challenge!!

 

Spoiler
kendi_1-1631535949726.png
kendi_0-1631539168095.png

 

 

JasonHu
8 - Asteroid

Here is my submission, solve it in 2 methods.

Non-Macro:

Spoiler
non_macro.png

Macro:

Spoiler
macro.pngmacro2.png
patrick_digan
17 - Castor
17 - Castor

Neat to see all of the solutions!

Spoiler
I took a very verbose/measured approach in my macros formula to basically replicate long division by hand.

patrick_digan_0-1631554808554.png

 

Paul-Evans
9 - Comet
Spoiler
It's been awhile since I made an iterative macro...
PaulEvans_0-1631559200079.png

 

It's been awhile since I made an iterative macro...

PhilipMannering
16 - Nebula
16 - Nebula

My solution,

 

Spoiler
Workflow,
PhilipMannering_0-1631743348079.png
With macro,
PhilipMannering_1-1631743383105.png

And in the Python Tool (Method 1)

Spoiler
PhilipMannering_2-1631743496706.png

 

 

Python Tool (Method 2 - the cheat way)

 

Spoiler
PhilipMannering_3-1631743555378.png