Go Back   TechArena Community > ARENA > Guides & Tutorials
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



A Data Table in Microsoft Office Excel

Guides & Tutorials


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-04-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
A Data Table in Microsoft Office Excel
  

Introduction -

A data table is a range of cells that shows how changing one or two variables in your formulas will affect the results of those formulas.
Data tables provide a shortcut for calculating multiple results in one operation and a way to view and compare the results of all the different variations together on your worksheet.

Overview -

Data tables are part of a suite of commands that are called what-if analysis tools. When you use data tables, you are doing what-if analysis.

Reply With Quote
  #2  
Old 10-04-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: A Data Table in Microsoft Office Excel

What-if analysis

What-if analysis is the process of changing the values in cells to see how those changes will affect the outcome of formulas on the worksheet. For example, you can use a data table to vary the interest rate and term length that are used in a loan to determine possible monthly payment amounts.

Kinds of what-if analysis

There are three kinds of what-if analysis tools in Excel -
  1. Scenarios
  2. Data tables
  3. Goal seek.

Scenarios and data tables take sets of input values and determine possible results.
Goal Seek works differently from scenarios and data tables in that it takes a result and determines possible input values that produce that result.

Like scenarios, data tables help you explore a set of possible outcomes.
Unlike scenarios, data tables show you all the outcomes in one table on one worksheet.
Using data tables makes it easy to examine a range of possibilities at a glance. Because you focus on only one or two variables, results are easy to read and share in tabular form.

A data table cannot accommodate more than two variables. If you want to analyze more than two variables, you should instead use scenarios. Although it is limited to only one or two variables (one for the row input cell and one for the column input cell), a data table can include as many different variable values as you want. A scenario can have a maximum of 32 different values, but you can create as many scenarios as you want.
Reply With Quote
  #3  
Old 10-04-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: A Data Table in Microsoft Office Excel

Data table basics

You can create one-variable or two-variable data tables, depending on the number of variables and formulas that you want to test.

One-variable data tables -

Use a one-variable data table if you want to see how different values of one variable in one or more formulas will change the results of those formulas. For example, you can use a one-variable data table to see how different interest rates affect a monthly mortgage payment by using the PMT function. You enter the variable values in one column or row, and the outcomes are displayed in an adjacent column or row.

In the following illustration, cell D2 contains the payment formula, =PMT(B3/12,B4,-B5), which refers to the input cell B3.




Two-variable data tables -

Use a two-variable data table to see how different values of two variables in one formula will change the results of that formula. For example, you can use a two-variable data table to see how different combinations of interest rates and loan terms will affect a monthly mortgage payment.

In the following illustration, cell C2 contains the payment formula, =PMT(B3/12,B4,-B5), which uses two input cells, B3 and B4.

Reply With Quote
  #4  
Old 10-04-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: A Data Table in Microsoft Office Excel

One-Variable Data Table

To create a one-variable data table

A one-variable data table has input values that are listed either down a column (column-oriented) or across a row (row-oriented). Formulas that are used in a one-variable data table must refer to only one input cell.
  1. Type the list of values that you want to substitute in the input cell either down one column or across one row. Leave a few empty rows and columns on either side of the values.
  2. Do one of the following:
    • If the data table is column-oriented (your variable values are in a column), type the formula in the cell one row above and one cell to the right of the column of values. The one-variable data table illustration shown in the Overview section is column-oriented, and the formula is contained in cell D2.

      If you want to examine the effects of various values on other formulas, type the additional formulas in cells to the right of the first formula.
    • If the data table is row-oriented (your variable values are in a row), type the formula in the cell one column to the left of the first value and one cell below the row of values.

      If you want to examine the effects of various values on other formulas, type the additional formulas in cells below the first formula.
  3. Select the range of cells that contains the formulas and values that you want to substitute. Based on the first illustration in the preceding Overview section, this range is C2 : D5.
  4. On the Data tab, in the Data Tools group, click What-If Analysis, and then click Data Table.
  5. Do one of the following:
    • If the data table is column-oriented, type the cell reference for the input cell in the Column input cell box. Using the example shown in the first illustration, the input cell is B3.
    • If the data table is row-oriented, type the cell reference for the input cell in the Row input cell box.
Reply With Quote
  #5  
Old 10-04-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: A Data Table in Microsoft Office Excel

Add a formula to a one-variable data table
  1. Formulas that are used in a one-variable data table must refer to the same input cell.
  2. Do one of the following:
    • If the data table is column-oriented (your variable values are in a column), type the new formula in a blank cell to the right of an existing formula in the top row of the data table.
    • If the data table is row-oriented (your variable values are in a row), type the new formula in a blank cell below an existing formula in the first column of the data table.
  3. Select the range of cells that contains the data table and the new formula.
  4. On the Data tab, in the Data Tools group, click What-If Analysis, and then click Data Table.
  5. Do one of the following:
    • If the data table is column-oriented, type the cell reference for the input cell in the Column input cell box.
    • If the data table is row-oriented, type the cell reference for the input cell in the Row input cell box.
Reply With Quote
  #6  
Old 10-04-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: A Data Table in Microsoft Office Excel

Two-Variable Data Table

To create a two-variable data table

A two-variable data table uses a formula that contains two lists of input values. The formula must refer to two different input cells.
  1. In a cell on the worksheet, enter the formula that refers to the two input cells.
    In the following example, in which the formula's starting values are entered in cells B3, B4, and B5, you type the formula
    =PMT(B3/12,B4,-B5) in cell C2.
  2. Type one list of input values in the same column, below the formula.
    In this case, type the different interest rates in cells C3, C4, and C5.
  3. Enter the second list in the same row as the formula, to its right.
    Type the loan terms (in months) in cells D2 and E2.
  4. Select the range of cells that contains the formula (C2), both the row and column of values (C3:C5 and D2:E2), and the cells in which you want the calculated values (D3:E5).
    In this case, select the range C2:E5.
  5. On the Data tab, in the Data Tools group, click What-If Analysis, and then click Data Table.
  6. In the Row input cell box, enter the reference to the input cell for the input values in the row.
    Type cell B4 in the Row input cell box.
  7. In the Column input cell box, enter the reference to the input cell for the input values in the column.
    Type B3 in the Column input cell box.
  8. Click OK.

Example - A two-variable data table can show how different combinations of interest rates and loan terms will affect a monthly mortgage payment. In the following illustration, cell C2 contains the payment formula, =PMT(B3/12,B4,-B5), which uses two input cells, B3 and B4.

Reply With Quote
  #7  
Old 10-04-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: A Data Table in Microsoft Office Excel

Data table calculations

Data tables are recalculated whenever a worksheet is recalculated, even if they have not changed. To speed up calculation of a worksheet that contains a data table, you can change the Calculation options to automatically recalculate the worksheet but not the data tables.

Speed up calculation on a worksheet that contains data tables

1. Click the Microsoft Office Button , click Excel Options, and then click the Formulas category.
2. In the Calculation options section, under Calculate, click Automatic except for data tables.

Tip -
An alternate method,
On the Formulas tab -- In the Calculation group -- Click the arrow on Calculation Options -- then click Automatic Except Data Tables.

Note -
When you select this calculation option, data tables are skipped when the rest of the workbook is recalculated. To manually recalculate your data table, select its formulas and then press F9.
Reply With Quote
  #8  
Old 29-04-2009
Member
 
Join Date: Apr 2009
Posts: 2
Re: A Data Table in Microsoft Office Excel

Select the entire data table (data table: A range of cells that shows the results of substituting different values in one or more formulas. There are two types of data tables: one-input tables and two-input tables.), including all formulas (formula: A sequence of values, cell references, names, functions, or operators in a cell that together produce a new value. A formula always begins with an equal sign (=).),
Reply With Quote
Reply

  TechArena Community > ARENA > Guides & Tutorials
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "A Data Table in Microsoft Office Excel"
Thread Thread Starter Forum Replies Last Post
MS Office Excel 2010: Unable to print PivotTables with non-PivotTable data at bottom of table. Girl Geek 2012 Windows Software 2 06-08-2012 08:00 PM
Pivot table invalid data source reference error in Microsoft Excel CeLeStiA MS Office Support 2 25-02-2012 10:51 AM
How to view pivot table external data source in Microsoft Excel 200 LuniA MS Office Support 2 23-02-2012 12:09 PM
Microsoft Office Excel cannot create or use the data range reference because it is too complex Error Finian-- MS Office Support 4 31-12-2011 06:11 PM
Convert Excel data to HTML Table Chalina Software Development 2 05-08-2009 12:21 AM


All times are GMT +5.5. The time now is 09:07 AM.