开始使用免费开始使用

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.

本练习是课程的一部分

Google Sheets 数据分析

查看课程

练习说明

  • In column E, extract the year component from the Release Date column.
  • In column F, extract the month as a number from the Release Date column.
  • In column G, extract the long month name from the Release Date column.

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习