Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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 #35: Data Cleansing Practice

vghazaryan
5 - Atom

My solution:

JunePark
8 - Asteroid
Spoiler
trimleft, trimright, if function
rsalvador
5 - Atom

my solution

liamholland
8 - Asteroid

Solution in file:

KGS
8 - Asteroid

Hi,

 

By far the most challenging assignment.

 

Best,

 

B

Hruday
7 - Meteor

This is my second weekly challenge Please have a look over the solution.

Spoiler
Screenshot (107).png
dorisdoris
5 - Atom

I had fun!

Learn2Excel
7 - Meteor

1. Remove leading zeros : A) Used 'Select' tool > change data type to 'Double', B) Used ToNumber function

 

2. Trim leading zeros and / descriptive texts : Used ToNumber function

 

3. Remove 'ID' from the end : A) Wrote conditional function IF Right([ID], 2)='ID' THEN Left([ID], Length([ID])-2) ELSE [ID] ENDIF; B) Used TrimRight

 

4. Add 'SC' and remove anything after 8 characters : Wrote conditional function IF Length([Safety Code])>8 THEN Left([Safety Code], 😎 ELSE IF Length([Safety Code])=6 THEN 'SC'+[Safety Code] ELSE [Safety Code] ENDIF ENDIF

 

Looking forward to better approaches.

 

Regards

KD

terry10
11 - Bolide

So many different ways to clean up this data. Good practice.

Mélanie
8 - Asteroid

Funny challenge !