Excel creating table with data

  1. Select a cell within your data.

  2. Select Home > Format as Table.

  3. Choose a style for your table.

  4. In the Create Table dialog box, set your cell range.

  5. Mark if your table has headers.

  6. Select OK.

  1. Insert a table in your spreadsheet. See Overview of Excel tables for more information.

  2. Select a cell within your data.

  3. Select Home > Format as Table.

  4. Choose a style for your table.

  5. In the Create Table dialog box, set your cell range.

  6. Mark if your table has headers.

  7. Select OK.

To add a blank table, select the cells you want included in the table and click Insert > Table.

To format existing data as a table by using the default table style, do this:

  1. Select the cells containing the data.

  2. Click Home > Table > Format as Table.

  3. If you don’t check the My table has headers box, Excel for the web adds headers with default names like Column1 and Column2 above the data. To rename a default header, double-click it and type a new name.

Note: You can’t change the default table formatting in Excel for the web.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

Try it!

You can create and format a table, to visually group and analyze data.

  1. Select a cell within your data.

  2. Select Home > Format as Table.

  3. Choose a style for your table.

  4. In the Format as Table dialog box, set your cell range.

  5. Mark if your table has headers.

  6. Select OK.

Want more?

Create or delete an Excel table

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

One Variable Data Table | Two Variable Data Table

Instead of creating different scenarios, you can create a data table to quickly try out different values for formulas. You can create a one variable data table or a two variable data table.

Assume you own a book store and have 100 books in storage. You sell a certain % for the highest price of $50 and a certain % for the lower price of $20. If you sell 60% for the highest price, cell D10 below calculates a total profit of 60 * $50 + 40 * $20 = $3800.

One Variable Data Table

To create a one variable data table, execute the following steps.

1. Select cell B12 and type =D10 (refer to the total profit cell).

2. Type the different percentages in column A.

3. Select the range A12:B17.

We are going to calculate the total profit if you sell 60% for the highest price, 70% for the highest price, etc.

One Variable Data Table in Excel

4. On the Data tab, in the Forecast group, click What-If Analysis.

Click What-If Analysis

5. Click Data Table.

Click Data Table

6. Click in the ‘Column input cell’ box (the percentages are in a column) and select cell C4.

We select cell C4 because the percentages refer to cell C4 (% sold for the highest price). Together with the formula in cell B12, Excel now knows that it should replace cell C4 with 60% to calculate the total profit, replace cell C4 with 70% to calculate the total profit, etc.

Column Input Cell

Note: this is a one variable data table so we leave the Row input cell blank.

7. Click OK.

Result.

One Variable Data Table Result

Conclusion: if you sell 60% for the highest price, you obtain a total profit of $3800, if you sell 70% for the highest price, you obtain a total profit of $4100, etc.

Note: the formula bar indicates that the cells contain an array formula. Therefore, you cannot delete a single result. To delete the results, select the range B13:B17 and press Delete.

Two Variable Data Table

To create a two variable data table, execute the following steps.

1. Select cell A12 and type =D10 (refer to the total profit cell).

2. Type the different unit profits (highest price) in row 12.

3. Type the different percentages in column A.

4. Select the range A12:D17.

We are going to calculate the total profit for the different combinations of ‘unit profit (highest price)’ and ‘% sold for the highest price’.

Two Variable Data Table in Excel

5. On the Data tab, in the Forecast group, click What-If Analysis.

Click What-If Analysis

6. Click Data Table.

Click Data Table

7. Click in the ‘Row input cell’ box (the unit profits are in a row) and select cell D7.

8. Click in the ‘Column input cell’ box (the percentages are in a column) and select cell C4.

We select cell D7 because the unit profits refer to cell D7. We select cell C4 because the percentages refer to cell C4. Together with the formula in cell A12, Excel now knows that it should replace cell D7 with $50 and cell C4 with 60% to calculate the total profit, replace cell D7 with $50 and cell C4 with 70% to calculate the total profit, etc.

Row and Column Input Cell

9. Click OK.

Result.

Two Variable Data Table Result

Conclusion: if you sell 60% for the highest price, at a unit profit of $50, you obtain a total profit of $3800, if you sell 80% for the highest price, at a unit profit of $60, you obtain a total profit of $5200, etc.

Note: the formula bar indicates that the cells contain an array formula. Therefore, you cannot delete a single result. To delete the results, select the range B13:D17 and press Delete.

Skip to content

How to Make a Data Table in Excel Step-by-Step Guide (2023)

How to Make a Data Table in Excel: Step-by-Step Guide (2023)

Data tables in Excel are used to perform What-if Analysis on a given data set.

Using data tables, you can analyze the changes to the output value by changing the input values to a formula.

There is so much that you can do using data tables in Excel. 😀

Continue reading the article below to learn it all.

Also, download our sample workbook here to practice the examples given in this guide.

What is an Excel data table?

An Excel Data table is a What-if Analysis tool. It allows users to use different input values for a variable and assess the changes to the output value.

An Excel Data Table

These are especially of help if you are operating a formula in Excel where the output depends on several variables. And you are keen to compare the results for different inputs to the formula.

Presently, Excel offers a one-variable and two-variable data table only. This means you can choose any two variable values (at max) from any formula to test.

Jump right into the article below to learn all about a data table in Excel. 🔔

How to create a one-variable data table in Excel

A one-variable data table in Excel allows users to test one variable.

For example, see the image below.

Loan particulars

The image shows the particulars of a loan. We have three main variables in the data.

  1. The amount of loan
  2. The rate of interest/profit
  3. The tenure of the loan (until it is paid back)

Example 1: Column Input Cells

In this example, let’s see keep the interest rate as the variable.

What is the yearly payment to be made against the loan?

1. Write the PMT function to find the yearly repayment against the loan.

= PMT (B3, B4, B2)

= PMT (Interest Rate, Periods of Repayment, Amount of Loan Today)

The PMT function

2. Multiply this number by the number of payments to be made.

Total payments to be made

That’s the total amount to be paid against the loan over 5 years.

So how much is the interest on the loan?

3. Subtract the amount of loan from the amount of repayment.

Total interest to be paid

Everything’s good and sorted.

Now, what if you want to see how the repayments change if one variable (the interest rate) changes?

Do not re-perform the entire calculation all over again. The Data Table (What-if analysis) will do it for you.

4. List down the variable (interest rate in this case) that is to be changed.

Variable interest rates

5. Create a link by referring to the targeted output for each interest rate in the corresponding column.

We want Excel to give us the repayments for different interest rates. So, we have created a link to the repayment in the original calculation.

Reference to the repayments

6. Select the Inputs table (the interest rates and the corresponding column for targeted output).

Selection of the Input Data

7. Go to Data Tab > Forecast > What-If Analysis Tools > Data Table.

