Discussion thread for day 9 of the Advent of Code - https://adventofcode.com/2023/day/9
Another breath of fresh air. Very satisfying problem to solve. Reminded me of my high school days, solving for the degree of a polynomial sequence (That knowledge didn't help a ton, but those were happy memories for a weirdo like me)!
Today's one is easier than yesterday and can go out now!
Pretty happy with my simple-looking no macro solution. Naturally, there's a long formula hidden inside. :) I like to generate formulas like that in Excel so there's fewer opportunities for typos and so that I can make changes efficiently.
Overall, I'm pretty happy with this one. Part 2 took me longer than it should have, because I made a small change right after reading the problem that threw off the rest of my logic. It took me awhile to remember I'd done that and to fix it. Regardless, I was able to use the same exact macro for both part 1 and part 2, which I count as a win in AOC.
EDIT: Super intrigued by your approach @clmc9601 ! I can't dive into it right now because I'm on 2023.1 and missing one of the formulas you used, but I'm fascinated.
My solution. I've been recalling how to make the Iterative macro more and more.
Part 2 Reverse version macro(I only modified the final expressions. )
I don't have much chances to use Iterative macro in my daily business.
But this month I may use more cases than all I have used in the past :)
I remake the workflow. I organize my workflow by working only what I should do.