CSE200 SP12 KREEVES ANSWER SHEET PAGE 1/2 NAME _______________________________________________ Lab section (check one): Q # PT S _______ F 1:30-3:18pm MINU S SEAT# ____________ Lecture: TR 1:30-3:18pm ________ F 3:30-5:18pm ANSWER Given the chart on the worksheet page and assuming that it exists on the MIDTERM worksheet: A. (5 pts) What type of chart is shown? ___________________pie B. (6 pts) What is the data range for the chart? ____ A5:A14,C5:C14 the blue 5 could be 6 1 16 C. (5 pts) Where did the percent values come from? It’s an option for this chart type to give data values as a percent instead of as given (since excel can calculate parts of a whole with the given info) Write an Excel formula in cell MIDTERM!D15 to determine if none of the plants have acidic soil. =NOT(OR(D6:D14)) 2 16 Write an Excel formula in cell MIDTERM!E15 to determine if only trees are a half sun type. That is, only trees have a half sun type and none of the other plant types have a half sun type. NOTE: this is the only question on the test that is not totally updatable in that the plant type column cannot change, but all the other data can and your answer should still work. =AND(E13="half",E6<>"half",E7<>"half",E8<>"half",E9<>"half",E10<>"half",E11<>"half",E12<>"half ",E14<>"half") 3 16 =AND(E13="half",NOT(OR(E6="half",E7="half",E8="half",E9="half",E10="half",E11="half",E12="hal f",E14="half") =AND(E13="half", E14<>"half", COUNTIF(E6:E12,"half")=0) =AND(E13="half", NOT(E14=”half”), COUNTIF(E6:E12,"half")=0) =AND(E13="half", COUNTIF(E7:E14,"half")=1) SP12 Blue Midterm KReeves Page 1 SP12 Blue Midterm KReeves Page 2 Q# PTS MINUS ANSWER Write an Excel formula in cell MIDTERM!F6, which can be copied down to MIDTERM!F14, to determine the number of quarts of water needed PER PLANT for the iris flower. =VLOOKUP(B6,water!A$5:D$9,IF(E6=water!B$4,2,IF(E6=water!C$4,3,4)),FALSE) Could have a nested if on the outside with a VLOOKUP for each of the 3 different outcomes of having two Ifs nested. 4 35 Write an Excel formula in cell MIDTERM!G6, which can be copied down and across to MIDTERM!I14, to determine the number of cups of water needed for all 10 of the iris flowers. 5 16 =$F6*G$4*$C6 Write an Excel formula in cell MIDTERM!F15, which can be copied across to MIDTERM!I15, to determine the average amount of quarts of water needed for all of the plants types on the list rounded to the nearest tenth. =ROUND(AVERAGE(F6:F14),1) 6 16 How might the values you see in F15:I15 change if you didn’t round the values in the previous problem? 7 6 The rounding from the above problem guaranteed that there would be all zeroes to the right of the tenths place; so not rounding could put a non-zero value to the right of the tenths place (i.e. in the hundredths place as currently shown to be zero). SP12 Blue Midterm KReeves Page 3 SP12 Blue Midterm KReeves Page 4 CSE200 SP12 KREEVES ANSWER SHEET PAGE 3/4 NAME _______________________________________________ Lab section (check one): Q# _______ F 1:30-3:18pm PTS MINUS SEAT# ____________ Lecture: TR 1:30-3:18pm ________ F 3:30-5:18pm ANSWER Write an Excel formula in cell MIDTERM!J6, which can be copied down to MIDTERM!J14, to determine if the iris flower plant needs the most quarts of water per plant compared to the rest of the plants on the list. 8 16 =F6=MAX(F$6:F$14) =F6=LARGE(F$6:F$14,1) Write an Excel formula in cell MIDTERM!K6, which can be copied down to MIDTERM!K14, to determine which plants are going to cost more. The plants that cost more are trees as well as the acidic soil plants not in full sun. 9 16 =OR(B6="tree", AND(D6, NOT(E6="full"))) =OR(B6="tree", AND(D6, E6<>"full")) =OR(AND(D6,OR(E6="shade",E6="half")),B6="tree") =OR(AND(D6,OR(E6="shade",E6="half")),B6="tree") =OR(B6="tree",AND(D6,E6="shade"),AND(D6,E6="half")) Write an Excel formula in cell WATER!E5, which can be copied down to WATER!E9, to determine the percent of flower plant types in your garden (based on the list given as input on the MIDTERM worksheet). 10 11 20 18 =COUNTIF(midterm!B$6:B$14,A5)/COUNT(midterm!F$6:F$14) For the COUNT function, cols C, G, H, and I can also be used Write an Excel formula in WATER!F5, which can be copied down to WATER!F9, to determine the ascending rank value of the % of each plant type that you have in your garden. Fill in the worksheet portion given here with the values that would result from this formula being typed in and copied down the column. SP12 Blue Midterm KReeves Page 5 the answers from F5:F9, are 2 2 2 2 1 =RANK(E5,E$5:E$9,1) Q# PTS MINUS ANSWER Write an Excel formula in RATE!B5, which can be copied across to RATE!G5, to convert the annual percentage rate of 8% to a monthly percentage rate. FYI: As you copy across, both the rate and compound unit are changing (see the RATE worksheet description for further reminders). 12 16 =IF(B4="monthly",B3/12,B3/4) =IF(B4="quarterly",B3/4,B3/12) Write an Excel formula in RATE!C8, which can be copied down to RATE!C10, to determine the time it will take (based on the compound unit specified per loan amount) to pay off the $32,000 loan with a $1,400 payment. NOTE: the compound unit is designated in B4:G4 and abbreviated CU. FYI: Don’t forget to use the named range. 13 30 =NPER(HLOOKUP(A8,bankinfo,4),-B8,A8) When determining the answer to the previous problem (from the RATE worksheet), I was getting the #NUM error… what does this error mean? That is, not why did I get the error, just define the meaning of the error message in general. 14 5 a formula or function contains an invalid numeric value or values Because of the above problem (getting the #NUM error from the RATE worksheet), I was changing the annual percentage rate information in cells B3:G3 and watching the data change in cells C8:C10 to help get rid of the #NUM error. Is this called a What-IF Analysis or a Goal Seek? 15 8 WHAT-IF SP12 Blue Midterm KReeves Page 6 MIDTERM SCORE _____________/250 SP12 Blue Midterm KReeves Page 7