Data Table from the Ribbon

This will take you to the Data Table dialog box.

8. In the Column Input Cell box, create a reference to the ‘Interest Rate’ from the original table.

Column Input Cell

Reference is made to the Interest rate because that is the variable in our data. We want to experiment with how the changing interest rates affect repayments.

We have created a reference in the Column Input Cell box and not the Row Input Cell box. This is because our Input data is in the form of a column and not a row.

Kasper Langmann, Microsoft Office Specialist

9. All set. Hit Okay and Ta-da! 😃

A one variable data table for the variable interest rates

Excel creates a one-variable data table to calculate the repayments for different interest rates.

Example 2: Row Input Cells

Let’s bring a slight variation to the above data. This time the one variable of the data is the amount of the loan.

Also, let’s change the shape of Input Data from a Column to a Row.

Row-oriented data

1. Select the Inputs Data.

Selection of Input Data

2. Go to Data Tab > Forecast > What-If Analysis Tools > Data Table.

3. In the ‘Data Table’ dialog box, create a reference to the Loan amount in the Row Input Cell box.

Row Input Cell

This time the variable is the amount of the loan. We want to experiment with how the changing loan amount affects the repayments.

Must note that we have created a reference to the ‘Row Input Cell’ this time. This is because our Input Data is row-oriented.

Kasper Langmann, Microsoft Office Specialist

4. Click ‘Okay’ to see the repayment amount for differing amounts of loans.

A one variable data table for different loan amounts

What if we want to see how the total interest changes by the change in the loan amount?

Simple, refer to the amount of interest in the Inputs Data.

Changing the reference to the total interest

And there it is! Excel shows the changes to total interest instead of repayments.

Row oriented data table

How to create multiple one-variable data tables?

In the above example, what if you want to see the change in interest rates on both the repayments and total interest?

Create multiple Excel data tables. Simple.

1. In the Input Data, make two columns next to the variable interest rates.

2. In the first column, create a reference to the repayment calculation in the original data.

Reference to the repayment

3. In the second column, create a reference to the total interest in the original data.

Reference to the total interest

4. Create a one-variable data table by referring to the interest rate in the Column Input Cell box.

Creating a reference to the interest rate

5. Click Okay, and there you go! 🙂

Excel creates multiple one variable data table

Excel shows the result of changes in interest rates on repayments and loan amounts.

How to make a two-variable data table in Excel?

The two-variable data table is more of a two-dimensional table. It allows you to analyze how your final output changes from the changes in any two variables of your data.

Let’s continue the example above to create a two-variable data table in Excel.

This time, let’s select two variables from the data, Interest Rate, and Loan Amount. We want to see how the repayments change when both these variables change.

1. Create a two-dimensional data table with each variable on one side of the table.

two-dimensional data table in Excel

In the above image, we have set the interest rates in a columnar format. Whereas the loan amount takes the shape of a row.

2. Select the intersecting cell of both the data sides.

3. In this cell, create a reference to the calculation of the repayment in the original table.

Reference to the calculation of the repayment

This is because we want to see how the repayments change with changes in the interest rate and the loan amount.

Our Input Data is now ready. Let’s now create a data table and perform the What-if Analysis.

4. Select the entire Data Table.

5. Go to Data Tab > Forecast > Click What-if Analysis Tools > Data table.

Accessing data table in excel from Excel ribbon

6. This opens up the data table dialog box.

7. Against the Column Input Cell box, create a reference to the interest rate from the source data.

Creating Column Input Cell reference

Pay attention to how a reference is created to the interest rate against the Column Input Cell. This is because the possible input values for interest rate (the first variable) are in the shape of a column.

8. Against the ‘Row Input Cell’, create a reference to the amount of loan from the source data.

Creating Row Input Cell reference

The Row Input Cell refers to the amount of the loan. This is because possible input values for the loan (second variable) are in the shape of a row.

9. Click ‘Okay’, and you’re good to go.

two-variable data table in Excel

Woah! This seems like a very densely packed data table.

What is this? See below.

Changes in two variables

Each cell of this data table is mutual to two cells. For example, in the image above, the highlighted cell shows the amount of repayment, if the interest rate changes to 12% and the loan amount changes to 2000.

Must Note: A two-variable data table is a two-dimensional table. It captures the result of the change in any two variables at the same time.

The data table formula above is an array formula. To double-check, click on any cell from the data table and see the formula bar.

You will find the formula enclosed in curly brackets. A formula enclosed in curly brackets is an Array formula.

Kasper Langmann, Microsoft Office Specialist

Trouble Shooting the Two-Variable Data Table

The Two-Variable data table in Excel seems no less than magic. A heap of calculations is only a click away.

A two-variable data table is an array, and there is something you must know about a table array.

1.    Editing a two-variable data table

Once you have created a two-variable data table, try clicking on any individual cell from the data table and making some changes to it.

Can't change part of a data table

You cannot make changes to a part of this data! This is all that Excel has to say in return.

A data table is an array, and you cannot make changes to individual cells of an array.

To make any changes to the data table, click the data table and select the whole of it.

1. From the formula bar, delete the Table formula.

Deleting the table formula

2. Type in the desired value (let’s say 10) and hit Ctrl + Enter.

3. The entire table will be replaced by 10.

Replacing the table formula with 10

You can now make changes to any individual cells as it is no more an array.

2.    Deleting a two-variable data table

Deleting two-variable data is a little science.

You cannot delete an individual value from the data table. However, you can only delete the whole data table.

  1. Select the entire array (whole data table).
  2. Press the delete key.
  3. And your data table is gone.

That’s it – Now what?

Data Tables can save you big on time.

In the article above, we have learned almost all about data tables in Excel – starting from creating a single-variable data table, and multiple single-variable data tables (in one go) to creating multiple-variable data tables.

And of course, many tips.

While data tables help data analysis in Excel, you’d need many other functions of Excel to handle big data sets in Excel. The most important of these include the VLOOKUP, SUMIF, and IF functions.

Learn each of these three functions by signing up for my free 30-minute email course that teaches you these functions (and more!).

Kasper Langmann2023-01-19T12:23:16+00:00

Page load link

Microsoft Excel is convenient for creating tables and doing calculations. Its working area is a set of cells to be filled with data. Consequently, the data can be formatted, used for building graphs, charts, summary reports.

For a beginner, working with tables in Excel may seem complicated at the first glance. It is differs considerably from the principles of table construction in Word. However, let us start from the very basics: creating and formatting tables. By the time you reach the end of this article, you will understand there is no better tool for creating tables than Excel.



Creating a table in Excel: a dummy’s guide

Working with Excel tables for dummies does not tolerate haste. There are different ways to create a table for a specific purpose, and each of them has its advantages. Therefore, let us start with assessing the situation visually.

