How to Copy an Excel What-If Data Table Without Losing Formulas
Question details
The user wants to copy an existing one-variable data table but finds that pasting it only retains static values, losing the array formula and input-cell relationship.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Attempting to duplicate a What-If Analysis data table to another location for further calculations or reporting.
- Observed behavior
- Standard copy and paste methods transfer only the calculated static values, stripping away the underlying data-table array formulas and input cell dependencies.
Before attempting to duplicate your data table, identify exactly which input cells (row or column) your original What-If Analysis relies on, as you will need to re-link them.
Recreate the Data Table Using What-If Analysis
Since Excel does not support copying the underlying array function of a data table, the most reliable method is to copy the structure and reapply the Data Table tool.
Spreadsheet architecture prevents the direct duplication of the underlying table array formula via standard copy-paste commands. To achieve a functional copy, you must replicate the base layout and use the What-If Analysis tool to restore the dynamic calculations.
Select the entire original data table, including headers and the top-left formula cell, and press Ctrl + C.
Click on the destination cell where you want the new table to start and press Ctrl + V. This pastes the formatting, headers, and static values.
Delete the static values in the result area of your newly pasted table, making sure to leave the header variables and the formula cell intact.
Highlight the entire new table range. Navigate to the Data tab on the ribbon, click What-If Analysis, and select Data Table from the dropdown menu.
Enter the correct Row input cell or Column input cell that corresponds to your original formula's logic, then click OK to regenerate the dynamic results.

Duplicate the Entire Worksheet
If you need an exact working replica of the data table and its environment, copying the whole sheet will preserve the table's array functions.
Use WPS Spreadsheet for Advanced What-If Analysis
WPS Spreadsheet offers powerful data analysis tools, including What-If Analysis and data tables. It allows you to easily recreate, manage, and analyze complex datasets with a familiar, easy-to-use interface.
- 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your data models.
- 2. Select the table range: Highlight the range for your new data table, ensuring you include the formula reference and all variable cells.
- 3. Navigate to Data tools: Go to the Data tab located on the top ribbon.
- 4. Access What-If Analysis: Click on What-If Analysis and select Data Table from the dropdown list.
- 5. Apply input cells: Input your Row or Column reference cells and click OK to instantly generate your dynamic calculations.

Frequently Asked Questions
Why does my copied Data Table only show static numbers?
Data tables use a special underlying array formula that cannot be transferred via standard copy and paste commands. When you paste a copied data table, the software defaults to pasting only the calculated results as static values to prevent reference errors.
Can I use Paste Special to keep the Data Table formulas?
No, using Paste Special and selecting 'Formulas' will still not preserve the unique array structure of a Data Table. You must manually recreate the table using the What-If Analysis menu to restore its dynamic functionality.
Does copying the entire worksheet preserve the Data Table?
Yes, duplicating the worksheet tab creates an exact clone of the sheet. This action preserves all array formulas, input cell relationships, and Data Table functionalities completely intact.




