2020: Week 50

Challenge By: Jenny Martin

Secret Santa is a bit more difficult this year, without everyone being able to gather together and pick names out of a hat. Never fear though, we can randomly assign Secret Santas to their Secret Santees with the Power of Prep! Although we will simplify things a little so the assignments follow a logical rule rather than being completely random, but I'm sure our Secret Santas won't realise. After all, it's supposed to be secret!

Input

One input of the Secret Santa Participants and their email addresses: 


Requirements

  • Input the data
  • Assign Secret Santas to Secret Santees that follow them in the alphabet
    • i.e. Ellie should be the Secret Santa for Emma
  • Since no one follows Tom alphabetically, his Secret Santee should be Ellie, as she is first alphabetically
  • Some of the email addresses contain typos. Clean them up
  • To make life easier, we're planning on automating sending the emails. Create a field for the Email Subject and a field for the Email Body
    • e.g. Tom, the results are in, your secret santee is: Ellie. Good luck finding a great gift!
  • Output the data

Output


  • 3 fields
    • Email
    • Email Subject
    • Email Body
  • 11 rows (12 including headers)
After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @Datajedininja@JennyMartinDS14@JonathanAllenby & @TomProwse1

You can also post your solution on the Tableau Forum where we have a Preppin' Data community page. Post your solutions and ask questions if you need any help! 

Popular posts from this blog

2023: Week 1 The Data Source Bank

2023: Week 2 - International Bank Account Numbers

How to...Handle Free Text