0% found this document useful (0 votes)
17 views

Date-Time Functions - Mini Challenge

The document outlines two mini challenges focused on using date and time functions to analyze customer order data for Food2Go. Participants are instructed to complete tasks in specified worksheet tabs and compare their answers with provided solutions. Key tasks include calculating days since a customer's last order and determining flight durations using date functions.

Uploaded by

abhisekshanu.ab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Date-Time Functions - Mini Challenge

The document outlines two mini challenges focused on using date and time functions to analyze customer order data for Food2Go. Participants are instructed to complete tasks in specified worksheet tabs and compare their answers with provided solutions. Key tasks include calculating days since a customer's last order and determining flight durations using date functions.

Uploaded by

abhisekshanu.ab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Date/Time Functions

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!

When did Ishaan first think of the idea of Food2Go?

Alia's First Day 4/2/2018 Task 2


Alia has been with Food2Go as an intern for 2 months and 4 days as
6/6/2018 06/06/2018.
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

Departure Date & Time 6/5/2018 23:03 Task 3


Ishan was invited to fly to Singapore for a start up conference.
Arrival Date & Time 6/6/2018 4:27 Ishan departs from New Delhi at 23:03 on 5/6/2018 and arrives in S
Flight Duration 5:23 04:27 on 6/6/2018 (India time)
Calculate the duration of Ishan's flight.
Use this information to fill in cells B19 and B20. Enter a formula in
calculate the duration of Ishan's flight.
Use this information to fill in cells B19 and B20. Enter a formula in
calculate the duration of Ishan's flight.

Testing start 1:37 Task 4


Food2Go is piloting a new user interface for their app. They ran som
Testing end 7:10 today from 01:37 to 07:10.
Total Testing hours 5:33
How long did they test the new interface for?
Use the information to fill in cells B26 and B27. Enter a formula in
find out the testing duration.
t of the idea of starting Food2Go!
, Ishan is getting a custom-made
out when the journey truly

d2Go?

months and 4 days as of

ay at Food2Go.
YEAR, MONTH and DAY.)

up conference.
/2018 and arrives in Singapore at

0. Enter a formula in Cell B21 to


0. Enter a formula in Cell B21 to

eir app. They ran some testing

7. Enter a formula in Cell B28 to


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!

When did Ishaan first think of the idea of Food2Go?


We can use formulas to add or subtract days from a date.

Alia's First Day 4/2/2018 Task 2


Alia has been with Food2Go as an intern for 2 months and 4 days as
6/6/2018 06/06/2018.

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.

Testing start 1:27 Task 4


Food2Go is piloting a new user interface for their app. They ran som
Testing end 14:10 today from 01:37 to 07:10.
Total Testing hours 12:43
How long did they test the new interface for?
Cells B27 and B28 can be filled in either 24 hour or 12 hour time fo
(They are on the same date so date is not required. We can then ru
simple subtraction formula to calculate the difference.
t of the idea of starting Food2Go!
, Ishan is getting a custom-made
out when the journey truly

d2Go?
from a date.

months and 4 days as of

ay at Food2Go.
YEAR, MONTH and DAY.)
have to use the nested DATE

up conference.
/2018 and arrives in Singapore at

as well as time so that this can


tated as Indian local time, we
as well as time so that this can
tated as Indian local time, we

eir app. They ran some testing

ur or 12 hour time format.


uired. We can then run a
fference.
Customer Orders
Order ID First Name Last Name Last Ordered Days since last order
2550 Chia Roach 20/05/2018 #VALUE!
2413 Lenna Hanline 30/06/2018 #VALUE!
1980 Margit Sandoval 03/01/2018 2526
2371 Jon Terranova 04/10/2017 2851
1869 Rubie Ridley 02/03/2018 2552
1992 Lawana Barrett 20/09/2017 #VALUE!
3838 Livia Eatman 02/10/2017 2910
2128 Eugene Kuo 21/05/2018 #VALUE!
2217 Shaquita Dengler 26/02/2018 #VALUE!
2387 Aliza Bulter 23/03/2018 #VALUE!
1571 Haywood Sons 20/01/2018 #VALUE!
3061 Clementina Orner 29/06/2018 #VALUE!
2350 Shawnna Kindrick 09/12/2017 2696
1449 Eva Fujiwara 05/07/2018 2459
3551 Marlene Loftin 23/12/2017 #VALUE!
1159 Hillary Presnell 02/12/2017 2908
2126 Lashell Ready 03/09/2017 2883
1072 Israel Iser 15/01/2018 #VALUE!
1721 Ambrose Tickle 02/01/2018 2554
1551 Tomeka Moore 11/06/2018 2276
3221 Layla Santamaria 09/01/2018 2342
2136 Arie Hosch 05/02/2018 2464
2838 Glenn Delosreyes 18/09/2017 #VALUE!
2947 Olympia Rackham 13/06/2018 #VALUE!
2634 Shirley Thomas 22/07/2017 #VALUE!
3034 Lorriane Renteria 23/03/2018 #VALUE!
2814 Georgeanna Sapienza 16/10/2017 #VALUE!
2198 Jacqualine Stiffler 26/01/2018 #VALUE!
2994 Michel Vita 15/09/2017 #VALUE!
2966 Lajuana Damian 06/03/2018 2432
2424 Kasey Kimrey 09/01/2018 2342
1920 Mathew Harwood 27/12/2017 #VALUE!
2140 Nicole Chamberlain 30/05/2018 #VALUE!
3974 Steve Ringler 26/07/2017 #VALUE!
2150 Golda Abdullah 20/08/2017 #VALUE!
1426 Bernie Demont 29/08/2017 #VALUE!
1875 Maryann Turrentine 22/08/2017 #VALUE!
1152 Roxanne Quail 05/03/2018 2463
2756 Latricia Ehrlich 30/01/2018 #VALUE!
2106 Margot Wuensche 22/07/2017 #VALUE!
1042 Piper Baber 20/11/2017 #VALUE!
3069 Lennie Loya 14/08/2017 #VALUE!
2819 Graig Cunningham 17/03/2018 #VALUE!
1637 Krish Kapoor 07/07/2018 2398
1497 Elizebeth Sievert 20/06/2018 #VALUE!
1103 Earlene Reynaga 21/02/2018 #VALUE!
3586 Belkis Canterbury 29/01/2018 #VALUE!
2377 Danette Bynum 04/11/2017 2850
1963 Sally Kissinger 21/09/2017 #VALUE!
1784 Allegra Madden 23/07/2017 #VALUE!
Mini Challenge 2: Date/Time Functions
Here's an extract from Food2Go's customer database.
Task 1 - Calculate the number of days since a customer last
ordered from Food2Go.
Use the TODAY function to fill in Column E.

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:

