e01_and_e02_script
e01_and_e02_script
This set of exercises mirrors the hands-on exercises throughout this chapter, following the
same steps as the textbook exercises but based on a different scenario. It may be useful for in-
class demonstration.
As the sales manager for Flying W Farm & Ranch, you have been asked to
calculate the retail price, sales price, and profit margin for selected items on
sale this month. You will calculate sales prices based on discount rates from
10% to 25%. After creating the initial pricing spreadsheet, you will change
values and see that the formulas update the results automatically. After
inserting formulas, you will format the data in the worksheet.
This semester, you are enrolled in Real Estate Finance at a local community
college. Your professor has provided you with an Excel workbook dealing
with the following loan data: loan number, house cost, down payment,
mortgage rate, and the length of the loan in years. Your assignment is to
calculate the amount financed, the periodic interest rate, the total number
of payment periods, the percent of the house cost that is financed, and the
payoff year for each loan. You will also calculate some summary statistics.
Hands-On Exercise 1: Formula Basics
You are to use a workbook containing data for five mortgages. Your professor has provided the
house cost, down payment, mortgage rate, number of years to pay off the mortgage, and the
financing date for each mortgage.
Steps:
1. Use a Relative Cell Reference
a. Open e02_script_data and save it as e02_script_LastFirst.
b. Click cell D8 in the Details sheet. Type = and click cell B8, the cell containing the first
borrower’s house cost.
c. Type - and click cell C8, the cell containing the down payment by the first borrower.
d. Click Enter to complete the formula.
e. Double-click the cell D8 fill handle.
f. Click cell D9 and view the formula in the Formula Bar. Save the workbook.
2. Use an Absolute Cell Reference
a. Click cell F8. Type =E8/B5 and click Enter.
b. Double-click the cell F8 fill handle, click cell F9, and then view the results.
c. Click Undo to undo the AutoFill process. With F8 as the active cell, click to the right of B5
in the Formula Bar.
d. Press F4 and click Enter.
e. Double-click the fill handle to copy the formula down the Rate Per Period column. Click
cell F9 and view the formula in the Formula Bar. Save the workbook.
3. Use a Mixed Cell Reference
a. Click cell H8 and type =G8*B5.
b. Press F4 to make the B5 cell reference absolute and click Enter.
c. Copy the formula down the # of Pmt Periods column.
d. Ensure the cell H8 is the active cell and click Undo to undo the copied formulas.
e. Click within the $B$5 cell reference in the Formula Bar. Press F4 to change the cell
reference to a mixed cell reference: B$5. Press Ctrl+Enter and copy the formula down the #
of Pmt Periods column. Click cell H9. Save the workbook.
Hands-On Exercise 2: Function Basics
Your Real Estate Finance worksheet contains an area in which you will enter summary statistics.
You will also include the current date.
Steps:
1. Use the SUM Function
a. Open e02_script_solution.
b. Ensure that the Details worksheet is active and click cell B16, the cell where you will enter
a formula for the total house cost.
c. Click AutoSum in the Editing group on the Home tab.
d. Select the range B8:B12, the cells containing the house costs. Click Enter. Save the
workbook.
2. Use the AVERAGE Function
a. Click the Formulas tab and click cell B17, the cell where you will display the average cost
of the houses.
b. Click the AutoSum arrow in the Function Library group and select Average.
c. Select the range B8:B12, the cells containing the house costs. Press Enter, making cell B18
the active cell. Save the workbook.
3. Use the MEDIAN Function
a. Ensure that B18 is the active cell. Click Insert Function between the Name Box and the
Formula Bar, or in the Function Library group on the Formulas tab.
b. Type median in the Search for a function box and click Go.
c. Read the MEDIAN function description and click OK.
d. Click Collapse Dialog Box to the right of the Number 1 box.
e. Select the range B8:B12 and click Expand Dialog Box in the Function Arguments dialog
box. Click OK to accept the function arguments and close the dialog box. Save the workbook.
4. Use the MIN, MAX, and COUNT Functions
a. Click cell B19, the cell to display the cost of the lowest-costing house.
b. Click the AutoSum arrow in the Function Library group, select MIN, select the range
B8:B12, and then press Enter.
c. Click cell B20. Click the AutoSum arrow in the Function Library group, select MAX, select
the range B8:B12, and then press Enter.
d. Click cell B21. Type =COUNT(B8:B12) and press Enter.
e. Select the range B16:B21.
f. Drag the fill handle to the right by two columns to copy to the range C16:D21. Click cell
D21.
g. Click cell B9, change the cell value to 360000, and click Enter. Save the workbook.
5. Use the TODAY Function
a. Click cell B4, the cell to contain the current date.
b. Click Date & Time in the Function Library group, select TODAY to display the Function
Arguments dialog box, and then click OK to close the dialog box.
c. Select the range B4:B7, click the Format arrow from the Cells group on the Home tab and
then select AutoFit Column Width. Save the workbook.
Hands-On Exercise 3: Logical, Lookup, and Financial Functions
Your professor wants you to complete another model for future mortgage data analysis that
includes logical, lookup, and financial functions.
Steps:
1. Use the VLOOKUP Function
a. Open e02_script_solution.
b. Click the Payment Information worksheet tab. Click cell G10, the cell that will store the
APR for the first customer.
c. Click the Formulas tab, click Lookup & Reference in the Function Library group, and then
select VLOOKUP.
d. Ensure that the insertion point is in the Lookup_value box, click the Collapse Dialog Box,
click cell F10 to enter F10 in the Lookup_value box, and then click Expand Dialog Box to
return to the Function Arguments dialog box.
e. Press Tab, click Collapse Dialog Box to the right of the Table_array box, select the range
D4:E6, and then click Expand Dialog Box to return to the Function Arguments dialog box.
f. Press F4 to make the range references absolute.
g. Press Tab and type 2 in the Col_index_num box.
h. Press Tab and type False in the Range_lookup box. Click OK.
i. Copy the formula down the column. Save the workbook.
2. Use the PMT Function
a. Click cell H10, the cell that will store the payment for the first customer.
b. Click Financial in the Function Library group, scroll through the list, and then select PMT.
c. Type G10/B5 in the Rate box.
d. Press F4 to make the reference to cell B5 absolute.
e. Press Tab and type F10*$B$5 in the Nper box.
f. Press Tab and type -D10 in the Pv box. Click OK.
g. Copy the formula down the column. Save the workbook.
3. Use the IF Function
a. Click cell I10, the cell that will store the PMI, if any, for the first customer.
b. Click Logical in the Function Library group and select IF.
c. Type E10>=$B$7 in the Logical_test box.
d. Press Tab and type 0 in the Value_if_true box.
e. Press Tab and type D10*$B$6/$B$5 in the Value_if_false box.
f. Click OK and copy the formula down the column.
g. Set the worksheets to print on one page. Add a footer with your name on the left, sheet
code in the middle, and the file name code on the right. Save and close the workbook.