Create, Edit, and Delete a Data Table in Excel

This is an overview:

Data Table Excel

Download Practice Workbook

Download the practice workbook.


What Is a Data Table in Excel?

A Data Table in Excel allows you to perform a what-if analysis by testing different combinations of input values and observing their impact on the output of a formula.


How to Create a Data Table in Excel

1. Create a One Variable Data Table

One Variable Column-Oriented Data Table

  • Use the following formula in C8 to calculate the total balance.
=C4+(C4*C5*C6)

C4 is the Investment, C5 the number of years, and C6 the Rate of Interest.

2-Calculate Total Balance to create one variable data table in Excel

  • Link the first row of Total Balance to the result in C8:
  • Select the E5:F10 >> Go to the Data tab >> Choose Forecast>> Select Data Table in What-If Analysis.

3-Selection of the Data Table feature

  • In the Data Table dialog box  >> Enter C4 with absolute reference in Column input cell: (it is a column-oriented data table)
  • Click OK.

4-Use Data Table dialog box

You will see the Total Balance for different Investments.

5-Calculate Total Balances for different Investments

One Variable Row-Oriented Data Table

  • Link the first column in Total Balance to the result in C8.
  • Select C10:H11 and go to the Data tab >> Forecast >> What-If Analysis >> Data Table.
  • In the Data Table dialog box, enter C4 with absolute reference in Row input cell: (it is a row-oriented data table)
  • Click OK.

6-Use absolute cell reference in the Row input cell typing box

You will see the different results in the Total Balance row.

7-Output of the One Variable Row-Oriented Data Table


2. Create a Two Variable Data Table

The values in the Rate of Interest column were changed. To see the changes of the Total value:

  • Link Total Balance to C11.

8-Linking Total Balance

  • Select What-If Analysis.
  • In the Data Table dialog box, follow the steps shown in the image below.

9-Using Two Variable Data Table

This is the final output:

10-Output of the Two Variable Data Table in Excel


How to Edit Data Table Results in Excel

  • Select the cell ranges >> go to the Formula Bar >> Enter the target result >> Press Ctrl + Enter.

11-Typing Value in Formula Bar to Edit results

This is the output.

12-Editing Data Table results


How to Delete a Data Table in Excel

If you try to delete values in cells containing the result, a warning message will display “Can’t change part of a data table

13-Warning message pops up

  • To delete the data table, select the entire result of the data table and press Delete.

14-Deleting Data Table in Excel

 


Frequently Asked Questions

1. Can I modify the input values in a Data Table?

Answer: Yes, change the values in the input cells and Excel will automatically recalculate and update the results.

2. Is it possible to create a Data Table for non-numeric values?

Answer: Yes, Data Tables can be used with non-numeric values.

4. Can I save a Data Table as a separate entity within Excel?

Answer: No, Data Tables are not saved as separate entities in Excel. They are dynamic calculations based on the underlying data and formulas.


Data Table in Excel: Knowledge Hub


<< Go Back to What-If Analysis in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Abdur Rahim Rasel
Md. Abdur Rahim Rasel

MD. ABDUR RAHIM is a marine engineer proficient in Excel and passionate about programming with VBA. He views programming as an efficient means to save time while managing data, handling files, and engaging with the internet. His interests extend to Rhino3D, Maxsurf C++, AutoCAD, Deep Neural Networks, and Machine Learning, reflecting his versatile skill set. He earned a B.Sc in Naval Architecture & Marine Engineering from BUET, and now he has become a content developer, creating technical content... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo