開始使用免費開始

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.

動手互動練習

將理論付諸實踐,立即體驗我們的互動練習

開始練習