Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start 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 #372: A Header Reference Dataset from Excel Header Reference Letters

alexnajm
18 - Pollux
18 - Pollux

Great challenge @caro_smith!

TonyAndriani
9 - Comet

One of the best challenges I've seen in quite a while. 

Spoiler
I used CharFromInt() and CharToInt() to avoid having to hard code character codes. Also did this as a general purpose macro just for fun.

TonyAndriani_0-1685141983778.pngTonyAndriani_1-1685142039427.png

 

martinding
13 - Pulsar
Spoiler
martinding_0-1685150243694.png

 

tammybrown_tds
9 - Comet

Interesting use of a new function that I've never seen before.

 

Spoiler
tammybrown_tds_0-1685245025098.png

 

Kamran1991
11 - Bolide

my solution

acarter881
12 - Quasar

Here's my solution. I believe there is no way to solve for this in a dynamic way without the use of a macro. The example deals with only 100 columns, but solving for any number of columns requires a macro. I'll demonstrate solving it in a programming language as well.

 

Macro

Spoiler
Workflow
acarter881_2-1685328875033.png


Iterative Macro

acarter881_5-1685327305565.png

Python (done in VS Code for illustrative purposes only)

Spoiler
acarter881_6-1685327401452.png

 

ggruccio
ACE Emeritus
ACE Emeritus

Catching up from being at Inspire!

 

Spoiler
I couldn't think of a way other than using a manual input for the mapping.

ggruccio_0-1685453883820.png

 

Jcdf1993
6 - Meteoroid

Spoiler

Miles_Waller
8 - Asteroid

Probably not the most elegant solution, but it works!

 

Spoiler
Miles_Waller_0-1685483837464.png

 

Watermark
12 - Quasar
12 - Quasar

More tools than I wanted, but going for quick tonight to catch up after Inspire. 

 

Spoiler
MT_Solution_372.jpg