Look carefully at the work sheet of the table processor:

table processor.

It is a set of cells in columns and rows. Essentially, it’s a table. The columns are marked with letters. The rows are designated with numbers. There are no borders.

First of all, let’s learn to work with cells, rows and columns.

How to select a column and a row

To select the entire column, left-click on the letter that marks it.

select the entire column.

To select a row, click on the number it’s designated with.

select a row.

To select several columns or rows, left-click on the name, hold down the button and drag the pointer.

To select a column with the help of hot keys, place the cursor in any cell of the column and press Ctrl + Space. The key combination Shift + Space is used to select a row.

How to resize cells

If your information does not fit in the table, you need to resize the cells.

  1. You can move them manually by grabbing the cell boundary with the left mouse button.
  2. grabbing.

  3. If the cell contains a long word, you can double-click on the boundary of the column/row. The program will expand its boundary automatically.
  4. boundary automatically.

  5. If you need to increase the height of a row preserving the column width, use the button «Wrap Text» in the tool bar.

Wrap Text.

To change the column width and the row height in a certain range, resize 1 column/row (by dragging its boundaries manually) – and all the selected columns and rows will be resized automatically.

selected columns.

Important note. To go back to the previous size, you can press the «Undo Typing» button or the hot-key combination CTRL+Z. However, it works only if used immediately. Later on, it will not help.

To bring the rows to their initial boundaries, open the tool menu: «HOME»-«Format» and choose «AutoFit Row Height».

AutoFit Row Height.

This method does not work for columns. Click «Format» — « AutoFit Row Width» Memorize this number. Select any cell in the column that needs to go back to the initial size. Click «Format» — «Column Width» again and enter the value suggested by the program (as a rule, it’s 8.43 – the number of characters in the Calibri font, size 11 pt). OK.

How to insert a column or row

Select the column/row to the right of/below the place where the insertion needs to be made. That is, the new column will appear to the left of the selected cell. The new row will be pasted above it.

Right-click on the cell and select «Insert» in the drop-down menu (or hit the hot-key combination CTRL+SHIFT+»=»).

drop-down menu.

Select «Entire column» and press OK.

Hint. To insert a new column quickly, select a column in the desired position and hit CTRL+SHIFT+PLUS.

All these skills will come handy when building a table in Excel. You will need to resize the cells and insert rows/columns in the process.

Creating a table with formulas step by step

  1. Fill in the header manually by entering the column headings. Fill in the rows by entering your data. Apply the acquired knowledge in practice: expand the column boundaries, adjust the row height.
  2. expand the column boundaries.

  3. To fill in the «Sum» column, place the cursor in its first cell. Enter «=». In such a way, we inform Excel: a formula will be here. Select the cell B2 (with the first price). Enter the multiplication symbol (*). Select the cell C2 (with the quantity). Press ENTER.
  4. formula.

  5. When you hover the pointer over the cell containing the formula, a small cross will appear in its bottom right corner. It points out the autocomplete marker. Grab it with the left mouse button and drag it to the end of the column. The formula will be copied into every cell.
  6. autocomplete marker.

  7. Designate the boundaries of your table. Select the range containing your data. Click the button «HOME»-«Border» (on the main page in the «Font» menu). And click «All Borders».

All Borders.

Now the column and row borders will be visible when you print the table.

The «Font» menu allows you to format the data in your Excel table the way you would do it in Word.

data in your Excel.

For example, change the font size and highlight the header in bold. You may also apply center alignment, word wrap, etc.



Creating a table in Excel: a step-by-step instruction

You already know the simplest way to create tables. However, Excel can offer a more convenient variant (in terms of the subsequent formatting and work with the data).

Let us construct a smart (dynamic) table:

  1. Go to the «INSERT» tab – the «Table» tool (or press the hot-key combination CTRL+T).
  2. CTRL+T.

  3. This will open a dialog window, in which you need to enter the data range. Check the box for a table with headings. Click OK. It’s no big deal if you don’t enter the proper range on the first try. The smart table is flexible, dynamic.

smart table.

Important note. You can also take an alternative route: start with selecting the range of cells, then press the «Table» button.

pricelist.

Now enter your data into the ready framework. If you need an additional column, place the cursor in the heading cell. Make the entry and press ENTER. The range will expand automatically.

expand automatically.

If you need additional rows, grab the autocomplete marker in the bottom right corner and drag it downward.

How to work with a table in Excel

With the release of new versions of the program, working with tables in Excel has become more interesting and dynamic. After a smart table has been formed on the spreadsheet, the tool «TABLE TOOLS» — «DESIGN» becomes available.

TABLE TOOLS.

Here you can name the table or resize it.

Various styles are available to you, as well as the opportunity to transform the table into a regular range or a consolidated sheet.

MS Excel dynamic electronic tables offer immense opportunities. Let us begin with the basic skills of data entry and autocompletion:

  1. Select a cell by clicking on it with the left mouse button. Enter the text/numeric value. Press ENTER. If you need to change the value, place the cursor in the cell again and enter the new data.
  2. When you enter a value repetitively, Excel will recognize it. You will only need to enter several symbols and press enter.
  3. enter several symbols.

  4. In a smart table, to apply a formula to the entire column, enter it in the first cell. The program will copy the formula in other cells automatically.
  5. SUM.

  6. To calculate the totals, select the column containing the values plus an empty cell for the future total and click the «Sum» button (the «Editing» tool group on the «HOME» tab, or press the hot-key combination ALT+»=»).

When you click on the little arrow to the right of every subheading in the header, you obtain access to the additional tools for working with the data in the table.

working with the data in the table.

Sometimes the user has to work with huge tables, in which you need to scroll several thousand rows to see the totals. Deleting the rows is not an option (you will still need the data later). However, you can hide them. To this end, use number filters (depicted in the image above). Uncheck the values that need to be hidden.

What is Data Table in Excel?

A Data Table in Excel helps study the different outputs obtained by changing one or two inputs of a formula. A data table does not allow changing more than two inputs of a formula. However, these two inputs can have as many possible values (to be experimented) as one wants. Excel Data tables, along with Scenarios and Goal Seek are parts of the What-If Analysis tools.

For example, an organization may want to study how changes in the cash possessed impact its working capital. A data table will help the organization know the optimum level of cash (from the specified possible values) to be held to meet its short-term obligations.

The purpose of creating data tables in Excel is to analyze the variation in outputs resulting from a change in the inputs. Moreover, one can have all the outputs in a single table which eases interpretation and allows quick sharing with other users.

Table of contents
  • What is Data Table in Excel?
  • Types of Data Tables in Excel
    • One-Variable Data Table in Excel
      • Example #1
    • Two-Variable Data Table in Excel
      • Example #2
    • The Key Points Governing Data Tables in Excel
    • Frequently Asked Questions
    • Recommended Articles

