Kom igångKom igång gratis

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.

Den här övningen är en del av kursen

Dataanalys i Google Sheets

Visa kurs

Övningsinstruktioner

  • In column E, extract the day of the week as a number, where Sunday returns 1.
  • In column F, extract the short weekday name to match column E.

Interaktiv övning med praktiskt arbete

Gör teori till handling med en av våra interaktiva övningar

Starta övningen