Extracting weekday components
One common date and time component that is difficult to calculate or extract manually is the day of the week. Part of the problem with extracting the day of the week is that different cultures define the start of the week differently, but Sunday and Monday are the most common.
In this exercise, you'll be preparing the film data for an analysis to determine if films released on particular days of the week gross larger amounts.
Bài tập này là một phần của khóa học
Phân tích dữ liệu với Google Sheets
Hướng dẫn bài tập
- In column
E, extract the day of the week as a number, where Sunday returns1. - In column
F, extract the short weekday name to match columnE.
Bài tập tương tác thực hành
Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi
Bắt đầu bài tập