We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

Challenge #262: With-invoice

Elias_Nordlinder
11 - Bolide

Some Regex parsing and more 🙂

 

Spoiler
Elias_Nordlinder_0-1626683890043.png

 

xAJBx
7 - Meteor
Spoiler
xAJBx_0-1626703850503.png

 

KaneG
Alteryx
Alteryx

This could be done with a Batch Macro in case of more tables, but who knows what format they would be in. This solution should deal with the case where headers are 2 or 3 rows and any amount of data...

 

Spoiler
Firstly tag the data, and then count the dashes for each field in order to figure out how many characters are in each field. After that, it's just substrings and formatting.

KaneG_0-1626772656447.png

 

AndrewS
11 - Bolide

#262

Spoiler
262.PNG

VizChic
10 - Fireball

was good to understand parsing more. FG AA soln

 

wigr
5 - Atom
Spoiler
wigr_0-1629276039668.png

 

There's still a bunch of hard-code, but could be nice to try the solution on a different data set to see how it generalises.

suyash0807
7 - Meteor

MY solution - seems like a bit lengthy as compared to others.

Jotigautam
8 - Asteroid
Spoiler
Jotigautam_0-1631543272049.png