Types of Data Tables in Excel

The kinds of data tables in Excel are specified as follows:

  1. One-variable data table
  2. Two-variable data table

Let us discuss each type of data table one by one with the help of examples.

Note: A data table is different from a regular Excel tableIn excel, tables are a range with data in rows and columns, and they expand when new data is inserted in the range in any new row or column in the table. To use a table, click on the table and select the data range.read more. The former shows the various combinations of inputs and outputs. These outputs are calculated by considering the source dataset as the base. In contrast, an Excel table shows related data that is grouped in one place.

One-Variable Data Table in Excel

A one-variable data tableOne variable data table in excel means changing one variable with multiple options and getting the results for multiple scenarios. The data inputs in one variable data table are either in a single column or across a row.read more is created to study how a change in one input of the formula causes a change in the output. A one-variable data table in excel can be either row-oriented or column-oriented. This implies that all the possible values that an input can assume are listed in either a single row (row-oriented) or a single column (column-oriented) of Excel.

You can download this DATA Table Excel Template here – DATA Table Excel Template

Example #1

There are two images titled “image 1” and “image 2.” The following information is given:

  • Image 1 shows an organization’s revenue (in $) for 2018 in cell B2. The minimum growth rate expected is given as 12% in cell B3. The projected revenue (in $ in cell B5) for 2019 has been calculated by using the formula “=B2+(B2*B3).”
  • Image 2 shows the possible values (in column C) that the growth rate can assume. The value of cell D8 has been explained in steps 1 and 2 (given further in this example).

We want to perform the following tasks:

  • Calculate the projected revenues (in column D) according to the different growth rates (in column C) given in image 2.
  • Create a “line with markers” chart showing the growth rates on the x-axis and the projected revenues on the y-axis. Replace the markers of the chart with arrows.

Use a one-variable data table of Excel. Interpret the data table thus created.

Image 1

One-Variable Data Table - Example

Image 2

One-Variable Data Table - Example 1

The steps for performing the given tasks by using a one-variable data table are listed as follows:

  1. Enter the data of the two images in Excel. In cell D8, type “equal to” (=) followed by the reference B5. This links cell D8 to cell B5.

    The linking of the two cells is shown in the following image.

    Since all the growth rates have been entered vertically (C9:C19), our data table is said to be column-oriented. The entire range C8:D19 is our one-variable data table. We are creating a one-variable data table as the change in outputs will be observed against a change in one input, i.e., the growth rate.

    Note: Notice that either the formula “=B2+(B2*B3)” could be typed directly in cell D8 or cell D8 can be linked to cell B5. We have chosen to link the two cells.

    The linking of cell D8 to cell B5 ensures that any updates in the formula of the latter are automatically reflected in the range D9:D19 of the data table. For instance, if the formula of cell B5 is multiplied by 2 [like =B2+(B2*B3)*2], all the outputs obtained in the range D9:D19 are automatically multiplied by 2.

    Had we not linked cells D8 and B5, any changes to the formula of cell B5 would not have changed the value in cell D8. Consequently, the outputs in the range D9:D19 would not have been updated automatically.

    One-Variable Data Table - Example 1-2

  2. Press the “Enter” key. Cell D8 shows the value of cell B5, as shown in the following image.

    Notice that if one manually enters the value (1680000) in cell D8, the data table will not work. Moreover, one should always type the formula [=B2+(B2*B3)] or link the cell that is one row above and one column to the right of the possible input values (C9:C19). This is the reason we chose to link cell D8 to cell B5.

    Note: If the data table is row-oriented, type the formula or link the cell that is one column to the left and one cell below the first possible input value. For instance, had the possible input values been in the range F2:P2, we would have entered the formula or linked cell E3 to cell B5.

    One-Variable Data Table - Example 1-1

  3. Select the range of the data table. This selection should include the linked cell (D8), the possible input values (C9:C19), and the empty cells for outputs (D9:D19). Hence, we have selected the range C8:D19, as shown in the following image.

    One-Variable Data Table - Example 1-3

  4. From the Data tab, click the “what-if analysis” drop-down (in the “data tools” or “forecast” group). Select the option “data table.” This option is shown in the following image.

    One-Variable Data Table - Example 1-4

  5. The “data table” dialog box opens, as shown in the following image. In the box of “column input cell,” select cell B3, which contains the minimum expected growth rate. As a result, the reference $B$3 appears in this box. Leave the box of “row input cell” blank.

    By giving the reference to cell B3 in the “column input cell,” we are telling Excel that at the growth rate of 12%, the projected revenue is $1,680,000. So, with this data table, Excel is being asked the projected revenue when the growth rates vary from 12.5% to 22.5%.

    Note 1: A “row input cell” or “column input cell” is a reference to a cell that contains the input. This is the input that can assume the different possible values. Moreover, this input must necessarily be used in the formula whose outputs are to be studied.

    In a one-variable data table, either the “row input cell” or the “column input cell” is specified depending on whether the data table is row-oriented or column-oriented.

    Note 2: In a one-variable data table, Excel uses either the formula “=TABLE(row_input_cell,)” or “=TABLE(,column_input_cell)” to calculate the different outputs. The former formula is used when the possible input values are in a row, while the latter is used when the possible input values are in a column.

    To view the TABLE formula, select any of the output cells and check the formula bar. In this example, the formula “=TABLE(,B3)” is used to calculate the outputs.

    Further, Excel uses these TABLE formulas as array formulasArray formulas are extremely helpful and powerful formulas that are used in Excel to execute some of the most complex calculations. There are two types of array formulas: one that returns a single result and the other that returns multiple results.read more. However, these formulas cannot be edited manually, unlike the regular array formulas. But, one can delete all the output cells containing the TABLE formulas.

    One-Variable Data Table - Example 1-5

  6. Click “Ok” in the “data table” window. The range D9:D19 of the data table has been filled with values. The different outputs are shown in the following image.

    One-Variable Data Table - Example 1-6

    Interpretation of the one-variable data table: By looking at the data table in the preceding image, one can say that when the growth rate is 12.5%, the projected revenue is $1,687,500. Likewise, when the growth rate is 13.5%, the projected revenue is $1,702,500. Hence, the larger the growth rate, the more the increase in the projected revenue.

    The projected revenue is at its maximum ($1,837,500) when the growth rate is at its highest (22.5%). So, the organization can study the variation in outputs when a single input (growth rate) changes.

    Note: For more examples related to the one-variable data table of Excel, refer to the hyperlink given before step 1.

  7. To create a “line with markers” chart that displays the growth rates on the x-axis and the projected revenues on the y-axis, follow the listed steps:

    a. Select the range D9:D19 and click the Insert tab on the Excel ribbon.
    b. Click the “insert line or area chart” icon from the “charts” group. Select the “line with markers” chart under the 2-D line charts. A “line with markers” chart appears, which displays the projected revenues on the y-axis.
    c. Click anywhere on the chart. The “chart tools” menu becomes visible. This menu consists of the Design and Format tabs.
    d. Click the Design tab of the “chart tools” menu. Choose “select data” from the “data” group. The “select data source” window opens.
    e. Click “edit” under “horizontal (category) axis labels.” The “axis labels” window opens.
    f. Select the range C9:C19 in the “axis label range” box. Click “Ok.” Click “Ok” again in the “select data source” window.

    The “line with markers” chart is created whose x-axis and y-axis look the way they are shown in the image of step 8.

  8. To replace the default markers of the chart with arrows, follow the listed steps:

    a. Select the markers of the chart and right-click them. Choose the “format data series” option from the context menu. The “format data series” pane opens.
    b. Click the “fill & line” tab. Expand the “line” tab. In “end arrow type,” select any of the arrows. We have chosen “open arrow.”
    c. Select “marker” and expand the “marker options.” Choose the option “none.”
    d. Close the “format data series” pane.

    The “line with markers” chart looks the way it is displayed in the following image. Notice that since the chart shows the projected revenues, we have titled it accordingly.

    Data Table - Chart

