You are on page 1of 19

Module 3 - Assignment

Brief
This assignment consists of 5 tasks.
You are tasked with helping Food2Go do some analysis on promotions. The marketing
promotions - daily deals and an early bird promotion. Before they go any further they
to see how many customers would have been entitled to these promotions had they a
You are given a sample data set consisting of 50 customer orders, and will need to use
data validation to carry out this analysis and compare the two promotions.

Here is a basic overview of the promotions. Detailed information will be found on the

Task 1 & Task 2 - "Daily Deals" worksheet


Daily Deals - Customers enjoy different discounts on different days of the week, with th
Task 3 & Task 4 "Early Bird" worksheet
Customers that place their orders during the early bird time periods receive a 15% disc
place their orders on weekdays between 11:30 - 12:15 (for lunch) and 18:45 - 19:30 (fo

Task 5 - Conclusion
Once you have completed Tasks 1-4, answer the following questions.
1) From our sample data set of 50 customers, how many customers would have been e
2) How many customers were "Early Birds"?

3) How many customers were "Early Birds"?

4) Were there more "Early Birds" during lunch time or dinner time?

5) If the Early Bird promotion was available all week, how could we modify our existing
ns. The marketing team is thinking of rolling out 2 different
o any further they want to analyse past customer order data
motions had they already been launched.
nd will need to use your knowledge of functions, vlookup and
otions.

ll be found on the respective worksheet tabs.

of the week, with the exception of Fridays and Saturdays.

receive a 15% discount. To be Early Birds, customers must


nd 18:45 - 19:30 (for dinner).

s.
would have been eligible for a daily deal?

modify our existing function?


Daily Deals
Customer ID First Name Last Name Delivery Date Delivery Day
132 Luke Morris 7/7/2018 Saturday
287 Sid Kapoor 7/1/2018 Sunday
261 Lisa Mitra 7/5/2018 Thursday
173 Ramesh Paul 7/2/2018 Monday
231 Vivian Turner 7/3/2018 Tuesday
161 Ella Reed 7/3/2018 Tuesday
111 Marcus Scott 7/2/2018 Monday
292 Joel Robinson 7/7/2018 Saturday
129 Anita Mathew 7/6/2018 Friday
204 Roshni Kumar 7/4/2018 Wednesday
229 Meera Soni 7/2/2018 Monday
299 George Jones 7/1/2018 Sunday
123 Radha Sinha 7/3/2018 Tuesday
128 Anthony D'Souza 7/1/2018 Sunday
231 Lara Singh 7/1/2018 Sunday
209 Nandini Rana 7/5/2018 Thursday
196 Harsh Kapoor 7/2/2018 Monday
190 Bithika Hall 7/5/2018 Thursday
202 Russ Robinson 7/5/2018 Thursday
209 Trina Basu 7/3/2018 Tuesday
205 Lenny Rai 7/4/2018 Wednesday
102 Sabrina Arora 7/5/2018 Thursday
131 James Myers 7/7/2018 Saturday
276 Sherna Lalwani 7/2/2018 Monday
238 Robert Clark 7/3/2018 Tuesday
193 Aditya Pasricha 7/1/2018 Sunday
295 Saba Ali 7/6/2018 Friday
254 Naresh Reddy 7/4/2018 Wednesday
247 Deanna Grant 7/6/2018 Friday
109 Yusuf Ajam 7/1/2018 Sunday
119 Mallika Anand 7/2/2018 Monday
148 Saba Abbas 7/4/2018 Wednesday
193 Karishma Patel 7/6/2018 Friday
103 Sam Agarwal 7/7/2018 Saturday
140 Arjun Singh 7/1/2018 Sunday
258 Nyrah Sindhwani 7/7/2018 Saturday
168 Tara Chopra 7/4/2018 Wednesday
142 Niraj Das 7/6/2018 Friday
136 Rohit Ahuja 7/7/2018 Saturday
180 Sai Khurana 7/3/2018 Tuesday
192 Aanchal Malik 7/7/2018 Saturday
187 Vivaan Goel 7/1/2018 Sunday
271 Kavita Mallik 7/7/2018 Saturday
248 Saanya Shah 7/7/2018 Saturday
241 Sal Mustafa 7/1/2018 Sunday
293 Abhinav Singh 7/3/2018 Tuesday
276 Gayatri Saxena 7/7/2018 Saturday
239 Karina Rao 7/7/2018 Saturday
242 Jasmeet Kaur 7/5/2018 Thursday
130 Adrita Haque 7/6/2018 Friday