In Cell G17 enter the MIN function.


Use a Cell reference to enter the customer's first name into cell
G18.
Now copy Cell G17 into cell G21 and edit it so that it is a MAX
fucntion.
Use a Cell reference to enter the customer's first name into cell
G22.

3. Compare your answers with the "Solution 2" worksheet.

Most recent order from this list


#VALUE!
Krish

Oldest order from this list


#VALUE!
Shirley
Mini Challenge 2: Date/Time F
Customer Orders Solution

Compare your results. Click on


Order ID First Name Last Name Last Order Days since last order entered. Read the notes in blue
2550 Chia Roach 5/20/2018 2446
Task 1 - Calculate the number o
2413 Lenna Hanline 6/30/2018 2405 ordered from Food2Go.
1980 Margit Sandoval 03/01/2018 2526 Use the TODAY function to fill
2371 Jon Terranova 04/10/2017 2851 To get today's date according t
1869 Rubie Ridley 02/03/2018 2552 can use “=TODAY()”
1992 Lawana Barrett 9/20/2017 2688 Task 2 - Use the MAX and MIN
3838 Livia Eatman 02/10/2017 2910 from this list who ordered mos
2128 Eugene Kuo 5/21/2018 2445 In the MIN function you must
2217 Shaquita Dengler 2/26/2018 2529 since you will copy this functio
2387 Aliza Bulter 3/23/2018 2504
1571 Haywood Sons 1/20/2018 2566
3061 Clementina Orner 6/29/2018 2406
2350 Shawnna Kindrick 09/12/2017 2696
1449 Eva Fujiwara 05/07/2018 2459
3551 Marlene Loftin 12/23/2017 2594
1159 Hillary Presnell 02/12/2017 2908
2126 Lashell Ready 03/09/2017 2883
1072 Israel Iser 1/15/2018 2571
1721 Ambrose Tickle 02/01/2018 2554
1551 Tomeka Moore 11/06/2018 2276
3221 Layla Santamaria 09/01/2018 2342
2136 Arie Hosch 05/02/2018 2464
2838 Glenn Delosreyes 9/18/2017 2690
2947 Olympia Rackham 6/13/2018 2422
2634 Shirley Thomas 07/22/17 2748
3034 Lorriane Renteria 03/23/18 2504
2814 Georgeanna Sapienza 10/16/17 2662
2198 Jacqualine Stiffler 01/26/18 2560
2994 Michel Vita 09/15/17 2693
2966 Lajuana Damian 06/03/2018 2432
2424 Kasey Kimrey 09/01/2018 2342
1920 Mathew Harwood 12/27/2017 2590
2140 Nicole Chamberlain 5/30/2018 2436
3974 Steve Ringler 7/26/2017 2744
2150 Golda Abdullah 8/20/2017 2719
1426 Bernie Demont 8/29/2017 2710
1875 Maryann Turrentine 8/22/2017 2717
1152 Roxanne Quail 05/03/2018 2463
2756 Latricia Ehrlich 1/30/2018 2556
2106 Margot Wuensche 7/22/2017 2748
1042 Piper Baber 11/20/2017 2627
3069 Lennie Loya 8/14/2017 2725
2819 Graig Cunningham 3/17/2018 2510
1637 Krish Kapoor 07/07/2018 2398
1497 Elizebeth Sievert 6/20/2018 2415
1103 Earlene Reynaga 2/21/2018 2534
3586 Belkis Canterbury 1/29/2018 2557
2377 Danette Bynum 04/11/2017 2850
1963 Sally Kissinger 9/21/2017 2687
1784 Allegra Madden 7/23/2017 2747
Mini Challenge 2: Date/Time Functions
Solution

Compare your results. Click on the yellow cells to see the formulas
entered. Read the notes in blue below.

Task 1 - Calculate the number of days since a customer last


ordered from Food2Go.
Use the TODAY function to fill in Column E.

To get today's date according to our computer system time, we


can use “=TODAY()”
Task 2 - Use the MAX and MIN functions to identify the customers
from this list who ordered most recently and the longest time ago.

In the MIN function you must use ABSOLUTE CELL REFERENCES


since you will copy this function and edit to a MAX function.

Most recent order from this list


2276
Krish

Oldest order from this list


2910
Shirley

You might also like