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 #447: Analysis of Survey Results Delivered in a Consolidated Format

ed_hayter
12 - Quasar
Spoiler
image.png
Great challenge - enjoyed the edge case of people starting their response with a '-'. I do think the challenge should emphasize more that incomplete surveys should be removed. Probably just emboldening that statement in the big blurb but thats nitpicking I thought this was a really fun weekly challenge
Hub119
11 - Bolide
11 - Bolide

Solution attached.

nSpire
9 - Comet
Spoiler
447.png

Qiu
21 - Polaris
21 - Polaris

@AkimasaKajitani Congratulations!

This is a really nice one to me so my vote to this one for the October Takeover. 😁

Spoiler
Challenge_447.png

 

Yogesh1795
8 - Asteroid

Easy one, use "`" sign for parsing for the 3rd one.
Check my solution as I only used basic regex to do this challenge.

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

My solution.

 

Spoiler
I first tried to split answers (in multiple rows) with one RegEx tool, but it did not work. (not sure why)
So I used RegEx in Formula Tool to add a delimiter to use in Text To Columns Tool instead.

Workflow

workflow.png

Task1 Formula
Minutes = Round(DateTimeDiff([Date Submitted],[Time Started],"second") / 60, 0.1)

Task2 Formula-1
Question_And_Answer = REGEX_Replace([Question_and_Answer], "\nQ_", "|Q_")

Task2 Formula-2
Question_No = REGEX_Replace([Question_and_Answer], "\n.*", "")
Answer = REGEX_Replace([Question_and_Answer], "^Q_\d+\n", "")
Answer = IF IsEmpty([Answer]) THEN Null() ELSE [Answer] ENDIF

 

 

danboll_life
9 - Comet
Spoiler
スクリーンショット 2024-10-22 103834.png

gawa
16 - Nebula
16 - Nebula

@AkimasaKajitani  Congrats!

 

Spoiler
image.png
TurboToad
11 - Bolide

Fun parsing challenge!

 

Spoiler
477.PNG
Caramel8
7 - Meteor
Spoiler
Third part was difficult given the delimiters1.png