NAME Karina
DEAL No deal
Deal? (Y/N) Deal Type Daily Deals
N No deal Monday 20% off total bill
Y Free side order Tuesday Free dessert
Y 10% off total bill Wednesday Mains - Buy 1 Get 1
Y 20% off total bill Thursday 10% off total bill
Y Free dessert Friday No deal
Y Free dessert Saturday No deal
Y 20% off total bill Sunday Free side order
N No deal
N No deal Instructions
Y Mains - Buy 1 Get 1 The "Daily Deals" table shows the deals customers are eli
Y 20% off total bill (You may wish to duplicate this worksheet or file so that y
Y Free side order
Y Free dessert Task 1 - Using VLOOKUP
Y Free side order 1. In Column E, use a text function to find out the deliver
Y Free side order
Y 10% off total bill
2. In Column F use a logical function to find out if each cu
Column E. (*Hint - use a nested if function)
Y 20% off total bill
Y 10% off total bill 3. Add a new column (Column K) to the Daily Deals table
Y 10% off total bill on the day of the week (Column I). (Use a COUNT functio
Y Free dessert
Y Mains - Buy 1 Get 1 4. Name the table array I3:J9 "DailyDeals".
Y 10% off total bill
N No deal 5. In Column G, use a VLOOKUP function to find out whic
Y 20% off total bill as the table array argument.
Y Free dessert
Y Free side order
N No deal
Y Mains - Buy 1 Get 1
N No deal
Y Free side order Task 2 - Data Validation
Y 20% off total bill
1. Apply a custom data validation rule to the Customer ID
Y Mains - Buy 1 Get 1
- avoid duplicates
N No deal - three-digit numbers between 100 and 300 (inclusive)
N No deal
Y Free side order 2. Create a suitable input message and stop error alert fo
N No deal
Y Mains - Buy 1 Get 1 3. Use the Data Validation tool to circle all invalid inputs.
N No deal worksheet so you can see all the circled invalid inputs. Ta
N No deal
Y Free dessert 4. Create a new worksheet in your workbook called "Scre
N No deal
5. Click on cell A3 and change the value from "1025" to "1
Y Free side order
N No deal 6. Click on cell A5 and change the value to "1234". Take a
N No deal message. Paste it on the screenshot tab. Then click Esc to
command.
7. Below the table, in Cell D55 create a data validation dr
that you are able to look up the first name of a customer
5. Click on cell A3 and change the value from "1025" to "1
6. Click on cell A5 and change the value to "1234". Take a
message. Paste it on the screenshot tab. Then click Esc to
Y Free side order command.
Y Free dessert
N No deal 7. Below the table, in Cell D55 create a data validation dr
N No deal that you are able to look up the first name of a customer
Y 10% off total bill receive.
N No deal
8. Use your drop-down list to find out what deal Luke rec

9. Copy cells D55:D56 and paste in F55:F6. Use the drop-d


Jasmeet
10% off total bill 10. Do you agree that a drop-down list like this is the mos
eligible for based on their last name? Explain.
Number of Customers
6
7
5
6
6
11
9

the deals customers are eligible for each day. Complete Task 1 followed by Task 2.
s worksheet or file so that you can refer to the instructions simultaneously.)

ction to find out the delivery day for the dates in Column D.
nction to find out if each customer is eligible for a daily deal (Y) or not (N), based on
d if function)
n K) to the Daily Deals table to calculate many customers receive each deal type, based
mn I). (Use a COUNT function).
"DailyDeals".

UP function to find out which deal customers are eligible for. Use the named cell range

tion rule to the Customer ID column with the following criteria:


n 100 and 300 (inclusive)

sage and stop error alert for this data validation rule and apply the settings.
l to circle all invalid inputs. How many Customer IDs are invalid? Zoom out on your
he circled invalid inputs. Take a screenshot.
your workbook called "Screenshots". Paste the screenshot on this worksheet.

the value from "1025" to "132".


the value to "1234". Take a screenshot to capture both the stop alert and input
enshot tab. Then click Esc to cancel. Clear the validation circles using the data validation

create a data validation drop down list. In cell D56, enter a VLOOKUP function such
he first name of a customer and obtain the deal type they would have been eligible to
the value from "1025" to "132".
the value to "1234". Take a screenshot to capture both the stop alert and input
enshot tab. Then click Esc to cancel. Clear the validation circles using the data validation

