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 #449: Global Sales Analysis

JosephSerpis
17 - Castor
17 - Castor

Challenge Completed

 

Spoiler
Screenshot 2025-01-25 134915.png
alineruizcampos
8 - Asteroid
Spoiler
Screenshot 2025-01-29 101142.png
lisahitch95
8 - Asteroid

The tricky part here was that the solution is veeery slightly off, probably due to rounding the results earlier in the process than I have done. The solution from Task 1 also does not include the currency conversion, which is odd to me. Task 1 and Task 2 both look for Total Sales but they use different columns to calculate it. 

 

Spoiler
Screenshot 2025-01-30 160520.png
mapas96
6 - Meteoroid

I am attaching here my solution.

SammiJohnson
7 - Meteor

My Solution 😁

mgaronson
11 - Bolide
Spoiler
Challenge 449 Workflow Pic.png

 As noted by others, no currency conversion in Q1 results. Added 2nd method for Q2 to find falling sales in all regions. More fliexible as no hard coding of number of regions. Shout out to @patrick_digan for 2nd method.

arihant_jain
8 - Asteroid

Clever use of Summarize and Cross Tab.Solution.png

Erin
11 - Bolide

I spent way too long trying to figure out why my answers were off compared to the posted output for Task 1. If only I had seen @BS_THE_ANALYST's note on the mistake in the directions earlier. Sheesh. I solved it both ways - following the directions and matching the output. Cheers! 

 

Entire workflowEntire workflowSales and Sales in EurosSales and Sales in Euros

 

 

sknman92
8 - Asteroid
Spoiler
Screenshot 2025-03-04 142701.png

 

AaronSmatta
8 - Asteroid

After looking at the comments I realized that the output task 1 was not actually factoring in the exchange rate as such the task only needed the sales figure input. But to be a good student, I did what the task was asking for anyway lol.