Date-Time Functions - Mini Challenge
Date-Time Functions - Mini Challenge
Embark on two mini challenges to practice using date and time functions
to help Food2Go calculate some of the milestones it has accomplished as
well as do some analysis on customer order data.
Mini Challenge 1
1. In the "Mini Challenge 1" worksheet tab, solve Tasks 1 to 4 by filling in
the cells highlighted in yellow.
2. Compare your answers with "Solution 1" worksheet tab.
Tip: If you are subtracting dates/times, be sure to subtract them in the
correct order, or your result will be an error message "##########".
Mini Challenge 2: Customer Orders
1. In the "Mini Challenge 2" worksheet tab, complete Tasks 1 and 2 by
filling in the cells highlighted in yellow.
2. Compare your answers with "Solution 2" worksheet tab.
Click on the yellow cells to see the formulas used. Task 1
It has been 1,000 days since Ishan first thought of the idea of startin
What a milestone. To celebrate this brainwave, Ishan is getting a cu
Ishan's Brainwave 10/24/2015 cake made. We can use a date function to find out when the journe
Today's Date 7/20/2018 began!
d2Go?
ay at Food2Go.
YEAR, MONTH and DAY.)
up conference.
/2018 and arrives in Singapore at
Use the DATE function to find out Alia's first day at Food2Go.
(*Hint: You will also need to use the functions YEAR, MONTH and DA
To subtract days and months from a date, we have to use the nest
function.
Task 3
Departure Date & Time 6/5/2018 23:03 Ishan was invited to fly to Singapore for a start up conference.
Ishan departs from New Delhi at 23:03 on 5/6/2018 and arrives in
Arrival Date & Time 6/6/2018 4:27 04:27 on 6/6/2018 (India time)
Flight Duration 5:23
Calculate the duration of Ishan's flight.
In cells B18 and B19 we must enter the dates as well as time so th
be calculated. Then, because both times are stated as Indian local
can do a simple subtraction.
In cells B18 and B19 we must enter the dates as well as time so th
be calculated. Then, because both times are stated as Indian local
can do a simple subtraction.
d2Go?
from a date.
ay at Food2Go.
YEAR, MONTH and DAY.)
have to use the nested DATE
up conference.
/2018 and arrives in Singapore at
Task 2 - Use the MAX and MIN functions to identify the customers
from this list who ordered most recently and the longest time ago.
Follow these steps:
Compare your results. Click on the yellow cells to see the formulas
entered. Read the notes in blue below.