create a data validation drop down list. In cell D56, enter a VLOOKUP function such
he first name of a customer and obtain the deal type they would have been eligible to

find out what deal Luke received.

te in F55:F6. Use the drop-down to find out what deal Jasmeet received.
down list like this is the most efficient way of finding out which deal one customer is
name? Explain.
Early Bird Promotion
First Name Last Name Delivery Date Delivery Day Delivery Day Delivery Time
(text) (number)
Luke Morris 7/7/2018 Saturday 6.00 7:12:00 PM
Sid Kapoor 7/1/2018 Sunday 7.00 8:38:24 AM
Lisa Mitra 7/5/2018 Thursday 4.00 3:50:24 PM
Ramesh Paul 7/2/2018 Monday 1.00 12:15:00 PM
Vivian Turner 7/3/2018 Tuesday 2.00 6:28:48 PM
Ella Reed 7/3/2018 Tuesday 2.00 11:45:36 AM
Marcus Scott 7/2/2018 Monday 1.00 3:36:00 PM
Joel Robinson 7/7/2018 Saturday 6.00 10:19:12 AM
Anita Mathew 7/6/2018 Friday 5.00 8:38:24 AM
Roshni Kumar 7/4/2018 Wednesday 3.00 7:40:48 PM
Meera Soni 7/2/2018 Monday 1.00 12:14:24 PM
George Jones 7/1/2018 Sunday 7.00 8:52:48 AM
Radha Sinha 7/3/2018 Tuesday 2.00 2:38:24 PM
Anthony D'Souza 7/1/2018 Sunday 7.00 6:28:48 PM
Lara Singh 7/1/2018 Sunday 7.00 11:31:12 AM
Nandini Rana 7/5/2018 Thursday 4.00 9:50:24 AM
Harsh Kapoor 7/2/2018 Monday 1.00 7:26:24 PM
Bithika Hall 7/5/2018 Thursday 4.00 10:48:00 AM
Russ Robinson 7/5/2018 Thursday 4.00 8:24:00 PM
Trina Basu 7/3/2018 Tuesday 2.00 8:52:48 AM
Lenny Rai 7/4/2018 Wednesday 3.00 10:48:00 PM
Sabrina Arora 7/5/2018 Thursday 4.00 4:48:00 PM
James Myers 7/7/2018 Saturday 6.00 8:24:00 AM
Sherna Lalwani 7/2/2018 Monday 1.00 12:57:36 PM
Robert Clark 7/3/2018 Tuesday 2.00 5:02:24 PM
Aditya Pasricha 7/1/2018 Sunday 7.00 6:57:36 PM
Saba Ali 7/6/2018 Friday 5.00 8:52:48 AM
Naresh Reddy 7/4/2018 Wednesday 3.00 12:00:00 AM
Deanna Grant 7/6/2018 Friday 5.00 11:31:12 PM
Yusuf Ajam 7/1/2018 Sunday 7.00 7:12:00 PM
Mallika Anand 7/2/2018 Monday 1.00 8:09:36 PM
Saba Abbas 7/4/2018 Wednesday 3.00 7:55:12 PM
Karishma Patel 7/6/2018 Friday 5.00 1:55:12 PM
Sam Agarwal 7/7/2018 Saturday 6.00 8:38:24 AM
Arjun Singh 7/1/2018 Sunday 7.00 8:38:24 AM
Nyrah Sindhwani 7/7/2018 Saturday 6.00 12:00:00 PM
Tara Chopra 7/4/2018 Wednesday 3.00 2:52:48 AM
Niraj Das 7/6/2018 Friday 5.00 10:19:12 AM
Rohit Ahuja 7/7/2018 Saturday 6.00 6:00:00 PM
Sai Khurana 7/3/2018 Tuesday 2.00 11:31:12 AM
Aanchal Malik 7/7/2018 Saturday 6.00 11:45:36 AM
Vivaan Goel 7/1/2018 Sunday 7.00 7:12:00 PM
Kavita Mallik 7/7/2018 Saturday 6.00 8:38:24 AM
Saanya Shah 7/7/2018 Saturday 6.00 8:38:24 AM
Sal Mustafa 7/1/2018 Sunday 7.00 6:43:12 PM
Abhinav Singh 7/3/2018 Tuesday 2.00 8:38:24 AM
Gayatri Saxena 7/7/2018 Saturday 6.00 8:38:24 AM
Karina Rao 7/7/2018 Saturday 6.00 8:38:24 AM
Jasmeet Kaur 7/5/2018 Thursday 4.00 2:52:48 AM
Adrita Haque 7/6/2018 Friday 5.00 7:12:00 PM
Total number
of Early Birds
Early Bird Promo timings Start End

