Discussion thread for day 12 of the Advent of Code : https://adventofcode.com/2020/day/12
I probably should have gone spatial but kept it simple
Day12!
Part 1 is simple. I mainly use the Multi-row formula at both part.
But I think it was a mild problem compared to the last few days.
AS anonymous user #1105310
First foray into "let's use multirow tools instead of macro" world. It was fun, although maybe a bit out of control for part II
with the use of these helpers to do find/replace like a mad man
Macro for part 2:
It's seriously ugly (10 multi-row formula tools, a nested IF with 20 conditions and an iterative macro for good measure) but at least it runs in 3 seconds which is an improvement on the 2 hours from yesterday!
Part A:
Part B:
Part B iterative macro:
Got in a right pickle with that but had a nice solution in the end.
Trusty iterative! Tried multirow but it gives me a headache 😄
It didn't begin well...
Had fun with animating the routes though!
https://public.tableau.com/profile/petergb#!/vizhome/12_2_16077851001790/Route2
A simple solution after getting into a bit of a mess on this one...
I'm also enjoying animating the results!
I question their navigation computer! Here is the path:
Went down the macro route but will give a try at multi-row for part 1 !
I've made more iterative macros in the last 12 days than since I started Alteryx ...
Workflow :
Part 1 macro :
Part 2 macro :
The scratch paper on my desk is really starting to accumulate. I'm pretty impressed by Part 2 the multi-row solutions people are posting.
Couldn't get the spatial to work, but will look at it later. Realized after building iterative macro for part b could have made it simpler.