CS105 Fall 2013 Lab2
CS105 Fall 2013 Lab2
2
Task
1:
Mixed
References
1. Download CS105_FALL_2013_LAB02.xlsx. 2. View the Sales worksheet. We want to break down the sales data for each of the 3 teas, to better understand how well they sold. Objective : For each cell in E3:G26, if the product is the same as the column header in row 2, show the rows revenue in the cell.
Hints: Weve written the code for cell E2, but when we tried to fill-right and fill-down, the cell references were erroneous! Use mixed cell references. Use fill handle to fill down and fill right from E3. PROTIP: Excel color codes cell references!
3. Use the SUM() function provided by Excel to find the sum of all expenses incurred per tea in E28 then fill F28 and G28.
Task 2: Practicing Functions 1. We have a spreadsheet (Expenses) detailing a credit card bill for student. 2. Use the TODAY() function provided by Excel to fill in the column days since charge. (Hint: You can just type in the formula in one cell and fill it into other cells.) 3. Use the SUM() function provided by Excel to find the sum of all expenses incurred. Task 3: Using the PMT function 1. The PMT() function calculates the payment for a loan given constant payments for a constant interest rate. Below the expenditure details is a table which asks you to calculate payments given duration. Calculate these amounts using the interest rates given in cells E2 and C2 respectively. (Hint: The interest rate given in C2 is annual; you will have to change it to use it for a monthly PMT calculation.) Note: Take the absolute value of the answer obtained by the PMT function using ABS(). Why is the PMT result negative? Extra: Look at the table labeled Extra. How much should you limit your expenses to be if you could only afford to re-pay $5.00 a day instead of $5.34? Hint: Use Goal Seek.