Early bird? Lunch 11:30 12:15

Dinner 18:45 19:30

Instructions
Early Bird criteria - Customers who want to avail of an Early Bird discount must place their
Early Bird orders on weekdays between 11:45 a.m. - 12:00 p.m. (for lunch) or 6:45 p.m. - 7:30 p.m.
(for dinner).
Early Bird Use this information and the data presented to complete Tasks 3 & 4.
Task 3 -
1. Use a Text function to fill in Column D to extract the delivery day from the dates in
Column C.

2. Use the WEEKDAY function in Column E to extract the day of the week in numerical
Early Bird format.
Use "2" as the range type to return numbers 1(Monday) through 7 (Sunday).
3. In Column G, write a logical function to find out whether a customer is an early bird.
(refer to the 'Early Bird' criteria stated above) In your function, you will have to reference
Column E values (day of week) and Column F (time of order) to determine whether
customers are early birds. Think about how you will reference the early bird criteria.
Early Bird If a customer is an early bird, the function should return "Early Bird". Otherwise, the
function should return a blank value.

4. Enter a count function in cell G53 to return the number of Early Bird customers.

Task 4 - Data Validation

1. Below the table, in Cell A56, create a dropdown list using the first names column.
2. Select "Luke" from the dropdown list.

3. Merge cells B55 and C55 together. Then merge cells B56 and C56 together.
4. In Cell B55, write a text function so that the cell returns the following sentence:
"Is Luke an Early Bird?" (*reference "Luke" as cell A56 so if you pick a different name from
the list, the sentence updates.)

5. In Cell C55, enter a VLOOKUP function to determine if Luke is an Early Bird.


The function should return "Yes" if true and "No" if false.

6. Test your function out by selecting different customers from the drop-down list.

Early Bird
Early Bird
6
y Bird discount must place their
lunch) or 6:45 p.m. - 7:30 p.m.

Tasks 3 & 4.

ivery day from the dates in

ay of the week in numerical

rough 7 (Sunday).
r a customer is an early bird.
tion, you will have to reference
er) to determine whether
ence the early bird criteria.
arly Bird". Otherwise, the

of Early Bird customers.

ng the first names column.

6 and C56 together.


the following sentence:
you pick a different name from

uke is an Early Bird.

rom the drop-down list.


