On the Cities worksheet, click cell E13. Depending on the city, you will either take a shuttle to/from the airport or rent a car. Insert an IF function that compares to see if Yes or No is located in the Rental Car? Column for a city. If the city contains No, display the value in cell F2. If the city contains Yes, display the value in the Rental Car Total (F4). Copy the function from cell E13 and use the Paste Formulas option to copy the function to the range E14:E18 without removing the border in cell E18.

Respuesta :

The answer & explanation for this question is given in the attachment below.

Ver imagen ammary456

The question illustrates the use of conditional statements

The formula in cell E13 is = IF(C13="Yes",F4,F2)

From the complete question:

Column C represents the column for Rental Car

This means that:

Cell C13 will be used to compare if Yes or No is located in the Rental Car

 

The syntax of if condition statement is:

= IF([Condition],"Value if true","Value if false")

So, the formula in cell E13 would be:

= IF(C13="Yes",F4,F2)

The above formula will

  • Check if C13 is "Yes"
  • If the condition is true, then the formula returns the value of cell F4
  • Otherwise, it returns the value of cell F2

Equivalents in range E14:E18 are:

  • = IF(C14="Yes",F4,F2)
  • = IF(C15="Yes",F4,F2)
  • = IF(C16="Yes",F4,F2)
  • = IF(C17="Yes",F4,F2)
  • = IF(C18="Yes",F4,F2)

Read more about Microsoft Excel formulas at:

brainly.com/question/2198360