Two-Variable Data Table in Excel

A two-variable data table in excelA two-variable data table helps analyze how two different variables impact the overall data table. In simple terms, it helps determine what effect does changing the two variables have on the result.read more helps study how changes in two inputs of a formula cause a change in the output. In a two-variable data table, there are two ranges of possible values for the two inputs. From these two ranges, one range is in a row and the other is in a column of Excel.

Example #2

There are three images titled “image 1,” “image 2,” and “image 3.” The following information is given:

  • Image 1 shows an organization’s revenue (in $ in 2018) and the minimum growth rate in cells B2 and B3 respectively. Both these figures are the same as that of the previous example. Additionally, the organization gives a 2% discount (in cell B4) to its customers. This is given to boost sales.
  • Image 2 shows how the projected revenue (in $ in cell B6) for 2019 has been calculated. The formula “=B2+(B2*B3)-(B2*B4)” is used for this purpose. The amount obtained ($1,650,000) is the projected revenue after the discount.
  • Image 3 shows the different values in row 9 that the discount rate can assume. The possible values that the growth rate can assume are given in column D. The value of cell D9 has been explained in steps 1 and 2 (given further in this example).

Calculate the projected revenues (in E10:J18) according to the various discount rates (in row 9) and growth rates (in column D). Use a two-variable data table of Excel. Interpret the data table thus created.

Image 1

Two-variable data table 1

Image 2

Two-variable data table example 1-1

Image 3

The steps for creating a two-variable data table are listed as follows:

Step 1: Enter the data of the preceding images in Excel. In cell D9, type the “equal to” operator followed by the reference B6.

This time we have chosen to link cell D9 to cell B6. Alternatively, we could have also entered the formula [=B2+(B2*B3)-(B2*B4)] in cell D9. This is because, in a two-variable data table, one should type the formula or link the cell that is one column to the left of the first horizontal input value (2.5%). At the same time, this cell should be one row above the first vertical input value (12.5%).

The linking of cells ensures that any changes to the formula of cell B6 are reflected in the value of cell D9. Further, any change in the value of cell D9 will update the outputs (in E10:J18) automatically.

Note: Please ignore the differences in font, colors, and alignment across the images of this example. These differences may be due to the different versions of Excel being used to create the images.

Step 2: Press the “Enter” key. Cell D9 shows the value of cell B6, which is 1,650,000. This is shown in the following image.

The entire range D9:J18 is our two-variable data table. Notice that the excel data table shows the possible discount rates horizontally (in bold in row 9) and the possible growth rates vertically (in column D). This time the variation in outputs resulting from changes in both these inputs (discount rate and growth rate) need to be studied.

Note: If the value is entered manually in cell D9, the excel data table will not work.

Step 3: Select the range D9:J18. Note that the selection should include the linked cell (D9), possible discount rates (E9:J9), possible growth rates (D10:D18), and the empty cells for the outputs (E10:J18).

The selection is shown in the following image.

example 1-3

Step 4: Click the “what-if analysis” drop-down (in the “data tools” or “forecast” group) of the Data tab. Select the option “data table.”

example 1-4

Step 5: The “data table” window opens, as shown in the following image. In the box of “row input cell,” select cell B4. In the box of “column input cell,” select cell B3. The absolute referencesAbsolute reference in excel is a type of cell reference in which the cells being referred to do not change, as they did in relative reference. By pressing f4, we can create a formula for absolute referencing.read more to cells B4 and B3 appear in the two boxes.

Cells B4 and B3 contain the minimum expected growth rate and the discount rate of the source dataset.

By making these selections, Excel is told that at a discount rate of 2% and a growth rate of 12%, the projected revenue is $1,650,000. Therefore, our two-variable data table instructs Excel to calculate the projected revenues when the discount rates and growth rates vary from 2.5% to 5% and 12.5% to 20.5% respectively.

Note: In a two-variable data table, both the “row input cell” and “column input cell” are specified, unlike a one-variable data table where one has to specify either of the two inputs.

Further a two-variable data table uses the formula “=TABLE(row_input_cell,column_input_cell)” to calculate the outputs. So, in this example, the formula “=TABLE(B4,B3)” has been used for the calculations. This formula is visible in the formula bar when an output cell is selected.

For the meaning of the “row input cell” and the “column input cell,” refer to “note 1” under step 5 of example #1.

example 1-5

Step 6: Click “Ok” in the “data table” window. The outputs appear in the range E10:J18, as shown in the following image.

Example 1-5

Interpretation of the two-variable data table: When the discount rate is 2.5% and the growth rate is 12.5%, the organization’s projected revenue is $1,650,000 (in cell E10). Notice that this figure is the same as that of cell B6. However, the value in cell B6 takes into account 2% and 12% as the discount rate and growth rate respectively.

Notice that the numbers of cells E10 and B6 match those of cells G11 and I12. This implies that when the discount rate and growth rate are increased in the same proportion (like by 0.5%, 1.5% or 2.5%), the resulting value is the same as the output of the source dataset (in cell B6). Cells E10, G11, and I12 reflect 0.5%, 1.5%, and 2.5% increase in the two rates.

Likewise, had we increased both the discount and growth rates by 1%, the resulting value would have again been $1,650,000. In this case, the discount rate and growth rate would have been 3% and 13% respectively.

By obtaining the projected revenues in the range E10:J18, the organization can sell at an optimum discount rate and, at the same time, target an attainable growth rate. Hence, the organization can choose the most suitable combination of the two rates.

Note: For more examples related to the two-variable data table of Excel, click the hyperlink given before step 1 of this example.

The Key Points Governing Data Tables in Excel

The important points related to data tables of Excel are listed as follows:

  • It helps select those input values that fit the business in the best possible manner.
  • It facilitates the comparison of the different outputs as all the results are consolidated in one place.
  • It presents the results in a tabular format that can neither be edited nor undone with the shortcut “Ctrl+Z.” The outputs can only be deleted by selecting them and pressing the “Delete” key.
  • It uses the TABLE array formulas to calculate the outputs. The “row input cell” and the “column input cell” must be selected carefully to get accurate results. Moreover, the input cell or cells must be on the same worksheet as the data table.
  • It need not be refreshed, unlike a pivot table. A change in the values or the formula of the source dataset causes the excel data table to update automatically.

Frequently Asked Questions

1. Define a data table and suggest when it should be used in Excel.

A data table helps analyze how a change in one or two inputs of a formula causes a change in the output. The resulting outputs are arranged in a tabular format, making them easy to compare and interpret.
A data table of Excel should be used in the following situations:
• When the outputs resulting from a change in one or two inputs need to be studied
• When the most optimum input value or values need to be chosen
• When all the combinations of inputs and outputs need to be explored in one glance

2. How to create a data table in Excel?

The steps to create a data table in Excel are listed as follows:

a. Enter the source dataset in an Excel worksheet. Use one or two inputs to calculate an output.
b. Arrange the possible values, which an input can assume, in a row and/or column.
c. Link one cell of the data table to the output cell of the source dataset. Alternatively, in a cell of the data table, enter the formula whose outputs need to be studied.
d. Select the data table. The selection should include the linked cell (or the formula cell of the data table), the possible input values, and the empty cells for outputs.
e. Select the “data table” option from the “what-if analysis” drop-down of the Data tab. The “data table” window opens.
f. Enter either the “row input cell” or “column input cell” if the impact of changing one input is to be studied. To study the impact of changing two inputs, enter both “row input cell” and “column input cell.”
g. Click “Ok” in the “data table” window.

A one-variable or two-variable data table is created depending on the execution of steps “a,” “b,” and “f.”

Note: For more details on creating a data table in Excel, refer to the examples of this article.

3. How does a data table work in Excel?

A data table works on the policy “what will be the result if one or two inputs of a formula are changed?” One cell of the data table is linked to the source dataset. In this way, Excel is told how the inputs are to be used in calculating the output.

Next, as the possible input values are supplied, Excel is asked to calculate the outputs using the same formula as that of the source dataset. The resulting table shows the different mixes of inputs and outputs, thereby assisting the user in decision-making.

Recommended Articles

This has been a guide to Data Tables in Excel. Here we discuss how to create one-variable and two-variable data tables along with practical Excel examples. You may learn more about Excel from the following articles–

  • Two-Variable Data Table in ExcelA two-variable data table helps analyze how two different variables impact the overall data table. In simple terms, it helps determine what effect does changing the two variables have on the result.read more
  • VBA Refresh Pivot TableWhen we insert a pivot table in the sheet, once the data changes, pivot table data does not change itself; we need to do it manually. However, in VBA, there is a statement to refresh the pivot table, expression.refreshtable, by referencing the worksheet.read more
  • Merge Tables ExcelWe can use a number of different methods to merge tables in Excel, including the VLOOKUP function, the INDEX function, and the MATCH function.read more
  • Data Validation in ExcelThe data validation in excel helps control the kind of input entered by a user in the worksheet.read more

Data Table in Excel

Data Table in Excel (Table of Contents)

  • Data Table in Excel
  • How to Create Data Table in Excel?

Data Table in Excel

Data tables are used to analyze the changes seen in your final result when certain variables are changed from your function or formula. Data tables are one of the existing parts of What-If analysis tools, which allow you to observe your result by experimenting it with different values of variables and to compare the outcomes stored by the data table.

There are two types of a data table, which are as follows:

  1. One-Variable Data Table.
  2. Two-Variable Data Table.

How to Create Data Table in Excel?

Data Table in Excel is very simple and easy to create. Let’s understand the working of the Data Table in Excel by Some Examples.

You can download this Data Table Excel Template here – Data Table Excel Template

Data Table in Excel Example #1 – One-Variable Data Table

One-variable data tables are efficient in the case of analyzing the changes in the result of your formula when you change the values for a single input variable.

Use case of One-Variable Data Table in Excel:

The one-variable data table is useful in scenarios where a person can observe how different interest rates change the amount of their mortgage amount to be paid. Consider the below figure, which shows the mortgage amount calculated based on the interest rate using the PMT function.

Data Table Example 1

The table above shows the data where the mortgage amount is calculated based on the interest rate, mortgage period and loan amount. It uses the PMT formula to calculate the monthly mortgage amount, which can be written as =PMT (C4/12, C5,-C3).

In the case of observing the monthly mortgage amount for different interest rates, where the interest rate is considered as a variable. In order to do this, there is a need for creating a one-variable data table. The steps to create the one-variable data table are as follows:

Step 1: Prepare a column which consists of different values for the interest rates. We have entered different values for interest rates in the column which is highlighted in the figure.

Data Table Example 1-1

Step 2: In the cell (F2), which is one row above and diagonal to the column which you prepared in the previous step, type this = C6.

Data Table Example 1-2

Step 3: Select the entire prepared column by values of different interest rates along with the cell where you had inserted the value, i.e. F2 cell.

Data Table Example 1-3

Step 4: Click on the ‘Data’ tab and select ‘What-If Analysis’, and from the options popped down, select ‘Data Table’.

Data Table Example 1-4

Step 5: Data table dialog box will appear.

Data Table Example 1-5

Step 6: In the Column input cell, refer to cell C4 and click OK.

Data Table Example 1-6

In the dialog box, we refer to the cell C4 in the Column input cell and keep the row input cell empty as we are preparing a data table with one variable.

Step 7: After following all the steps, we get all the different mortgage amounts for all entered interests rates in column E (unmarked), and the different mortgage amounts are observed in column F (marked).

Data Table Example 1-7

Data Table in Excel Example #2 – Two-Variable Data Table

Two-variable data tables are useful in scenarios where a user needs to observe the changes in the result of their formula when they change two input variables simultaneously.

Use-case of Two-Variable Data Table in Excel:

The two-variable data table is useful in scenarios where a person can observe how different interest rates and loan amounts change the amount of their mortgage amount to be paid. Instead of calculating for individual values separately, we can observe them with instantaneous results. Consider the below figure, which shows the mortgage amount calculated based on the interest rate using the PMT function.

Data Table Example 2