Daily Deals
Customer ID First Name Last Name Delivery Date Delivery Day Deal? (Y/N)
1052 Luke Morris 7/7/2018 Saturday N
287 Sid Kapoor 7/1/2018 Sunday Y
261 Lisa Mitra 7/5/2018 Thursday Y
173 Ramesh Paul 7/2/2018 Monday Y
231 Vivian Turner 7/3/2018 Tuesday Y
161 Ella Reed 7/3/2018 Tuesday Y
111 Marcus Scott 7/2/2018 Monday Y
292 Joel Robinson 7/7/2018 Saturday N
129 Anita Mathew 7/6/2018 Friday N
204 Roshni Kumar 7/4/2018 Wednesday Y
229 Meera Soni 7/2/2018 Monday Y
299 George Jones 7/1/2018 Sunday Y
123 Radha Sinha 7/3/2018 Tuesday Y
128 Anthony D'Souza 7/1/2018 Sunday Y
231 Lara Singh 7/1/2018 Sunday Y
209 Nandini Rana 7/5/2018 Thursday Y
196 Harsh Kapoor 7/2/2018 Monday Y
190 Bithika Hall 7/5/2018 Thursday Y
202 Russ Robinson 7/5/2018 Thursday Y
209 Trina Basu 7/3/2018 Tuesday Y
205 Lenny Rai 7/4/2018 Wednesday Y
102 Sabrina Arora 7/5/2018 Thursday Y
131 James Myers 7/7/2018 Saturday N
276 Sherna Lalwani 7/2/2018 Monday Y
238 Robert Clark 7/3/2018 Tuesday Y
193 Aditya Pasricha 7/1/2018 Sunday Y
295 Saba Ali 7/6/2018 Friday N
254 Naresh Reddy 7/4/2018 Wednesday Y
247 Deanna Grant 7/6/2018 Friday N
109 Yusuf Ajam 7/1/2018 Sunday Y
119 Mallika Anand 7/2/2018 Monday Y
148 Saba Abbas 7/4/2018 Wednesday Y
193 Karishma Patel 7/6/2018 Friday N
103 Sam Agarwal 7/7/2018 Saturday N
140 Arjun Singh 7/1/2018 Sunday Y
258 Nyrah Sindhwani 7/7/2018 Saturday N
168 Tara Chopra 7/4/2018 Wednesday Y
142 Niraj Das 7/6/2018 Friday N
136 Rohit Ahuja 7/7/2018 Saturday N
180 Sai Khurana 7/3/2018 Tuesday Y
192 Aanchal Malik 7/7/2018 Saturday N
187 Vivaan Goel 7/1/2018 Sunday Y
271 Kavita Mallik 7/7/2018 Saturday N
248 Saanya Shah 7/7/2018 Saturday N
241 Sal Mustafa 7/1/2018 Sunday Y
293 Abhinav Singh 7/3/2018 Tuesday Y
276 Gayatri Saxena 7/7/2018 Saturday N
239 Karina Rao 7/7/2018 Saturday N
242 Jasmeet Kaur 7/5/2018 Thursday Y
130 Adrita Haque 7/6/2018 Friday N
Deal Type Daily Deals Number of Customers
No deal Monday 20% off total bill 6
Free side order Tuesday Free dessert 7
10% off total bill Wednesday Mains - Buy 1 Get 1 5
20% off total bill Thursday 10% off total bill 6
Free dessert Friday No deal 6
Free dessert Saturday No deal 11
20% off total bill Sunday Free side order 9
No deal
No deal
Mains - Buy 1 Get 1
20% off total bill
Free side order
Free dessert
Free side order
Free side order
10% off total bill
20% off total bill
10% off total bill
10% off total bill
Free dessert
Mains - Buy 1 Get 1
10% off total bill
No deal
20% off total bill
Free dessert
Free side order
No deal
Mains - Buy 1 Get 1
No deal
Free side order Task 2 - Data Validation
20% off total bill
1. Apply a custom data validation rule to the Customer ID column with the
Mains - Buy 1 Get 1
- avoid duplicates
No deal - three-digit numbers between 100 and 300 (inclusive)
No deal
Free side order 2. Create a suitable input message and stop error alert for this data valida
No deal
Mains - Buy 1 Get 1 3. Use the Data Validation tool to circle all invalid inputs. How many Cust
No deal worksheet so you can see all the circled invalid inputs. Take a screenshot.
No deal
Free dessert 4. Create a new worksheet in your workbook called "Screenshots". Paste t
No deal
5. Click on cell A3 and change the value from "1025" to "132".
Free side order
No deal 6. Click on cell A5 and change the value to "1234". Take a screenshot to ca
No deal message. Paste it on the screenshot tab. Then click Esc to cancel. Clear the
command.
7. Below the table, in Cell D55 create a data validation drop down list. In c
that you are able to look up the first name of a customer and obtain the d
5. Click on cell A3 and change the value from "1025" to "132".
6. Click on cell A5 and change the value to "1234". Take a screenshot to ca
message. Paste it on the screenshot tab. Then click Esc to cancel. Clear the
Free side order command.
Free dessert
No deal 7. Below the table, in Cell D55 create a data validation drop down list. In c
No deal that you are able to look up the first name of a customer and obtain the d
10% off total bill receive.
No deal
8. Use your drop-down list to find out what deal Luke received.

9. Copy cells D55:D56 and paste in F55:F6. Use the drop-down to find out
10. Do you agree that a drop-down list like this is the most efficient way of
eligible for based on their last name? Explain.
mer ID column with the following criteria:
ive)

alert for this data validation rule and apply the settings.
nputs. How many Customer IDs are invalid? Zoom out on your
uts. Take a screenshot.
d "Screenshots". Paste the screenshot on this worksheet.

5" to "132".
Take a screenshot to capture both the stop alert and input
Esc to cancel. Clear the validation circles using the data validation

tion drop down list. In cell D56, enter a VLOOKUP function such
tomer and obtain the deal type they would have been eligible to
5" to "132".
Take a screenshot to capture both the stop alert and input
Esc to cancel. Clear the validation circles using the data validation

tion drop down list. In cell D56, enter a VLOOKUP function such
tomer and obtain the deal type they would have been eligible to

ke received.

drop-down to find out what deal Jasmeet received.


he most efficient way of finding out which deal one customer is

You might also like