£199.99 £139.99 for one year of Unlimited learning. Offer ends on 14 November 2022 at 23:59 (UTC). T&Cs apply

Find out more
Wrangling data in Excel
Skip main navigation

Wrangling data in Excel

Practice wrangling data in Excel with an example.

In this activity you’ll practice wrangling data.

Download the spreadsheet.

The worksheet has information about songs that have reached number one in the US charts. Unfortunately, the data contains some errors.

For example:

  • Dates have been captured as strings.
  • Some of the label data is inconsistent, and some labels have been combined.
  • Some collaborations between artists need to be separated.
  • There are missing values.
  • Some song titles contain unnecessary artefacts.

Using what you have learned so far, and referring to the support documents linked earlier, try to wrangle the data to match the format shown in the table below. When you handle missing values, consider which should be removed and which can be corrected easily.

Where data is intentionally absent, record this as ‘N/A’ e.g.:

year artist supporting_artist
1983 Kenny Loggins Dolly Parton
1984 Kenny Loggins N/A
1985 Starship N/A

As you wrangle this spreadsheet, note any changes you make to the data. This is good practice for documenting your analysis.

When you’ve wrangled your data, share a description of your steps with your fellow learners in the comments.

Reflect on other posts.

  • Did they take a similar approach?
  • Can you see how they processed the data?
This article is from the free online

Excel for Data Analysis

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education