470 likes | 574 Views
Lab 4. Using Solver, Linking Workbooks, Using Scenarios and Creating Templates. Objectives. Use Solver. Create and use workbook templates. Protect a worksheet. Open and use multiple workbooks. Link workbooks. Create and use Scenarios. Create a Scenario Summary.
E N D
Lab 4 Using Solver, Linking Workbooks,Using Scenarios and Creating Templates
Objectives • Use Solver. • Create and use workbook templates. • Protect a worksheet. • Open and use multiple workbooks. • Link workbooks. • Create and use Scenarios. • Create a Scenario Summary. • Create and modify 3-D shapes. • Display the current date and time.
Concepts Overview • SolverSolver - Solver is a tool used to perform what-if analyses to determine the effect of changing values in two or more cells on another cell. • Workbook Template - A workbook template is a workbook file that contains predesigned worksheets that can be used as a pattern for creating similar worksheets in new workbooks. • Worksheet Protection - Worksheet protection prevents users from changing a worksheet’s contents by protecting the entire worksheet or specified areas of it.
Concepts Overview • Arrange Windows - The Arrange Windows feature displays all open workbook files in separate windows on the screen, in a tiled, horizontal, vertical, or cascade arrangement. • Link Workbooks - A link creates a connection between files that automatically updates the data in one file whenever the data in the other file changes. • Scenario - A scenario is a named set of input values that you can substitute in a worksheet to see the effects of a possible alternative course of action. Scenarios are designed to help forecast the outcome of various possible actions.
Outline • Analyzing the Worksheet • Using Solver • Creating an Answer Report • Creating a Custom Template • Designing the Template
Outline • Protecting the Worksheet • Saving the Template • Using the Template • Working with Multiple Workbooks • Opening a Second Workbook File • Arranging Windows • Linking Windows • Updating Linked Data
Outline • Evaluating Scenarios • Adding Scenarios • Using Scenarios • Creating a Scenario Report • Enhancing the Report • Creating a 3-D Effect • Enhancing a 3-D Object
Outline • Displaying the Current Date and Time • Using the Now Function • Lab Review
Analyzing the Worksheet • Watch Window • Lets you see what is happening to a particular cell at any time • Tools/Formula/ Auditing/Show Watch Watch Window
Concept 1: SOLVER • Part of a suite of commands called What-if Analysis Tools • Determines the effect of changing values in two or more cells called adjustable cellsontarget cells • Calculates a a formula to achieve a given value
Solver Solution Reports • Answer • Sensitivity • Limits
Concept 2: WORKBOOK TEMPLATE • Workbook file that contains pre-designed worksheets • Used as a pattern for creating similar worksheets in new workbooks • Templates contain… • Text • Graphics • Functions, formulas, and macros
Excel Templates • Template file extension is .xlt • Stored in a special Template folder • Excel automatically displays the SAVE AS dialog box when you save a template • Can specify a new name • Changes file type to .xls
Designing the Template • Design a Template • Use an existing template for your design • Existing formulas and formats are not affected • Replace existing values with 0 • Protect the Worksheet
Concept 3: PROTECTION • Worksheet level protection • Workbook-level protection • Worksheet protection • Prevents users from changing a worksheet's content • Protects the entire worksheet or specified areas • All cells and graphics are locked • Can leave some cells unlocked for editing
Protection • Workbook-level protection • Prevents changes to an entire workbook • Protects so that sheets cannot be moved or deleted or new sheets inserted • Protects a workbook's windows • Prevents changes to the size and positions of windows • Window appearance is consistent • Passwords allowed • One to open and view the file • One to edit and save the file
Default location to save templates Saves workbook as a template file type Saving the Template
More on Workbooks • Can open multiple workbook files at the same time • Each workbook is opened in its own window • Newly opened file is the active workbook file • Can see all workbooks simultaneously
Concept 4: WINDOW ARRANGEMENTS • Multiple opened windows can be arranged to make them easier to view • Appear in the same size • Appear on top of any other open windows
Tiled Windows are displayed one after the other in succession, across and down the screen
Vertical The windows are displayed side-by-side.
Horizontal The windows are displayed one above the other.
Cascade The windows are displayed one on top of the other, cascading down from the top of the screen.
Concept 5: LINKING WORKBOOKS • Link • Creates a connection between files • Automatically updates the linked data in file when data in the other file changes • External reference • Formula in one workbook that refers to a cell in another workbook How does linking in Excel work?
More on Linking • Dependent workbook – receives the data • Source workbook – supplies the data • Dependent cell – contains the external reference cell • Source cell – contains the data to be copied
Source Cell D8 Dependent Cell B8 Source Workbook Dependent Workbook Linking Workbooks 2002 Forecast.xls 2003 Forecast.xls External Reference Formula in Cell B8 =[workbook file reference]sheet refererence!cell reference =[2002 Forecast.xls]Fourth Quarter!D$8
Updating Linked Data • If both files are opened and data changes, updates are automatic • If dependent file is not opened, Excel displays an alert message and prompt • Yes – update references to unopened documents • No – references not updated
Evaluating Scenarios • Scenario • Named set of input values • Can substitute values in a worksheet • Evaluate affects of a possible alternative course of action • Benefits of scenarios • Forecast • Can create various scenario groups
Using Scenarios • Using Scenarios • Choose Tools/Scenarios • Select Scenario name from Scenario Manager box • Click Show • Creating a Scenario Report • Use Summary on Scenario Manager box • Report displayed in a separate window
Enhance the Report • Create a 3-D effect • Enhance a 3-D object
Displaying the Current Date and Time • Use the Now function • Returns the current date and time • Formatted as a date and time • Syntax =NOW()
Key Terms • 3-D Shape - A 3-D shape is a line, AutoShape, or free-form drawing object that has a three-dimensional effect applied to it. • Active workbook - The workbook that contains the cell selector and that will be affected by the next action. • Adjustable cell - In Solver, the cell or cells whose values will be changed in order to attain the value set in the target cell.
Key Terms • Arrange windows - The arrangement of multiple open workbook windows on the screen: tiled, cascade, horizontally or vertically. • Cascade - The window arrangement that displays one workbook window on top of the other, cascading down from the top of the screen. • Dependent cell - The cell that receives the linked data. • Dependent workbook - The workbook file that receives the linked data. • External reference formula - A formula that creates a link between workbooks.
Key Terms • Horizontal - The window arrangement that displays one open workbook window above the other. • Link - A relationship created between files that allows data. • Password - A secret code that prevents unauthorized users from turning off protection. • Protection - A worksheet feature that prevents users from making changes to data and formats.
Key Terms • Scenario - A named set of input values that you can substitute in a worksheet to see the effects of a possible alternative course of action. • Solver - A tool that is used to perform what-if analyses to determine the effect of changing values in two more cells, called the adjustable cells, on another cell, called the target cell. • Source cell The cell or range of cells containing the data you want to copy. • Source Workbook -The workbook file that supplies linked data.
Key Terms • Target Cell - In Solver, the cell you set to the value that you want to be attained. • Template - A workbook file that contains predesigned worksheets that can be used as a pattern for creating other similar sheets in new workbooks. It has an .xlt file extension. • Tiled - A window arrangement in which open workbook windows are displayed one after the other in succession, across and down the screen. • Vertical - The window arrangement in which open workbook windows are displayed side-by-side.
Discussion Questions • Discuss how templates can be used to make workbook creation easier. What types of templates do you think would be most helpful, and what should these templates contain? • Discuss what happens to formulas that are linked to another workbook when the original workbook is updated. When would it be appropriate to link data between workbooks? • Discuss how Solver and scenarios are used in a worksheet. How can they help with the analysis of data?
Frequently Asked Questions • When would use the Watch Window in Excel? • I need to determine the effects of changing values in two or more cells. What can Excel's Solver feature do for me? • How does a workbook template work? • I am using sensitive information. What type of data protection does Excel offer?
Frequently Asked Questions • Help I need to use multiple workbooks and I can't see them all on my screen. How can I arrange these windows? • Explain how I can link two workbooks. Can data be updated if values changed in one of the workbooks? • I want to create a budget forecast based on various revenue values. How can the Excel Scenario Manager help me?
Frequently Asked Questions • What is the function I use to display the current date and time in a worksheet? • What can I do to make my worksheet look more attractive? • How can I lock cells? Unlock cells?
Web Links • Excel Tutorial • http://www.usd.edu/trio/tut/excel/index.html • Technology SOS • http://scils.rutgers.edu/techsos/ • University of Arizona: A Spreadsheet Tutorial • http://timon.sir.arizona.edu/sm97/506/spreadsheet.htm
Web Links • John F. Lacher On-Line Consulting Service • http://www.lacher.com/ (neat samples of applications) • Alan's Excel Goodies • http://www.barasch.com/excel/ • Analyze-it • http://www.analyse-it.com/
Web Links • Generator and Excel • http://myweb.iea.com/~nli/products/genetic_algorithms/generator.htm • Inside Microsoft Excel • http://www.elementkjournals.com/ime/