Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The dataset to the left provices a list of customers, rooms they occupied, arrival and departure dates, number of occupants, and daily rate for a
The dataset to the left provices a list of customers, rooms they occupied, arrival and departure dates, number of occupants, and daily rate for a small bedandbreakfast inn during one month. Guests staying for seven days or more receive a discount.
a Create a new variable Length of Stay beginning in cell J that calculates the number of days the guests stayed.
b Create a new variable Discount beginning in cell K that is Yes if guests stayed seven days or longer and No otherwise.
c Count the number of Yes and No responses found in part b Type your answer in cells M and M
d Use the VLOOKUP function to find the room and room type that customers and stayed in Type your answers in cells M through N
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started