2 The Week worksheet contains data for the week of April 5. In cell D7, insert the appropriate date function to calculate the number of days between the Date Arrived and Date Ordered. Copy the function to the range D8:D35. 3 Next, you want to display the city names that correspond with the city airport codes. In cell F7, insert the SWITCH function to evaluate the airport code in cell E7. Include mixed cell references to the city names in the range F2:F4. Use the airport codes as text for the Value arguments. Copy the function to the range F8:F35. 4 Now you want to display the standard shipping costs by city. In cell H7, insert the IFS function to identify the shipping cost based on the airport code and the applicable shipping rates in the range G2:G4. Use relative and mixed references correctly. Copy the function to the range H8:H35. Finally, you want to calculate a partial shipping refund if two conditions are met. In cell 17, insert an IF function with a nested AND function to determine shipping refunds. The AND function should ensure both conditions are met: Total Days is grater than Total Days Delivery Goal (cell C3) and Order Total is equal to or greater than Order Total Threshold (cell C2). If both conditions are met, the refund is 50% (cell C4) of the Shipping Cost. Otherwise, the refund is $0. Use mixed references as needed. Copy the function to the range 18:135.

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter9: Getting Started With Javascript: Creating A Countdown Clock
Section: Chapter Questions
Problem 5RA
icon
Related questions
Question
Shipping
$
Input Area
Cities
Austin
Dallas-Forth Worth $
Houston
Order Total Threshold
1,000
24
Total Days Delivery Goal
10
20
Shipping Refund Rate
50%
$
30
Date
Date
Date
Airport
Shipping Shipping
Total Days Code
Shipped
4/6/2021
Ordered
Arrived
Shipped From
Order Total
Cost
Refund
4/5/2021
4/5/2021
4/5/2021
4/5/2021
4/5/2021
4/5/2021
4/5/2021
4/9/2021
AUS
$
975
4/7/2021 4/15/2021
AUS
$
1,055
4/7/2021 4/16/2021
IAH
$
1,075
4/7/2021 4/12/2021
DFW
$
1,000
4/9/2021 4/16/2021
4/5/2021 4/12/2021
IAH
$
2,535
DFW
$
1,890
4/8/2021 4/16/2021
AUS
$
950
4/6/2021
4/8/2021 4/15/2021
4/6/2021
4/8/2021 4/19/2021
4/8/2021 4/14/2021
4/9/2021 4/19/2021
4/7/2021 4/12/2021 4/16/2021
DFW
$
1,485
4/9/2021
4/6/2021
4/6/2021
4/6/2021
4/6/2021
DFW
550
AUS
1,250
IAH
$
1,600
DFW
2,500
IAH
1,425
4/7/2021
4/9/2021 4/16/2021
AUS
800
4/7/2021
4/9/2021 4/14/2021
DFW
1,000
4/7/2021 4/24/2021 4/30/2021
4/7/2021 4/12/2021 4/16/2021
4/8/2021
DFW
1,125
ТАН
1,625
4/9/2021 4/14/2021
IAH
1,345
Week
Stats
Map Loan
SSS S
Transcribed Image Text:Shipping $ Input Area Cities Austin Dallas-Forth Worth $ Houston Order Total Threshold 1,000 24 Total Days Delivery Goal 10 20 Shipping Refund Rate 50% $ 30 Date Date Date Airport Shipping Shipping Total Days Code Shipped 4/6/2021 Ordered Arrived Shipped From Order Total Cost Refund 4/5/2021 4/5/2021 4/5/2021 4/5/2021 4/5/2021 4/5/2021 4/5/2021 4/9/2021 AUS $ 975 4/7/2021 4/15/2021 AUS $ 1,055 4/7/2021 4/16/2021 IAH $ 1,075 4/7/2021 4/12/2021 DFW $ 1,000 4/9/2021 4/16/2021 4/5/2021 4/12/2021 IAH $ 2,535 DFW $ 1,890 4/8/2021 4/16/2021 AUS $ 950 4/6/2021 4/8/2021 4/15/2021 4/6/2021 4/8/2021 4/19/2021 4/8/2021 4/14/2021 4/9/2021 4/19/2021 4/7/2021 4/12/2021 4/16/2021 DFW $ 1,485 4/9/2021 4/6/2021 4/6/2021 4/6/2021 4/6/2021 DFW 550 AUS 1,250 IAH $ 1,600 DFW 2,500 IAH 1,425 4/7/2021 4/9/2021 4/16/2021 AUS 800 4/7/2021 4/9/2021 4/14/2021 DFW 1,000 4/7/2021 4/24/2021 4/30/2021 4/7/2021 4/12/2021 4/16/2021 4/8/2021 DFW 1,125 ТАН 1,625 4/9/2021 4/14/2021 IAH 1,345 Week Stats Map Loan SSS S
2
The Week worksheet contains data for the week of April 5.
In cell D7, insert the appropriate date function to calculate the number of days between the
Date Arrived and Date Ordered. Copy the function to the range D8:D35.
Next, you want to display the city names that correspond with the city airport codes.
In cell F7, insert the SWITCH function to evaluate the airport code in cell E7. Include mixed
cell references to the city names in the range F2:F4. Use the airport codes as text for the
Value arguments. Copy the function to the range F8:F35.
4
Now you want to display the standard shipping costs by city.
In cell H7, insert the IFS function to identify the shipping cost based on the airport code and
the applicable shipping rates in the range G2:G4. Use relative and mixed references
correctly. Copy the function to the range H8:H35.
Finally, you want to calculate a partial shipping refund if two conditions are met.
In cell 17, insert an IF function with a nested AND function to determine shipping refunds.
The AND function should ensure both conditions are met Total Days is grater than Total
Days Delivery Goal (cell C3) and Order Total is equal to or greater than Order Total
Threshold (cell C2). If both conditions are met, the refund is 50% (cell C4) of the Shipping
Cost. Otherwise, the refund is $0. Use mixed references as needed. Copy the function to the
range 18:135.
3.
Transcribed Image Text:2 The Week worksheet contains data for the week of April 5. In cell D7, insert the appropriate date function to calculate the number of days between the Date Arrived and Date Ordered. Copy the function to the range D8:D35. Next, you want to display the city names that correspond with the city airport codes. In cell F7, insert the SWITCH function to evaluate the airport code in cell E7. Include mixed cell references to the city names in the range F2:F4. Use the airport codes as text for the Value arguments. Copy the function to the range F8:F35. 4 Now you want to display the standard shipping costs by city. In cell H7, insert the IFS function to identify the shipping cost based on the airport code and the applicable shipping rates in the range G2:G4. Use relative and mixed references correctly. Copy the function to the range H8:H35. Finally, you want to calculate a partial shipping refund if two conditions are met. In cell 17, insert an IF function with a nested AND function to determine shipping refunds. The AND function should ensure both conditions are met Total Days is grater than Total Days Delivery Goal (cell C3) and Order Total is equal to or greater than Order Total Threshold (cell C2). If both conditions are met, the refund is 50% (cell C4) of the Shipping Cost. Otherwise, the refund is $0. Use mixed references as needed. Copy the function to the range 18:135. 3.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning