Select the product you need help with
An overview of data tables in Excel 2003 and in Excel 2007Article ID: 282852 - View products that this article applies to. This article was previously published under Q282852 SUMMARY
You can use data tables to see how different input values affect the results of a formula. By doing so, you can test different input values for a formula without having to retype or copy the formula for each value.
To create a data table in Microsoft Excel 2002 or Microsoft Office Excel 2003, click Table on the Data menu. To create a data table in Microsoft Office Excel 2007, follow these steps:
MORE INFORMATION
The following formula calculates tax on an item based on the item's cost (itemcost):
=itemcost*8.1%
One way to calculate tax for several items is to type the formula for each item, as shown in the following example:
Table created manually (with formulas displayed)
================================================
| A | B
---|------------|-------
1 |Item Cost |Tax
2 | 15|=A2*8.1%
3 | 17.5|=A3*8.1%
4 | 22.35|=A4*8.1%
Table created manually (with values displayed)
==============================================
| A | B
---|----------|-------
1 | Item Cost|Tax
2 | $15.00| $1.22
3 | $17.50| $1.42
4 | $22.35| $1.81
Table created with the Table command (with formulas displayed)
==============================================================
| A | B
---|-----------|------------
1 | Item Cost | =C1*8.1% <--The formula is typed once; then the
2 | 15| =TABLE(,C1) <--Table command puts the results here.
3 | 17.5| =TABLE(,C1)
4 | 22.35| =TABLE(,C1)
C1 represents a variable. The values in cells A2:A4 are substituted for
C1, and the corresponding result is placed in cells B2:B4.
Table created with the Table command (with values displayed)
============================================================
| A B
---|-----------|------
1 |Item Cost |Tax
2 | $15.00| $1.22
3 | $17.50| $1.42
4 | $22.35| $1.81
REFERENCES
For more information about how to use data tables, click the following article number to view the article in the Microsoft Knowledge Base:
282851
(http://support.microsoft.com/kb/282851/
)
How to use Microsoft Excel data tables to analyze information in a database
282855
(http://support.microsoft.com/kb/282855/
)
How to create and use one-input data tables in Microsoft Excel
282856
(http://support.microsoft.com/kb/282856/
)
How to create and use two-input data tables in Microsoft Excel
PropertiesArticle ID: 282852 - Last Review: June 12, 2007 - Revision: 5.3 APPLIES TO
| Article Translations
|


Back to the top








