Extracting years and months
Cleaning and preparing data involves manipulating and transforming the data into a form that can be more easily processed during analysis.
Although dates and times are usually continuous values, many analyses only require particular date and time components, such as the year or month. Extracting these components effectively converts the dates and times into discrete values, which can then be grouped or counted, for example.
In this exercise, you'll utilize built-in Google Sheets functions to extract date components from some of the highest grossing films.
Cet exercice fait partie du cours
<cours>Data Analysis in Google Sheets</cours>Instructions de l’exercice
- In column
E, extract the year component from theRelease Datecolumn. - In column
F, extract the month as a number from theRelease Datecolumn. - In column
G, extract the long month name from theRelease Datecolumn.
Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice