General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2022 Day 6 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

Discussion thread for day 6 of the Advent of Code - https://adventofcode.com/2022/day/6

51 REPLIES 51
MeganBowers
Alteryx Community Team
Alteryx Community Team

I used a hard-coded multi-row formula that wouldn't work for tons of letters for part one, then got stuck for a bit on part 2 until I used the multi-row formula tool more like a running total and assigned points based on where letters matched in the previous sequence. Not the simplest, but it made sense in my head!

 

 

Spoiler
Screen Shot 2022-12-05 at 11.05.45 PM.png

 2nd multi-row formula
Screen Shot 2022-12-05 at 11.06.50 PM.png

 

DataNath
17 - Castor

Here's my stab at this. Wasted a load of time faffing around with an enormous Multi-Row Formula to try and chop out a couple tools but eventually gave up in the hopes of slipping in another hour of sleep.

 

Spoiler
DataNath_0-1670306865892.png
Jotigautam
10 - Fireball

Old Style!

Spoiler
Jotigautam_0-1670309120570.png

 

AkimasaKajitani
17 - Castor
17 - Castor

My 2nd solution.

 

There are 4 tools using by Generate row.

Spoiler
AkimasaKajitani_0-1670310727279.png

 

aravind_sk
8 - Asteroid
Spoiler



aravind_sk_0-1670314137888.png

 

If it went more than 14, that'd be a lotta lines on the 'IF'.

Ladarthure
14 - Magnetar
14 - Magnetar

My solution, could have been made with a bit less tools maybe :)

 

Spoiler
06.png

FrederikE
13 - Pulsar

Finally joining in too.

I probably made it overly complicated with a batch macro in an iterative macro. 

 

 

Spoiler
FrederikE_1-1670314723365.png

 

 Edit: Omg - is my solution overly complicated :D

Jean-Balteryx
16 - Nebula
16 - Nebula

Day 6 done ! ✔️

 

I feel like it was too easy compared to yesterady. A bit worried about tomorrow ...

 

Spoiler
Capture.PNG
Pang_Hee_Choy
12 - Quasar
Spoiler
length(replacechar()) on A-Z to get part1 (i.e. 26-4=22) and part2 (i.e. 26-14=12)
Pang_Hee_Choy_1-1670322397038.png

 

peter_gb
9 - Comet

Probably could have minimised the number of tools, I tend to always want to unique ID everything along the way but I suppose it's good practice!

Felt a little manual when I was copy and pasting in the multi-row but that seems to have been most people's approach today.

Spoiler
AoC_6.png

Labels