Excel Data Tables in any sheet

Web Resources

Web Resources

Web Resources

Web Resources

Web Resources

Web Resources

all posts

tags

Excel Data Tables in any sheet

by Rickard Warnelid

Excel data tables are amazingly powerful tools in scenario and sensitivity analysis. In this tutorial, we would like to demonstrate how to create an offsheet data table in any location in your workbook.

Input cell reference is not valid
If you have ever seen this error message “Input cell reference is not valid” when working with Excel Data Tables then you will enjoy this tutorial.

"Input ce;; reference is not valid"

Screenshot 1: Error message "Input cell reference is not valid" from offsheet data table reference

Benefits of Excel data tables

Data Tables can store the results of many different scenarios in one table so that you can compare the results of a number of permutations to the original inputs together in one table. Data tables are created by activating the table dialogue box in Excel menu. This is done by selecting Data „³ Table, and enter the driver for the table in Row input or Column input cell.

Row and column input cell for Excel Data Table

Screenshot 2: Input for Data Table (row and column)

Usually the input cell that drives the table is located in the same worksheet with the data table. However, there might be some circumstances whereby you would like to create the data table in another worksheet in your workbook which is different from such input cells. This is what we call an offsheet data table. The accompanied workbook was created to illustrate how to create the Offsheet data table for scenarios.

Data table for scenario analysis

Let’s recap how a data table enables us to compare the results of scenarios together in one data table. Screenshot 3 shows a typical scenario manager for project finance models that allows us to switch between each of the identified case by clicking the switch in cell “E6”. The differences to the Base Case flow through the entire model by linking “Col E” in the table below into various sections of the model.

Scenario Manager linked to data table for summary output

Screenshot 3: Typical scenario manager for analysis

For example, the price path (cell “E14”) and price flex (cell “E15”) from the scenario manager are linked to the inputs section. The screenshot below illustrates how the variables flow through if Case #2 is selected.

Linking flex cells for sensitivity analysis of project  parameters

Screenshot 4: Linking in flex cells for sensitivity and scenario analysis

The last thing is to create a data table that allows us to compare the scenarios all in one table. The way the data table works is to sequentially insert each “input value” into the “input cell” that drives the calculations throughout the model. In this example, the driver is the switch in cell “E6” of the scenario manager and a data table as shown below can be created by entering the driver cell “E6” into the dialogue box in Screenshot 1.

Data table output for scenario analysis in Excel

Screenshot 5: Scenario data table

Create an offsheet data table

So far the table driver (the switch in cell “E6” in Screenshot 3) is located in the same worksheet with the created data table (Screenshot 5). How to create a data table in a different location, for example in another worksheet called “Data Table”?

Step 1: Create a driver cell in another worksheet

For example, let’s create an offsheet data table in “Data table” tab. A new cell “D6” will drive the table. This cell needs to be empty or otherwise will overwrite the switch cell “E6” in Screenshot 3.

Offsheet reference cell for data table

Screenshot 6: Create a driver cell

Step 2: Insert new cells in scenario manager

Refer to Screenshot 7:

  • Go back to “Scenario” tab and insert cell “E7” 
  • Cell “E7” is custom formatted such that if no value is entered in cell “D6” of the “Data table” tab, it will be appeared as “na”. 
  • Insert cell “E8” with formula as shown below. 
  • Download the workbook and learn how the overwriting mechanics work if a value is entered in cell “D6” of the “Data table” tab. 
  • Remember to adjust formula in “Col E” of the scenario manager to refer to the new cell “E8”. 

New cells in the scenario manager

Screenshot 7: New cells in scenario manager

Step 3: Create offsheet data table

Now we are ready to create an offsheet data table. Select the entire table area and impute cell “D6” created in Step 1 in the row input cell in the dialogue box. Remember to press F9 to calculate table.

Complete data table with offsheet reference without error  message

Screenshot 8: Complete data table with offsheet references

Training

Upcoming Courses

Financial Modelling for Mining Projects
Perth
7 February - 8 February 2012
Financial Modelling for Mining Projects
Sydney
14 February - 15 February 2012
Financial Modelling for Mining Projects
London
15 February - 16 February 2012

Modelling

Model Auditing

Testimonials

Jemena

"Corality completed a model audit for Jemena on a strategic water project in December 2008. Throughout the audit work, the Corality staff were thorough and diligent. Despite being the holiday season, the job was completed efficiently and on time. We were impressed with the high level of “Corality professionalism” throughout the audit process."

Vincent Leong, Financial Analyst Commercial Strategy

Terms | Privacy © Corality Pty Ltd