Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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 #466: Organize Oscar Winner Data

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

My solution.

Spoiler
"Original Tab" was truncated to the initial from the full sheet name.
"Rating" column in original sheets was renamed to "Rank".
(This kind of confusion happens in the real world. So not a big issue anyway.)

Macro

macro.png
Workflow
workflow.png
Formula
FileName =
  Replace([FileName2], "List of sheet names.xlsx|||`Sheet1$`", "") 
  + "Movie Inventory Challenge1.xlsx|||`" 
  + [Sheet Names] 
  + "`"

SheetName = REGEX_Replace([FileName], ".*`(.*)`", "$1")
Original Tab = Left([Original Tab], 1)
Tofel
9 - Comet
Spoiler
Challenge 466a.jpg

Challenge 466b.jpg

lisahitch95
8 - Asteroid

Nice little trap with Rating and Rank!

 

Spoiler
Screenshot 2025-03-06 103520.png

  Workflow that incorporates Macro

Screenshot 2025-03-06 103722.png
Macro to import sheets
balajilolla2
10 - Fireball
Spoiler
Solution Attached

Screenshot 2025-03-06 190001.jpgScreenshot 2025-03-06 190019.jpg
AaronSmatta
8 - Asteroid

Data was still messy coming through the macro, but was still able to solve the challenge.

yoiikotu
6 - Meteoroid

 

Spoiler
Flow:
Challenge466.png
Batch Macro:
  Challenge466 (macro).png
In case batch macro is missing an input anchor: 
Challenge466 (batch macro setting).png

what a challenge! -first time completing a macro challenge whew!

IT
tammybrown_tds
9 - Comet

This took me way too long to get the macro to work.  Literally 4+ hours.  Goodness.

 

Spoiler
Screenshot 2025-03-07 172250.png
ahsanaali
11 - Bolide
Spoiler
 
466.png

Batch macro to read the file

466-2.png

 

nSpire
10 - Fireball
Spoiler
466.png

RWvanLeeuwen
11 - Bolide

Ah yes, the bugs.. Another workflow with bugs, but this time the control parameter does not result in an input anchor (see attached).

How I stopped worrying and learned to love the bugs:

Spoiler
2024.2 user version cannot work with batch macros? anyways - I dont have time to file a bug report and do more testing2024.2 user version cannot work with batch macros? anyways - I dont have time to file a bug report and do more testing