Answered step by step
Verified Expert Solution
Link Copied!

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 bed-and-breakfast inn during one month. Guests staying for seven days or more receive a 10% discount.
a. Create a new variable Length of Stay beginning in cell J3 that calculates the number of days the guests stayed.
b. Create a new variable Discount beginning in cell K3 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 M4 and M5.
d. Use the VLOOKUP function to find the room and room type that customers 5,12, and 19 stayed in. Type your answers in cells M9 through N11.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Discuss the limitations of ASCII.

Answered: 1 week ago

Question

The Nature of Nonverbal Communication

Answered: 1 week ago

Question

Functions of Nonverbal Communication

Answered: 1 week ago

Question

Nonverbal Communication Codes

Answered: 1 week ago