3Excel tutorial: Excel Information Excel training offered by University Computing Service:Excel handbooks available in JBS Computer LabOn-Line excel tutorials:Book available from JBS libraryB.V. Liengme, A Guide to Microsoft Excel for Scientists and Engineers, Arnold Publisher, London 1997.
4Excel tutorial: Some tips Separate data, model (containing many formulas), and resultsEnsure that you document and organize your models properly so that others can easily understand your model and repeat your experiments in the futureUse absolute and relative references but not use any numbers in formulasEnsure the model is scalable so that you can modify it easilyValidate your models carefullyUse Excel building functions such as SUMPRODUCTUse DATA TABLE which allows you to repeatedly evaluate a particular formula within the model while systematically varying one or two input cells on which the formula depends
5Excel tutorial: Some basic Excel functions FILLDOWN for editing efficiencyRELATIVE and ABSOLUTE REFERENCE for creating formulasIF for logical computationsSUM, MAX, MIN for computationsSUMPRODUCT for scaling-free calculationsRAND, RANDBETWEEN for simulationDATA TABLE for parametric calculation/simulationHLOOPUP, VLOOKUP for sampling
6Excel tutorial: Data Table Create a table with values of the parameter in one column, say A2:A101and copy the value of the output in B1Select/highlight the whole table A1:B101Invoke DataData Table from Excel menu and you get a dialogue boxSelect column input cell, and click the input parameter cell, and thenclick OK. You get the whole data tableWARNING: In order for Data Table to work, ensure that option Automatic in ToolsOptionsCalculation is ticked.You could have a Data Table without a parameter in simulation or a Data Table with two parameters in a data table matrix. In the former, you need to choose an empty cell for the column input cell and in the latter, you need to correctly choose cells for both column input cell and row input cell.
8Excel tutorial: Install Analysis ToolPak Open ExcelGo to ToolsAdd-Ins, tick Analysis ToolPak, and then click OKData Analysis will appear in your Tools menuYou may need the computer installation CD to finish this task
9Excel tutorial: Create a histogram (frequency table) Open Excel with your dataCreate bins, say, 0, 2500, 5000, ..., 7500, ... arranged in a columnGo to ToolsData Analysishistogram. You get a dialogue windowIn Input Range: Select all data area. To highlight or select a whole rectangular area (control-shift and right-arrow to populate the row, control-shift and down-arrow to populate the column)In Bin Range: Select the bin rangeOutput options: Select new workbook and chart output for charts tooClick OK
18Excel tutorial: Install XLSim Download XLSim from or install XLSim from the CD of the book of Sam Savage: Decision Making with InsightInstallation is accomplished by running Setup.exeLaunch ExcelOpen XLSim.xla from File menu of ExcelSelect Tools Add-Ins and then select XLSim. You should see Simulate on your Excel menu. If it does not, it won’t workYou may also need to (1) Copy XLSim.xla into Excel Library or MSOffice\Library directory (2) Copy SIM5016.DLL and SIM5032.DLL to Windows\System directory
19Excel tutorial: Conduct simulation Go to Simulate Simulation (You are given an editing window)Add outputsChoose simulation sizeClick OKYou get another worksheet called StatisticGo to Simulate GraphsChoose Bin Size for histogramsClick histogram to generate a histogramClick cumulative to generate a CD graph
20Excel tutorial: Parametric simulation Determine which parameter for your sensitivity analysisSelect a few values for your parameter and store them in your worksheetGo to Simulate Parameterized SimYou get a new dialog windowSelect your output cell and give a nameSelect the number of trialsSelect the parameter cell used in your modelGive a name for your parameterSelect a range of values for your parameter that you stored beforeSave this parametric simulation in a cell
21Excel tutorial: Parametric simulation You can save and load parametric simulationsAfter creating or loading a parametric simulation, click OK for experimentsGo to Simulate Common Graphs in order to plot either histograms or CD graphs in one diagram. You could have a choice of 3D histogramsBy varying parameter values or changing ranges of parameter values, you can conduct and refine your parametric simulation experimentsFor more detail, see Chapters 2 and 3 of Sam Savage,Decision Making with Insight
23Experiment with Tornado Diagram Excel tutorial:Experiment with Tornado DiagramWe use Customer Manag.xls as an example and assume that you have already done your calculations in workbook “Sensitivity”. We want to test how the system output is sensitive to various inputs.Open Customer Manag.xlsMove to workbook “Sensitivity”Open Tornado.xls and you see “TM” tab in the Excel menu barGo to TMTornado Diagram and window “Tornado Dialog” pops up
24Experiment with Tornado Diagram Excel tutorial:Experiment with Tornado DiagramMove your curser to the box underneath “Data Range”Select range A22:D25, which contains input parameters and the ranges of values in a pre-specified format. The first row of this matrix is for labels: Assumptions, Base, Low, High, each of the remaining rows are for a particular input parameter. For each row other than the first, the first column stores the parameter name, the second, third and fourth store its base, low and high values.Move your curser to the box underneath “Result Cell”Select P13, which stores the system outputClick “OK”We are done!