CS1100: Excel Lab 3. To complete this assignment you must submit an electronic
copy to BlackBoard by the due date. Use the starter file CS1100.E3.xls.
CS1100: Excel Lab 3 To complete this assignment you must submit an electronic copy to BlackBoard by the due date. Use the starter file CS1100.E3.xls. In this lab you are asked to look up data and build flexible models. Use Excel help to figure out how to use the functions.
Knowledge Needed This lab requires the following Excel functions and techniques: •
Cell ranges, borders, shading, cell formatting, number formatting
•
VLOOKUP and HLOOKUP function to map data
•
IFERROR function to build robust models
•
SUM function to add values
•
Absolute vs. relative cell references
•
Named ranges
•
Copying of formulas
•
Excel help and online documentation
Problem The sheet “Orders” contains information about orders received by the Symbion Group during the past week. For each order we know its order ID, the customer, the state to which the order must be delivered, the weight (in pounds) of the order, and the order amount. You are to build a model that calculates the sales tax, shipping due, total due for the order, and sales commission. The sales tax is a percentage of the order amount and shipping is an amount based on the destination and the weight of the order. Here are the exact calculations: Sales Tax = Order Amount * Sales Tax Rate for State Shipping = Weight * Shipping Rate for State Order Total = Order Amount + Sales Tax + Shipping Commission = Order Amount * Commission Rate You need to use VLOOKUP and HLOOKUP to find the correct rates to use based on the state. Make sure your model continues to work if tax rates, shipping rates, or states change. Complete the following: 1. Download, save, and then open the CS1100.S11.E3.xls workbook from Blackboard. 2. In the Tax Rates sheet, create a named range for B2:K3 for the tax rates table. Name the range TaxRates. 3. In the Shipping Rates sheet, create a named range for A2:B11 for the shipping rates table. Name the range ShippingRates.
LabE3
CS1100
4. Using HLOOKUP calculate the sales tax due for each order. Be sure to use the named range TaxRates and an exact match lookup. 5. Using VLOOKUP calculate the shipping due for each order. Be sure to use the named range ShippingRates and an exact match lookup. 6. Using SUM, calculate the total due for the order. Make sure your formula is copyable. 7. Using IFERROR strengthen your VLOOKUP and HLOOKUP formulas so that your model will work even if a state cannot be found in a lookup table. Assume a tax rate of 0% if a state’s tax rate is not in the table. 8. In the Commission Rates sheet, create a table for the following sales commission structure. Agents receive a commission that is a percentage of the amount sold. Name the range CommissionRates. If an Agent sells:
The Agent receives:
$50,000 or more
35% of the value of the sales
$25,000 or more but less than $50,000
30% of the value of the sales
$10,000 or more but less than $25,000
25% of the value of the sales
$5,000 or more but less than $10,000
20% of the value of the sales
Less than $5,000
15% of the value of the sales
9. Using VLOOKUP calculate the commission due for the sale. Be sure to use the named range CommissionRates and an approximate match lookup. 10. Using SUM calculate the total amounts for order amount, sales tax, shipping, order total, and commission. 11. Format the output as shown below (note the output for Guam (GU) whose tax rate cannot be found in the tax rates table):
Symbion Group Order ID KX0325 JH8732 AS7763 UH4853 JH4483 HG6654 UH6632 IH7762
Customer Thoren Industries KIG Industrial Group Cavanough LLC Suffolk Excavation Mazoli Construction Government of Guam Emerson Health Care United Electric Totals
State MA MA NH RI CT GU FL VT
Weight 27 436 798 98 49 23 9 145
Order Amount $ 12,998.00 $ 106,329.00 $ 66,234.32 $ 1,993.00 $ 46,998.00 $ 7,654.13 $ 1,288.00 $ 4,997.00 $ 248,491.45
2 of 3
Sales Tax $ 812.38 $ 6,645.56 $ -‐ $ 139.51 $ 2,819.88 $ -‐ $ 77.28 $ 299.82 $ 10,794.43
Shipping $ 27.00 $ 436.00 $ 981.54 $ 105.84 $ 91.63 $ -‐ $ 23.85 $ 255.20 $ 1,921.06
Total Due $ 13,837.38 $ 113,410.56 $ 67,215.86 $ 2,238.35 $ 49,909.51 $ 7,654.13 $ 1,389.13 $ 5,552.02 $ 261,206.94
Commission $ 3,249.50 $ 37,215.15 $ 23,182.01 $ 298.95 $ 14,099.40 $ 1,530.83 $ 193.20 $ 749.55 $ 80,518.59
LabE3
CS1100
GRADING RUBRIC This rubric is intended to guide graders in their evaluation of the students’ submissions. Criterion
Grading
Named ranges are defined
-5 for each named range that is not defined (max deduction -15)
Named ranges are used in VLOOKUP and HLOOKUP functions
-2 for each named range that is not used (max deduction -6)
Correct values for sales tax and shipping
-10 for each incorrect formula (max deduction -20)
Correctly set up commission lookup table
-5 if table is not set up correctly
Correct value for commission
-10 if incorrect
Correct value for order total
-10 if incorrect
Correct handling of lookups if state is not found in table using IFERROR
-10 if missing states cannot be handled
Correct values for total order amounts, sales tax, shipping, order total, and commission
-2 for each incorrect sum (max deduction of -10)
Correct formatting of columns
-2 if header is not shaded -2 if header is not boldface -2 if no top border -2 if no bottom border -2 if sums are not italicized
3 of 3