The above example is similar to our example shown in the previous case for a one-variable data table. Here the mortgage amount in cell C6 is calculated based on the interest rate, mortgage period and loan amount. It uses the PMT formula to calculate the monthly mortgage amount, which can be written as =PMT (C4/12, C5,-C3).

In order to explain the two-variable data table with reference to the above example, we will show the different mortgage amounts and choose the best which suits you by observing the different values of interest rates and loan amount. In order to do this, there is a need for creating a two-variable data table. The steps to create the one-variable data table are as follows:

Step 1: Prepare a column which consists of different values for the interest rates and loan amount.

Data Table Example 2-1

We have prepared a column consisting of the different interest rates, and in the cell diagonal to starting cell of the column, we have entered the different values of the loan amount.

Step 2: In the cell (E2), which is one row above to the column which you prepared in the previous step, type this = C6.

Data Table Example 2-2

Step 3: Select the entire prepared column by values of different interest rates along with the cell where you had inserted the value, i.e. E2 cell.

Data Table Example 2-3

Step 4: Click on the ‘Data’ tab and select ‘What-If Analysis’, and from the options popped down, select ‘Data Table’.

Data Table Example 2-4

Step 5: A Data table dialog box will appear. The ‘Column input cell’ refers to cell C4 and in the ‘Row input cell’ C3. Both the values are selected as we are changing both the variables and Click OK.

Data Table Example 2-5

Step 6: After following all the steps, we get different values of mortgage amounts for different values of interest rates and loan amount.

 Data Table Example 2-6

Things to Remember About Data Table in Excel

  1. For one variable data table, the ‘Row input cell’ is left empty, and in a two-variable data table, both ‘Row input cell’ and ‘Column input cell’ are filled.
  2. Once the What-If analysis is performed, and the values are calculated, you cannot change or modify any cell from the set of values.

Recommended Articles

This has been a guide to a Data Table in Excel. Here we discuss its types and how to create data table examples and downloadable excel templates. You may also look at these useful functions in excel –

  1. Two-Variable Data Table in Excel
  2. One Variable Data Table in Excel
  3. Excel Data Visualization
  4. Database Function in Excel

Author: Oscar Cronquist Article last updated on February 07, 2023

 An Excel Table is a very useful feature in Excel, it was introduced in Excel 2007. Earlier versions had this feature as well but it was then known as Excel Lists.

What can an Excel Table do for you? It will simplify your work with data, adding or removing data, filtering, totals, sorting, enhance readability using cell formatting, cell references, formulas, and more. I will go through all this in greater detail, keep on reading.

Table of Contents

  1. How to create an Excel Table
  2. How to name an Excel Table
  3. How to manipulate Excel Table data
    1. How to edit an Excel Table value
    2. How to delete an Excel Table value
    3. How to add a row
    4. How to add a column
    5. How to delete an Excel Table row
    6. How to delete an Excel Table column
    7. How to delete an Excel Table and keep values
  4. How to sort an Excel Table
  5. How to filter an Excel Table
  6. How to insert a total to an Excel Table and sum using a condition
  7. How do structured references work?
    1. Reference an entire Excel Table
    2. Reference Excel Table data
    3. Reference column headers
    4. Reference a column
    5. Reference a value on the same row
  8. How to use a formula in an Excel Table
  9. How to change Excel Table formatting
  10. How to show Excel Table totals
  11. List all tables in a workbook — Named ranges
  12. How to link a chart to an Excel Table
  13. How to link a drop-down list to an Excel Table (Data validation)
  14. Working with filtered Excel Tables
  15. How to quickly find an Excel Table in a workbook
  16. Count unique distinct values in a filtered Excel Table (Link)
  17. Extract unique distinct values from a filtered Excel Table (Link)
  18. Filter duplicate records [Excel Table] (Link)

1. How to create an Excel Table

Follow these simple steps to convert a cell range to a table:

  1. Go to tab «Insert» on the ribbon
  2. Select your data set
  3. Press with left mouse button on the «Table» button on tab «Insert»
  4. Press with left mouse button on the «OK» button if your table has headers, if not deselect the check box and press with left mouse button on «OK». Excel will automatically create headers for you.
  5. You have built an excel table

Tip! Use short cut keys CTRL + T to quickly build a table.

Back to top

2. How to name an Excel Table

I recommend you give the table and table headers descriptive names, for example, it will be easier to identify cell references to Excel Tables in formulas. Cell references are called structured references and you can read about these in this article as well.

  1. Select a cell in your table
  2. Excel automatically navigates to tab «Design» on your ribbon
  3. Change table name
  4. Press Enter


Back to top

3. How to manipulate Excel Table data

3.1 How to edit an Excel Table value

  1. Doublepress with left mouse button on any cell with left mouse button to start editing an Excel Table value.
  2. Use arrow keys to move the prompt between characters.
  3. Press Enter to apply changes or press CTRL + SHIFT + Enter to create an array formula.

3.2 How to delete an Excel Table value

  1. Press with left mouse button on with the left mouse button on any cell in the Excel Table to select it.
  2. Press Delete on the keyboard to remove the cell value.

3.3 How to add a row

  1. Press with left mouse button on with the left mouse button on any cell in the Excel Table to select it.
  2. Press the Tab key repeatedly until a new row is created.

A new row is created if you press the tab key with the lower right cell in the Excel Table selected. See the animated picture above.

Here is another way to create a new row.

  1. Select any cell right below the Excel Table the cell must be adjacent to the Excel Table for this to work.
  2. Type a value or a formula.
  3. Press Enter.

The Excel Table grows automatically when you add values adjacent to the Excel Table.

3.4 How to add a column

  1. Press with mouse on any cell adjacent to the Excel Table with the left mouse button to select it.
  2. Type a value or formula.
  3. Press Enter or CTRL + SHIFT + Enter.

The table expands automatically when you add values to adjacent cells, see the animated image above.

Add data to a cell adjacent to the table and the table expands automatically.

3.5 How to delete an Excel Table row

  1. Press with right mouse button on on one of the cells on the row you want to delete in the Excel Table.
  2. A popup menu appears, press with left mouse button on «Delete» on the popup menu.
  3. Another popup menu shows up, press with left mouse button on Table Rows.

This deletes the entire Excel Table row, it does not delete other values outside the Excel Table. At least not in Excel 365.

3.6 How to delete an Excel Table column

  1. Press with right mouse button on on any cell in an Excel Table. A popup menu appears.
  2. Press with mouse on «Delete» on the popup menu. Another popup menu shows up.
  3. Press with mouse on «Table Columns» .

3.7 How to delete an Excel Table and keep values

Convert Excel Table to normal range

  1. Press with mouse on any cell in the Excel Table to select it. A tab named «Table Design» appears on the ribbon, this tab is not visible if not a cell in the Excel Table is sleected.
  2. Press with mouse on tab «Table Design» on the ribbon.
  3. Press with mouse on the «Convert to Range» button, see the image above.

