How to Create an Excel Data Table with One Input and Multiple Outputs
Question details
The user needs to set up an automated data table that can calculate several different output outcomes based on a single changing input assumption.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating long-term financial projections or forecasting models where multiple outputs, such as revenue and expenses, need to be evaluated simultaneously against varying values of one specific input variable.
- Observed behavior
- Utilizing the built-in What-If Analysis functionality to instantly populate a table with calculated results for all predefined formulas without having to manually replace the input value each time.
Ensure that the blank input cell you intend to use is properly referenced by all the output formulas you want to analyze.
Use What-If Analysis to Create a One-Variable Data Table
Leverage Excel's built-in What-If Analysis tool to create a one-variable data table that automatically populates results for multiple formulas based on a single changing input cell.
A one-variable data table is ideal when you want to see how different values of one variable in one or more formulas will change the results of those formulas. You can arrange your data table in either a column-oriented or row-oriented layout.
Type your output formulas in a blank row or column. Ensure that each of these formulas references the single input cell you plan to change.
Type the list of values you want to test in the column directly to the left of your formulas (if using a column layout) or in the row directly above your formulas (if using a row layout).
Highlight the entire block of cells that contains both your column/row of changing values and the formulas you just entered.
Navigate to the Data tab on the ribbon. In the Forecast group, click on 'What-If Analysis' and select 'Data Table' from the dropdown menu.
In the Data Table dialog box, enter the reference for your input cell. If your changing values are in a column, enter it in the 'Column input cell' box. If they are in a row, use the 'Row input cell' box. Click OK to generate the results.

Perform What-If Analysis Easily with WPS Spreadsheet
WPS Spreadsheet fully supports What-If Analysis and Data Tables, allowing you to model complex projections and view multiple outcomes seamlessly. It provides a highly compatible, cost-effective alternative for powerful data analysis.
- 1. Prepare your formulas and variables: Open your file in WPS Spreadsheet. Arrange your input values and the corresponding formulas in adjacent columns or rows.
- 2. Highlight the analysis range: Select the entire table array containing your input values and the reference formulas.
- 3. Access What-If Analysis: Go to the Data tab on the top ribbon, click the 'What-If Analysis' button, and choose 'Data Table'.
- 4. Generate your results: Specify your Row or Column input cell depending on your layout, then click OK to instantly calculate all output possibilities.

Frequently Asked Questions
Why are all the results in my data table identical?
This usually happens if your workbook calculation is set to Manual. To fix this, go to the Formulas tab, click Calculation Options, and select 'Automatic' or 'Automatic Except for Data Tables'. You can also press F9 to manually recalculate the sheet.
Can I use multiple input variables with multiple outputs in a Data Table?
No, Excel's Data Table feature is restricted to either one input with multiple outputs (one-variable data table) or two inputs with a single output (two-variable data table). For multiple inputs and multiple outputs, you should use the Scenario Manager.
How do I clear or delete a data table?
Because a data table generates a matrix using an array formula, you cannot change or delete individual cells within the calculated result area. To remove it, you must select the entire range of resulting values and press the Delete key.




