Date post: | 11-Jan-2016 |
Category: |
Documents |
Upload: | maximillian-little |
View: | 214 times |
Download: | 1 times |
Notes for Quiz 1 Come at least 5 minutes early Present your photo ID You should write your name and sign the handout sheet You should return back the handout at the end of the exam No Internet Browsing, chatting, or Cell Phones Submission will be through blackboard
1/21/2009 CPSC203- Week2- Lab1 2
Charts Download excel sheet from my webpage Plot hybrid vehicle sales from January 2004 to May 2007 Change the boarder color to red and its width to 1.25 pt Remove the legend and gridlines from the chart Add major vertical gridlines to the chart Change the color of the vertical and horizontal axis to red
1/21/2009 CPSC203- Week2- Lab1 3
1/21/2009 CPSC203- Week2- Lab1 4
Lookup table Add additional column “ rank” that comes from a lookup
table to achieve the following If Hybrid sales is greater than or equal 30000, rank = A If Hybrid sales is greater than or equal 20000, rank = B If Hybrid sales is greater than or equal 10000, rank = C If Hybrid sales is greater than or equal 50000, rank = D Otherwise, rank=E
1/21/2009 CPSC203- Week2- Lab1 5
Answer
1/21/2009 CPSC203- Week2- Lab1 6
Hybrid Sales Rank4000E6000D6500D6500D5000D9000D9000D
17000C17500C19000C18000C16000C15000C16500C23000B26000B23500B17500C
1700E34000A46000A
Notes for Lookup table Data in lookup tables must be in an ascending order You should use absolute reference to fill out the function
e.g. use $A$1:$A$5 Instead of A1:A5 for values that you don’t want its location to change in fill out
You should use a value of 0 for rank E, so that any value from 0 to 500 will be E Always, ask your self if the answer is correct or not for
randomly selected values
1/21/2009 CPSC203- Week2- Lab1 7
If-Statement Provide another column rank2 to calculate the same
function in slide 5 using If statement
IF (logical expression, true value, false value)
e.g. IF(A2>200,”A”,IF(A2>400,”B”))
1/21/2009 CPSC203- Week2- Lab1 8
Notes for If-Statement Don’t forget quotes for string, e.g. “A” Check your brackets balancing Don’t forget commas or don’t add additional commas. Always, ask yourself if the answer is correct or not for
randomly selected values Don’t forget >= if required
1/21/2009 CPSC203- Week2- Lab1 9
Pivot Table Create a Pivot table for the data so that
Type and automotive sales will be rows Calculate Max of Aug-08 for each Type and automotive
sales
1/21/2009 CPSC203- Week2- Lab1 10
1/21/2009 CPSC203- Week2- Lab1 11
Max of Aug-08 Type Automotive Sales TotalCar Large 12032 Pickup 207199 Total SUV 342191 Total SUV/Cross-over 13875Car Total 342191Hybrid Cross-over 203919 Light-duty Trucks 620846 Midsize 293876 Small 217294Hybrid Total 620846Minivan Total Cross-over 138272Minivan Total 138272Truck/SUV Cars 628686 Large SUV 33810 Luxury 105484 Luxury SUV 21914 Midsize SUV 68673 Minivan 71456Truck/SUV Total 628686Grand Total 628686
Notes for Pivot Tables Make sure which variables are required to be in rows and
which are required to be in columns Double check the function required; e.g. max and min Again ask yourself if the answer is correct
1/21/2009 CPSC203- Week2- Lab1 12
Analysis What are the market share percentages for the top twenty
vehicle sales in August 2008? Use a chart to display this information
1/21/2009 CPSC203- Week2- Lab1 13