Convert Excel Table to normal range2

The image above shows the Excel Table after converting to a normal range of cells. However, the cell formatting is still preserved.

Here is how to remove the cell formatting as well:

  1. Select the entire data set.
  2. Go to tab «Home» on the ribbon.
  3. Press with mouse on «Clear» button. A popup menu appears.
  4. Press with left mouse button on «Clear Formats».

Convert Excel Table to normal range3

Back to top

4. How to sort an Excel Table

Sorting a table is easy, press with left mouse button on any black triangle located at each header, a menu appears allowing you to quickly sort data in a descending or ascending order.

An arrow next to the black triangle indicates sort order. Sort Z to A (descending) shows you an arrow pointing down.

You can also sort on multiple columns, follow these steps.

  1. Press with right mouse button on on a cell
  2. Press with left mouse button on Sort and then press with left mouse button on «Custom Sort…»
  3. Select column name to sort on and sort order then add more columns.
  4. Press with left mouse button on OK button to apply sort settings to table

The following article demonstartes how to sort a values in an excel defined table using a macro:

Recommended articles

test

Back to top

5. How to filter an Excel Table

  1. Press with mouse on a black triangle next to any header
  2. Select values you want to filter
  3. Press with left mouse button on OK button

See animated picture below.

Excel allows you to apply filters to multiple columns easily, repeat above steps with another column.

Use the search field to quickly find the value you want to filter, see picture below.

Back to top

6. How to insert a total to an Excel Table and sum using a condition

You can quickly sum values using table filtering.

Select a cell in the table, then go to tab «Design» on the ribbon.

Press with left mouse button on «Checkbox» to enable «Total Row».

A row with totals appears on your table (332), see picture above.

Now filter the table, see instructions on picture below.

See how the total changes from 332 to 175.

Back to top

7. How do structured references work?

You are probably used to cell references like this one:

=SUM(E3:E6)

Creating a cell reference to a table column returns this instead, see picture below.

First the table name (Inventory) and then the column name enclosed with brackets [Price].

What is the purpose of structured references? The amazing thing with structured references is that if you add or remove values to a table the structured reference stays the same, no need to update cell references. In other words, they are dynamic.

7.1 Reference an entire Excel Table

reference entire excel table

The following structured reference returns the entire Excel Table including the column header names.

Formula in cell B9:

=Table1[#All]

Back to top

7.2 Reference Excel Table data

reference excel table data

The following structured reference returns all Excel Table data, however, no the column header names.

Formula in cell B9:

=Table1

Back to top

7.3 Reference all column headers

reference excel table column headers

The following structured reference returns all Excel Table column header names.

Formula in cell B9:

=Table1[#Headers]

Back to top

7.4 Reference a column

reference excel table column

The following structured reference returns all Excel Table data from a given column.

Formula in cell B9:

=Table1[East]

Back to top

reference excel table column and column header name

The following structured reference returns all Excel Table data from a given column including the column header name.

Formula in cell B9:

=Table1[[#All],[East]]

Back to top

7.5 Reference a value on the same row

reference excel table value on the same row

The following structured reference returns an Excel Table value from a given column but on the same row as the formula is entered on.

Formula in cell G4:

=Table1[@North]

Back to top

8. How to use a formula in an Excel Table

The following example demonstrates what happens if I type a formula in an excel table. I want to multiply cell E3 with F3 in cell G3, see animated picture below.

Excel creates these structured cell references in cell G3 if I type = (equal sig) and then press with left mouse button on cell E3, type * (asterisk) and then press with left mouse button on cell F3:

=[@[‘#]]*[@Price]

@ (at) means cell value on same row as formula.

Excel also calculates the remaining cells in column G automatically, see animated picture above.

Creating a reference to the entire excel table and headers returns this: =Inventory[#All]

A reference to data in table looks like this: =Inventory

A reference to a table column returns: =Inventory[Warehouse]

A reference to a column header only looks like this: =Inventory[[#Headers],[Warehouse]]
Back to top

9. How to change Excel Table formatting

  1. Select a cell in excel table
  2. Go to tab «Design» on the ribbon
  3. Hover over a table style and see your table change
  4. If you like it press with left mouse button on it to select it
  5. Press with left mouse button on the black triangle to se even more table styles

You can also build your own table style.

  1. Select a table cell
  2. Go to tab «Design»
  3. Press with left mouse button on black triangle
  4. Press with left mouse button on «New Table Style…»
  5. Enter a name for your table style
  6. Select a table element you want to change
  7. Press with left mouse button on «Format» button
  8. Format as you like
  9. Press with left mouse button on OK button twice

Back to top

10. How to show Excel Table totals

  1. Press with mouse on a cell in an excel table
  2. Go to tab «Design»
  3. Press with left mouse button on «Total Row» check box
  4. Press with left mouse button on cell G7 and then on black triangle
  5. You can change how value in cell G7 is calculated, the menu has these formulas: Average, Count, Count Numbers, Max, Min, Sum, StdDev, Var and More Functions.
  6. If you press with left mouse button on «More Functions» a dialog box opens with formulas to choose from.

Back to top

11. List all tables in workbook — Named ranges

The Name Manager contains a list of all named ranges and Excel tables in your workbook.

  1. Press with left mouse button on the «Formula» tab on the ribbon.
  2. Press with left mouse button on «Name Manager» button.

    There are only Excel Tables in this workbook so the dialog box shows the Excel Table names, there are no named ranges in this workbook. See the image above.

Back to top

12. How to link a chart to an Excel Table

Combine chart and table to make use of dynamic cell references while filtering data.

More details here: How to create a dynamic chart
Back to top

13. How to link a drop-down list to an Excel Table (Data validation)

The following animation shows you a data validation list linked to a table.

Read this post if you are interested in the details:
How to use a table name in data validation lists and conditional formatting formulas
Back to top

14. Working with a filtered Excel Table

If you try to use a filtered table as a data source in a formula you are in for trouble, see animated picture below.

As you can see above the SUM function sums all values in table regardless of filtered or not.

I have written a few articles about this:

  • Highlight duplicates in a filtered excel defined table
  • Count unique distinct values in a filtered table
  • Highlight unique values in a filtered excel table
  • Populate a list box with visible unique values from an excel table (vba)
  • Highlight unique values in a filtered excel table
  • Extract unique distinct values from a filtered table (udf and array formula)
  • Vlookup visible data in a table and return multiple values

Back to top

15. How to quickly find an Excel Table in a workbook

Excel lets you quickly focus on a table if you type the table name in the name box.

Back to top

Like this post? Please share to your friends:
  • Excel createobject msxml2 xmlhttp
  • Excel create table from columns
  • Excel create object error
  • Excel create list from table
  • Excel create add in