Article ID: 282855 - Last Review: January 29, 2007 - Revision: 5.2 How to create and use one-input data tables in Microsoft ExcelThis article was previously published under Q282855 On This PageSUMMARY
This article describes how to create and use one-input tables in Microsoft Excel, which allow you to test how changes in one variable affect a formula.
MORE INFORMATION
You can organize one-input tables in two ways: column input or row input.
How to organize the input values in a columnColumn-input tables are organized with the values listed in a vertical array and the formulas listed horizontally. To create a simple column input table, follow these steps:
One-Input table with input values in a column (with formulas displayed)
=======================================================================
| A | B | C | D | E
---|---|-----|--------------|--------------|-----------
1 | | | | |
2 | | |=B1+2 |=B1*2 |=INT(B1/2)
3 | | 10|{=TABLE(,B1)} |{=TABLE(,B1)} |{=TABLE(,B1)}
4 | | 13|{=TABLE(,B1)} |{=TABLE(,B1)} |{=TABLE(,B1)}
5 | | 14|{=TABLE(,B1)} |{=TABLE(,B1)} |{=TABLE(,B1)}
6 | | 19|{=TABLE(,B1)} |{=TABLE(,B1)} |{=TABLE(,B1)}
One-Input table with input values in a column (with values displayed)
=====================================================================
| A | B | C | D | E
---|---|---|-----|----|--------
1 | | | | |
2 | | |#+2 |#*2 |INT(#/2)
3 | | 10| 12|20 | 5
4 | | 13| 15|26 | 6
5 | | 14| 16|28 | 7
6 | | 19| 21|38 | 9
How to organize the input values in a rowRow-input tables are organized with the variable values listed in a horizontal array and the formulas listed vertically. To create a simple row-input table, follow these steps:
One-Input table with row input cell (with formulas displayed):
==============================================================
| A | B | C | D | E | F
---|---|-------------|---------------|--------------|--------------|-----------
| | | | | |
9 | | | 19.95 | 20.98 | 13.5 | 10
10| |=A10*7.8% |{=TABLE(A10,)} |{=TABLE(A10,)}|{=TABLE(A10,)}|{=TABLE(A10,)}
11| |=A10+A10*7.8% |{=TABLE(A10,)} |{=TABLE(A10,)}|{=TABLE(A10,)}|{=TABLE(A10,)}
One-Input table with row input cell (with values displayed):
============================================================
| A | B | C | D | E | F
---|---|------|------|------|------|-----
| | | | | |
9 | | |19.95 |20.98 |13.50 |10.00
10| |Tax | 1.56 | 1.64 | 1.05 | 0.78
11| |Total |21.51 |22.62 |14.55 |10.78
REFERENCES
For more information about how to use data tables, click the following article numbers to view the articles 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
282856
(http://support.microsoft.com/kb/282856/
)
How to create and use two-input data tables in Microsoft Excel
282852
(http://support.microsoft.com/kb/282852/
)
An overview of data tables in Microsoft Excel
| Article Translations
|
Back to the top
