Excel create table from columns

Create and format tables

Create and format a table to visually group and analyze data.

Note: Excel tables shouldn’t be confused with the data tables that are part of a suite of What-If Analysis commands (Forecast, on the Data tab). See Introduction to What-If Analysis for more information.

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

Try it!
 

  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.

Want more?

Overview of Excel tables

Video: Create and format an Excel table

Total the data in an Excel table

Format an Excel table

Resize a table by adding or removing rows and columns

Filter data in a range or table

Convert a table to a range

Using structured references with Excel tables

Excel table compatibility issues

Export an Excel table to SharePoint

Need more help?

Do you want to make a table in Excel? This post is going to show you how to create a table from your Excel data.

Entering and storing data is a common task in Excel. If this is something you’re doing, then you need to use a table.

Tables are containers for your data! They help you keep all your related data together and organized.

Tables have a lot of great features and work well with other tools inside and outside of Excel, so you should definitely be using them with your data.

This post is going to show you all the ways you can create a table from your data in Excel. Get your copy of the example workbook used in this post and follow along!

Tabular Data Format for Excel Tables

Excel tables are the perfect container for tabular datasets due to their row and column structure. Just make sure your data follows these rules.

  • The first row of your dataset should contain a descriptive column heading.
  • Your data should have no blank column headings.
  • Your data should have no blank columns or blank rows.
  • Your data should have no subtotals or grand totals.
  • One row in your data should represent exactly one record of data.
  • One column should contain exactly one type of data.

If your data is rectangular in shape and adheres to the above rules, then it’s ready to be put into a table.

Create a Table from the Insert Tab

Now that your data is ready to be placed inside a table, how can you do that?

It’s very easy and will only take a few clicks!

You’ll be able to add your data in a table from the Insert tab. Follow these steps to get your data into a table!

  1. Select a cell inside your data.
  2. Go to the Insert tab.
  3. Select the Table command in the Tables section.

This is going to open the Create Table menu with your data range selected. You should see a green dash line around your selected data and you can adjust the selection if needed.

  1. Check the My table has headers option. This is needed if the first row of your data contains column name headings.
  2. Press the OK button.

Your data is now inside a table! You’ll easily be able to tell the data is inside an Excel Table now because a default table formatting is automatically applied.

You can go to the Table Design tab and select other style options from the Table Styles section.

💡 Tip: Your table will get a default name such as Table1. You should give your new table a descriptive name as this is how you will refer to it in formulas and other tools.

Create a Table from the Home Tab

Another place you can access the table command is from the Home tab.

You can use the Format as Table command to create a table.

  1. Select a cell inside your data.
  2. Go to the Home tab.
  3. Select the Format as Table command in the Styles section.

  1. Select a style option for your table.
  2. Check the option for My table has headers.
  3. Press the OK button.

This is a great option as you get to choose the table style during the process of making your table.

Create a Table with a Keyboard Shortcut

Creating a table is such a common task that there is a keyboard shortcut for it.

Select your data and press Ctrl + T on your keyboard to turn your dataset into a table.

This is an easy shortcut to remember since T stands for Table.

There is also a legacy shortcut available from when tables were called lists. Select your data and if you press Ctrl + L this will also make a table. In this case, L stands for List.

Create a Table with Quick Analysis

When you select any range Excel will show you the Quick Analysis options in the lower right corner.

This will give you quick access to conditional formatting, pivot tables, charts, totals, and sparklines. The menu also includes the table command to convert the data into a table.

You can follow these steps to create a table from the Quick Analysis tools.

  1. Select your entire dataset. You can select any cell in the data and press Ctrl + A and this will select the full range.

This should automatically show the Quick Analysis tool in the lower right corner of the selected range.

  • Click on the Quick Analysis tools or press Ctrl + Q to open the Quick Analysis menu.
  • Go to the Tables tab.
  • Click on the Table command. When you hover your cursor over the Table command it will show you a preview of your data inside a table!

📝 Note: This method allows you to skip the Create Table menu and the Quick Analysis will guess if your data has column headings or not. Excel will apply any column headings to your table accordingly.

Quick Analysis can be disabled from the Excel Options menu if the pop-up command is something you find annoying.

  1. Go to the File tab.
  2. Select the Options menu.
  3. Go to the General tab of the Excel Options menu.
  4. Uncheck the Show Quick Analysis options on selection option.
  5. Press the OK button.

📝 Note: This will only disable the small pop-up command from showing when you select your data. You can still use the Ctrl + Q keyboard shortcut to access the Quick Analysis tools for any selected range.

Create a Table with Power Query

Power Query is a very useful tool for transforming your data, but you can also create a table during the process of building your queries.

If your data isn’t already inside a table, you can use the From Table/Range query to make a table.

  1. Select your data.
  2. Go to the Data tab.
  3. Press the From Table/Range command in the Get & Transform Data section.

This will open the Create Table menu.

  1. Check the My table has headers option if the first row in your data contains column headings.
  2. Press the OK button.

This will add your data to a table and then open the Power Query Editor where you will be able to build your query based on the new table.

When you are finished building your query, you can go to the Home tab of the Power Query editor and press the Close and Load command.

This will give you the option to create another table filled with the transformed data. Select the Table option and press the OK button to load the transformed data into a table.

⚠️ Warning: This method does create a table, but doesn’t give you the opportunity to name the table before you build your queries. This means your queries will reference the generic table name such as Table1, and if you later change the table name you will also have to update the reference in your query.

Create Multiple Tables from a List with VBA

Suppose you need to create multiple tables in your Excel file. Maybe you need to create a table of sales data for each month of the year. Doing this manually could be a time-consuming process.

This is where you could use VBA to create multiple tables with the required columns.

Go to the Developer tab and select the Visual Basic command to open the visual basic editor. Then go to the Insert tab of the visual basic editor and select the Module option to create a new module to add your VBA macro.

Sub AddTables()
Dim myRange As Range
Dim sheetTest As Boolean
Dim myHeadings As Variant
Dim colCount As Integer
Set myRange = Selection

myHeadings = [{"ID","Date","Item","Quantity","Price"}]
colCount = UBound(myHeadings)

For Each c In myRange.Cells
sheetTest = False
    For Each ws In ThisWorkbook.Worksheets
        If ws.Name = c.Value Or c.Value = "" Then
            sheetTest = True
        End If
    Next ws
    If Not (sheetTest) Then
        With Sheets
            Sheets.Add.Name = c.Value
            Sheets(c.Value).Select
            Range("A1").Resize(1, colCount).Value = myHeadings
            ActiveSheet.ListObjects.Add(xlSrcRange, Range("A1").Resize(1, colCount), , xlYes).Name = c.Value & "Sales"
        End With
    End If
Next c
End Sub

This code will loop through the selected range and add a new sheet for each cell in the range. The code tests if the sheet name exists and if it doesn’t then it creates a new sheet named from the cell value.

The column headings are added to the new sheet starting at cell A1. This is then turned into a table and the table is named based on the sheet name.

myHeadings = [{"ID","Date","Item","Quantity","Price"}]

The above line of code is used to create the column headings in each table. You can adjust this to suit your needs.

You can then run this macro to create multiple tables.

  1. Select the range of cells that contain the list the names for each table you want to create. For example, you might want a list of month names to create a table for each month.
  2. Press the Alt + F8 keyboard shortcut to open the Macro menu.
  3. Select your macro.
  4. Press the Run button.

This will run and create a new sheet for each item in your selection. Each sheet will contain a table with the same column headings and be named based on the items in the selected list.

Create Multiple Tables from a List with Office Scripts

If you are using Excel online and want to automate the process of creating multiple tables from a list, then you will need to use Office Scripts.

This is a JavaScript based language that can help you automate tasks in Excel online.

Go to the Automate tab and select the New Script command to open the Office Script Editor.

function main(workbook: ExcelScript.Workbook) {

	//Create an array with the column headings
	let myHeaders = [["ID", "Date", "Item", "Quantity", "Price"]]
	let colCount = myHeaders[0].length;
	//Create an array with the values from the selected range
	let selectedRange = workbook.getSelectedRange();
	let selectedValues = selectedRange.getValues();
	//Get dimensions of selected range
	let rowHeight = selectedRange.getRowCount();
	let colWidth = selectedRange.getColumnCount();

	//Loop through each item in the selected range
	for (let i = 0; i < rowHeight; i++) {
		for (let j = 0; j < colWidth; j++) {
			try {
				//Create a new sheet with name from the selected range
				let thisSheet = workbook.addWorksheet(selectedValues[i][j]);
				//Add column headings to new sheet and convert to table
				thisSheet.getRange("A1").getAbsoluteResizedRange(1, colCount).setValues(myHeaders);
				let newTable = workbook.addTable(thisSheet.getRange("A1").getAbsoluteResizedRange(1, colCount), true);
				newTable.setName(selectedValues[i][j] + "Sales");
			}
			catch (e) {
				//do nothing
			};
		};
	};
};

Copy and paste the above code into the Code Editor. Press the Save script button to save the script and then you can use the Run button to execute the script.

This Office Script code will loop through the active range in your workbook and create a new sheet for each cell in the selected range and name it based on the value in the cell.

let myHeaders = [["ID", "Date", "Item", "Quantity", "Price"]]

The column headings are added to each new sheet starting in cell A1. You can adjust the above line of code to change the column headings to suit your needs.

These column headings are then turned into a table and the table is named based on the sheet name.

You can then run this script using the following steps.

  1. Select a range of cells that contain the list of tables you want to create.
  2. Click on the Run button in the Code Editor.

The code will run and create all the sheets with tables in each sheet.

Conclusions

Tables are a very useful feature for your tabular data in Excel.

Your data can be added to a table in several ways such as from the Insert tab, from the Home tab, with a keyboard shortcut, or using the Quick Analysis tools.

Tables work well with other tools in Excel such as Power Query. Because of this, Excel will even automatically convert your data into a table before using Power Query.

Creating multiple tables in your workbook can also be automated using either VBA or Office Scripts.

How do you make your tables? Do you know any other tips? Let me know in the comments section below!

About the Author

John MacDougall

John is a Microsoft MVP and qualified actuary with over 15 years of experience. He has worked in a variety of industries, including insurance, ad tech, and most recently Power Platform consulting. He is a keen problem solver and has a passion for using technology to make businesses more efficient.

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.

Convert Data Into a Table in Excel

How to convert data in Excel into a table 

This page will show you how to convert Excel data into a table.

Creating a Table within Excel

  1. Open the Excel spreadsheet.
  2. Use your mouse to select the cells that contain the information for the table. 
  3. Click the «Insert» tab > Locate the «Tables» group.
  4. Click «Table». A «Create Table» dialog box will open. 
  5. If you have column headings, check the box «My table has headers».
  6. Verify that the range is correct > Click [OK].
  7. Resize your columns to make the headings visible.

Changing the Table Style

  1. Click on a cell in the table to activate the «Table Tools» tab.
  2. Click the «Design» tab > Locate the «Table Styles» group.
  3. Choose a style/color option that appeals to you. (Hover over the various table styles to see a live preview.)

Keywords: Office, color, colors, filter, sort, rows, columns, apply, enhance, table

Share This Post

  • Facebook

  • Twitter

  • LinkedIn

Blog Resources

Cedarville offers more than 150 academic programs to grad, undergrad, and online students. Cedarville is known for its biblical worldview, academic excellence, intentional discipleship, and authentic Christian community.

Top 10 Help Pages

Loading…

What are Excel Tables?

Tables in Excel helps group related data into one or more rows and/or columns. Once a table is created, Excel assigns a unique name to the columns and the table itself. Such names are used as structured references, which make it easy to apply Excel formulas. Therefore, tables eliminate the need to create named ranges in Excel.

For example, the following image shows a usual data range on the left side and an Excel table on the right side. Notice the alternately colored excel rowsThe two different methods to add colour to alternative rows are adding alternative row colour using Excel table styles or highlighting alternative rows using the Excel conditional formatting option.read more and structured references (in cell J2) of the latter.

Excel Tables

The purpose of creating tables is to make the data manageable, organized, and fit for analysis. Apart from structured references, tables offer several benefits like quick sorting and filtering, automatic expansion, easy formatting, readable formulas, and so on. Tables are extremely helpful when working with large databases.

Table of contents
  • What are Excel Tables?
    • How to Create Tables in Excel?
    • How to Customize Tables in Excel?
      • #1–Change the Name of the Table
      • #2–Change the Color of the Table
    • What are the Advantages of Creating Tables in Excel?
      • #1–Creates Structured References Automatically
      • #2–Is Dynamic in Nature
      • #3–Makes it Easy to Work With PivotTables
      • #4–Freezes Header Row Automatically
      • #5–Helps add a Total Row Containing Functions
      • #6–Eases Restoring to Usual Data Range Without Losing the Table Style
      • #7–Helps add Slicers for Filtering Data
      • #8–Assists in Creating Reports in Power BI
    • How to Turn off Structured References in Excel?
    • Frequently Asked Questions
    • Recommended Articles

How to Create Tables in Excel?

You can download this Excel Tables Template here – Excel Tables Template

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

  1. Ensure that the raw data does not contain any empty rows and/or columns. Further, each column should have a unique heading. If any two columns have the same headers, Excel automatically changes one of these headers once a table is created.

    The raw data is shown in the following image.

    Note: A column header should not contain any Excel formulas.

    Excel Table - Step 1

  2. Select any cell of the raw data and press the shortcut “Ctrl+T.” Both keys of the shortcut should be pressed together.

    Note: Alternatively, after selecting a cell of the raw data, click “table” from the Insert tab of Excel. This option is in the “tables” group of the Excel ribbon.

    create table shortcut

  3. The “create table” dialog box opens, as shown in the following image. Excel automatically selects the range for the table. Check whether this range is correct or not. If not, it can be edited.

    Excel Table - Step 2

  4. Select or deselect the checkbox of “my table has headers.” If selected, Excel will treat the content of the first row (row 1) as column headers.

    In the preceding table, row 1 does contain column headers. So, we have selected the option “my table has headers.” Next, click “Ok.”

    Excel Table - Step 3

  5. An Excel table has been created. It is shown in the following image. Notice that the banded rows and filters (to the right of each column header) appear automatically.

    Note: In Excel, banded rows are those in which color or shading is applied alternately.

    Excel Table - Step 4

How to Customize Tables in Excel?

A table can be customized by changing its name and/or the default color (or table style). Let us learn how this is done.

#1Change the Name of the Table

When a table is created, Excel assigns a default name like “table1,” “table2,” etc., depending on whether it is the first or the second table of the current workbook.

Working with such default names may become confusing, especially when there are lots of tables. So, the solution is to assign unique names to each table.

The steps for changing the name of the Excel table are listed as follows:

Step 1: Select the entire table. Once selected, the Design tab appears on the Excel ribbonRibbons in Excel 2016 are designed to help you easily locate the command you want to use. Ribbons are organized into logical groups called Tabs, each of which has its own set of functions.read more. This tab is shown within a red box in the following image.

Note: In place of the entire table, even if a single cell is selected, the Design tab will become visible.

Excel table - Change Name - Step 1

Step 2: In the Design tab, perform the following tasks:

  • Click inside the box under “table name.” This box is displayed in the “properties” group at the leftmost side of the ribbon.
  • Enter the desired name in this box.
  • Press the “Enter” key.

Our table has been named “Sales_Table.” This is shown in the following image.

Excel table - Change Name - Step 2

Rules Governing the Table Names

While naming a table, the following points should be considered:

  • The name should always begin with a letter, a backslash () or an underscore (_).
  • The name cannot be the single letter “r” (or “R”) or “c” (or “C”).
  • The name should not consist of any spaces. Instead, one can use an underscore (_) or a period (.) to separate the words.
  • The name can contain numbers, but cell references should be avoided.
  • The name can contain a maximum of 255 characters.
  • The name of the table should be unique. In case of a duplicate name, a message will be displayed saying that a unique name should be chosen.

Note: A name is said to be duplicate if two tables within the same workbook have the same names. Further, Excel does not distinguish between the uppercase and lowercase letters in the name of a table. So, the names “abc” or “ABC” are considered the same by Excel.

#2Change the Color of the Table

When a table is created, Excel assigns it a default color. To change the color of the table, its style needs to be changed. Excel displays a list of different table styles from which one can choose the desired option.

The steps to change the color (or style) of a table are listed as follows:

Step 1: Select either a cell of the table or the entire table. We have selected the latter. The Design tab becomes visible, as shown in the following image.

Excel table - Change Color - Step 1

Step 2: Choose the desired color (or style) from the “table styles” group of the Design tab. To expand the list of table styles, click the “more” button displayed at the bottom right side. One can also click “new table style” to view more styles.

The following image shows the expanded list of table styles. Once the desired style is chosen, it will be applied to the entire table.

Note: The default table style of the workbook can be changed by the user. For making this change, perform the listed steps:

  • Select the desired table style from the list of table styles.
  • Right-click the selected table style and choose “set as default” from the context menu.

Change Color - Step 2

What are the Advantages of Creating Tables in Excel?

Let us discuss eight advantages of creating tables in Excel.

#1–Creates Structured References Automatically

An Excel table uses structured referencesIn Excel, structured references define data sets in columns by giving names instead of cell address. You may use the column name instead of the cell address in the formula; this makes work easier.read more for referencing one or more cells. This is in contrast with the direct cell addresses used in a normal data range. A structured reference is a combination of table and column names that are used in Excel formulasThe term «basic excel formula» refers to the general functions used in Microsoft Excel to do simple calculations such as addition, average, and comparison. SUM, COUNT, COUNTA, COUNTBLANK, AVERAGE, MIN Excel, MAX Excel, LEN Excel, TRIM Excel, IF Excel are the top ten excel formulas and functions.read more.

The major benefits of using structured references are listed as follows:

  1. They automatically update when new entries are added or deleted from the table.
  2. They are automatically created when one or more cells of the table are selected.
  3. They can be used both within and outside the table, thus making it easy to locate tables in a workbook.
  4. They are used to autofill the calculated columns. A calculated column is an additional column added to the existing Excel table. It uses a single formula that expands on its own in the remaining part of the column. This implies that when a formula is entered in one cell of a calculated column, it need not be dragged to the remaining cells of the column. Rather, the formula is automatically entered in all cells (called autofill), unlike a usual data range which requires one to drag the fill handleThe fill handle in Excel allows you to avoid copying and pasting each value into cells and instead use patterns to fill out the information. This tiny cross is a versatile tool in the Excel suite that can be used for data entry, data transformation, and many other applications.read more.

Example of point “d”: The range A2:B7 is an Excel table containing random numbers. To create column C as a calculated column, enter the SUM formula in cell C3, which adds the numbers of cells A3 and B3. Use structured references in this formula. Once the formula is entered, press the “Enter” key. The outcomes are stated as follows:

  • The table (A2:B7) automatically expands to include column C.
  • The range C4:C7 is automatically filled with the totals of each row of the table. 

The preceding results will be obtained with both structured and regular references. This is because autofilling is a feature of Excel tables. However, with structured references, it is easy to read and understand the formula.

Note that if the user makes a change to the formula of the calculated column, the change is automatically replicated in the entire column.

Example of structured references: In the following image, structured references have been used in the SUMIF formula. The “Calls_Table” is the name of the Excel table. “Day” and “duration” are the names of columns A and E respectively. The cell G2 is a direct cell referenceCell reference in excel is referring the other cells to a cell to use its values or properties. For instance, if we have data in cell A2 and want to use that in cell A1, use =A2 in cell A1, and this will copy the A2 value in A1.read more.

Note: In the following image, the black line pointing to cell G2 has been incorrectly placed. It should have pointed to “day,” which is the name of column A. So, please ignore the misplacement.

sumif formula

#2–Is Dynamic in Nature

Any new insertions to the cells below or to the right of the table are automatically included in the Excel table. This implies that the table expands to include such insertions. Likewise, the table contracts when one or more rows and/or columns are deleted from it. Due to automatic expansion and contraction, an Excel table is often considered a dynamic tableDynamic tables in Excel are ones in which the table automatically adjusts its size when a new value is inserted. It can be done in one of two ways: by using the offset function or by creating a data table from the table section.read more.

Expansion implies that the style, formatting, and formulas of the table are automatically applied to the new entries as well. This eliminates the need to format and edit the formulas of individual cells. By default, the formatting stays uniform throughout an Excel table.

Note that the formulas of the table are adjustable as they take into account structured references. In contrast, the formulas of a normal data range do not adjust with insertions or deletions of entries.

Note: To undo table expansion, press the keys “Ctrl+Z” together.

#3–Makes it Easy to Work With PivotTables

It is advised to create a PivotTableA Pivot Table is an Excel tool that allows you to extract data in a preferred format (dashboard/reports) from large data sets contained within a worksheet. It can summarize, sort, group, and reorganize data, as well as execute other complex calculations on it.read more from an Excel table. The major reasons the source data should be an Excel table are listed as follows:

  • A PivotTable automatically updates with any changes in the source table. Since Excel tables are dynamic, the data range of the PivotTable also becomes dynamic.
  • A single cell of the source table can be selected prior to inserting a PivotTable. In contrast, when the source data is a usual data range, the entire range (or dataset) needs to be selected prior to inserting a PivotTable.

For instance, in the following image, a single cell of the source table has been selected before clicking the “PivotTable” option from the Excel Insert tabIn excel “INSERT” tab plays an important role in analyzing the data. Like all the other tabs in the ribbon INSERT tab offers its own features and tools. Under Insert Tab we have several other groups including tables, illustration, add-ins, charts, Power map, sparklines, filters, etc.read more. Notice that in “table/range,” the name of the source table is reflected.

Insert Table - Step 1

When one scrolls downwards in a worksheet, the table headers are visible at all times. This is because these headers are automatically fixed or frozen at their respective places.

Fixed headers prevent the user from going back to the top row (row 1) again and again. Such frozen headers can be seen within a red rectangle in the following image.

Notice that the user has scrolled downwards such that rows 4 to 13 are visible along with the header row.

Note: To see the frozen header row, ensure that a cell of the table is selected before scrolling.

Visible Table Header

#5–Helps add a Total Row Containing Functions

An Excel table shows various functions in the total row. For displaying this row, perform the following steps:

  • Select any cell of the Excel table. The Design tab appears on the Excel ribbon.
  • From the Design tab, select the checkbox of “total row” displayed in the “table style options” group.

The total row is added immediately below the Excel table. Select any cell of this row to see a drop-down arrow on the right side. When this arrow is clicked, a list containing functions appears, as shown in the following image.

Once a function is selected from the list, the respective formula is automatically entered and the output is shown in a cell of the total row.

Notice that row 9 of the following image is the total row. Further, if a function is selected in cell D9, the corresponding output will also be displayed in this cell. The formula will be visible in the formula bar of the worksheet.

calculations at the bottom cell

#6–Eases Restoring to Usual Data Range Without Losing the Table Style

An Excel table can be quickly converted to a usual data range. This serves as a benefit when the user requires only the table style and not the functionality of the table. For such conversion, follow either of the listed steps:

  • Select any cell of the table. From the Design tab, click “convert to range” in the tools group.
  • Select any cell of the table and right-click it. From the context menu, choose “table” followed by “convert to range.”

The “convert to range” feature of the first pointer is shown in the following image. Once an Excel table is converted to a usual data range, the existing structured references are replaced with the regular cell references. However, the data and formatting of the table are retained in the usual data range.

Note: The “convert to range” feature can be used only when the data to be converted is in the form of an Excel table.

Convert the table to normal range

#7–Helps add Slicers for Filtering Data

A slicer helps filter the data of an Excel table. It displays buttons that can be selected or deselected to indicate whether an item is included or excluded from the filter.

Slicers are available in Excel 2013 and the newer Excel versions. The steps to add a slicer to a table are listed as follows:

  1. Select either a cell within the table or the entire table.
  2. From the Design tab, select “insert slicer” from the “tools” group.
  3. The “insert slicer” dialog box opens. Next, select the checkboxes of the columns for which the slicer needs to be created.
  4. Click “Ok.”

One can have a slicer for each column of the Excel table. Once slicers appear in the worksheet, they can be moved, resized, and formatted according to the requirement.

With a slicer, one can filter and view only particular items (or entries) of the table. To view multiple items of a column, press and hold the “Ctrl” key while selecting the items in the respective slicer.

The following image shows the “insert slicer” option of the Design tab.

Note 1: A slicer can also be added from the “filters” group of the Insert tab of Excel. Click “slicer” in this group and thereafter follow the steps “c” and “d” listed above.

Note 2: A slicer can be used only if the data is in the form of an Excel table.

add slicer

#8–Assists in Creating Reports in Power BI

Excel tables serve as a source from which data is entered in the Power BI tool. Power BI is a business intelligence tool that helps convert unrelated sources of data into meaningful reports and dashboards. The process of creating reports works as follows:

  • Create and upload Excel tables to Power BI. 
  • Create a report in Power BI by adding visualizations.
  • Share the report with other Power BI users or office colleagues.

Excel tables are a preferred data source in Power BI due to the following reasons:

  • They allow quick access to the tabular format of the dataset.
  • They help ease comparisons within a dataset.
  • They can be easily edited and organized prior to being uploaded in Power BI.

How to Turn off Structured References in Excel?

The steps to turn off structured references in Excel are listed as follows:

Step 1: Click the File tab of Excel. It is displayed within a red box in the following image.

Turn off Structured Reference - step 1

Step 2: Select “options” shown in the following image.

Turn off Structured Reference - step 2

Step 3: The “Excel options” dialog box opens. Click “formulas” appearing on the left side of the window. Deselect the checkbox of “use table names in formulas.” This is shown in the following image.

Next, click “Ok.” The structured references will be turned off in Excel.

Note: By changing this setting, the structured references used in the existing formulas of the Excel table are not removed. However, the new formulas applied to the table will contain regular cell references instead of structured references. If regular cell references are required in existing formulas too, they will have to be edited manually.

Further, whether the structured references are turned on or off, the changed setting will be applied to all workbooks that the user is working on.

Excel options

Frequently Asked Questions

1. What are Excel tables and how are they created?

An Excel table displays the data in a tabulated format. Every column should have unique headers (or names) according to the kind of data they contain. Such headers are placed in the top row of the table. The table may or may not be named by the user.

If the columns and table are not named by the user, Excel assigns default names to both of them. These names are used as structured references in all formulas applied within or outside the table (that contain a table reference).

To create a table in Excel, select any cell of the dataset and press the keys “Ctrl+T” or “Ctrl+L.”

2. How to join two tables in Excel?

Two tables that have a common column can be joined with the help of the VLOOKUP function of Excel. The formula is stated as follows:

“=VLOOKUP(lookup_value,entire_lookup_table,return_column,FALSE)”

For instance, the first table is named “table1” and the second table is named “table2.” To pull the data of a single column of “table2” in “table1,” enter the following formula:

“=VLOOKUP($A2,table2,3,FALSE)”

This formula looks up the value of cell A2 in “table2.” It returns an exact match from the third column of “table2.”

One can use either regular or structured references in the given formula. By selecting the cell of the “lookup_value” and the range of the “entire_lookup_table,” Excel will automatically enter structured references in the VLOOKUP formula.

Note 1: Enter the given formula in the first cell to the immediate right of the first table. Once entered, press the “Enter” key. The Excel table expands to include the new column. Consequently, the outputs of the entire column are displayed in the first table.

Note 2: For the given formula to work, the column containing the “lookup_value” should be common to both tables. Moreover, the lookup column (containing the “lookup_value”) should be the leftmost column of the second table. The return column (containing the value to be returned) of the second table should be to the right of the lookup column.

3. When should Excel tables be used and how to locate them in a workbook?

Excel tables should be used in the following situations:

• To arrange data in a tabular format
• To facilitate comparisons of data values
• To improve the readability of the dataset
• To ease data analysis and eventually assist in decision-making

To locate tables in a workbook, click the downward arrow appearing on the right side of the name box. It shows the names of all the tables of the workbook. Clicking on any of these names will select that particular table.

Recommended Articles

This has been a guide to tables in Excel. Here, we explain how to create/insert/customize Excel tables along with examples and advantages. You may also look at these useful functions of Excel–

  • Delete Pivot Table ExcelTo delete a pivot table in Excel, you must first select it. Then go to the Analyze menu tab under the Design and Analyze menu tabs and select actions. Then, from the Select option’s drop-down option, select Entire Pivot Table to delete it.read more
  • Refresh Pivot Table in ExcelTo refresh pivot tables, you may use the following methods — refresh pivot table by changing data source, refresh pivot table using right click option, auto-refresh pivot table using VBA Code, refresh pivot table when you open the workbook.read more
  • Data Table in Excel
  • Excel Merge Tables We 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

Creating And Working With Tables in Excel

You may think that an Excel Workbook already provides a table of data to you, and in a sense it does, an area consisting of Rows and Columns, with column and row headings and values.

It is, however, possible to create formal Tables from ranges of cells on an Excel worksheet.

Why would we want to do this?

Well, here are a few reasons:

  • Automatic Filtering & Sorts
  • Predefined formatting and colour schemes to choose from
  • Colour banded rows
  • Table Headings
  • Single table name available to address all the data in that region of a worksheet (dynamic table size)
  • Automatic Totals
  • Slicers

There are many other benefits too.

Let’s take a look. 

Create A Table From a Range of Cells

The screen shot below shows some raw sales data that has been pasted into an Excel Worklbook.

We can quite happily work on this data without converting it to a table. We can:

  • Add columns
  • Add rows
  • Enter formulae into Cells
  • Format cells
  • Add Validation Rules to cells.

And so on ……

But, ……..

Tables give us just a little bit more.

We will create a table from the above data.

On the Insert ribbon there is a Table option – shown in the screen shot below:

Highlight the area of the worksheet that contains the data along with the column headings and then click on Table:

A dialog pops up where you can confirm or alter the area containing the table data. You can also indicate if the table includes column headings (it does in this example).

Clicking on OK results in the table being created with a default Table Style:

Immediate benefits are:

  • Formatted with a Table Style
  • Banded formatting for alternate row shading
  • Headings that remain frozen at the top of the table as you scroll down records
  • Automatic filter drop downs for each column in the table
  • Sorting options via the drop downs for each column in the table
  • Table Name that can be used to address the whole table

Table Styles & Column Banding

The default blue based table style can be changed via the Table Tools Design Ribbon.

The Table Styles part of the ribbon offers quite a few options for formatting the table:

We will select one of the green themes:

The default styles include Column Banding to make it easier to identify values from a row. 

Column Banding can be turned off via the Table Tools Design ribbon:

You can see that the Table Style Options section of the ribbon offers tick boxes for Banded Rows (on by default) and Banded Columns.

In the following example we have deselected Banded Rows and selected Banded Columns.

Table Headings

In the screen shot below you can see the default table headings:

When you scroll down the data rows the headings stay displayed at the top of the worksheet area (where you would normally see the Row Letters):

Table Filters & Sort Operations

Every column in the table gets automatic filtering and sort options via the drop down seen to the right of each column name:

Table Name

The Table is automatically given a name. This can be changed as shown in the following screen shot, to make it a more easily remembered and relevant name. The following example shows a table renamed as SalesData.

This table name can then be used in any formula or tool that requires the range of cells in the table. This range will also be dynamic so that as the table grows with new rows and columns they will be included in the referencing formulae and tools.

For example, we can use the table name when using the table data as the source for a Pivot Table:

Note that we have used the table name, SalesData, in the Table/Range field instead of referencing the Worksheet and Cell Range.

Here is a sample Pivot Table from this source:

Adding Automatic Totals to an Excel Table

On the Table Tools Design Menu the Table Style Options group has a “Total Row” tick box.  

If you tick this box a total row is added to the bottom of the table.

Once the total row has been added you can click in any of the cells in this row and an arrow will appear to the right of it enabling you to access a list of available aggregate functions to choose from. This is shown in the above sreen shot.

The following example shows an average has been added to the Product Unit Price and a total has been added to the Total Sales Amount column:

As new rows are added to the table the totals are automatically updated.

Another big benefit of Excel Table Total Rows is that if filtering is in place the aggrgate function results are automatically updated to reflect the filtered rows rather than just displaying the overall aggregate values.

In the following example there is a filter on the Sales Territory Region column, so the Totals row is showing the average product price for Canada and the total sales amount for Canada:

..

Using Slicers With Excel Tables to Filter Data

Slicers are a wonderful way of filtering records. Typically they are used wioth Pivot Tables and Pivot Charts to slice and dice to looik at different sections of business data, whether that be a specific product, a specific set of years or regions, etc.

Slicers can be used with Excel Tables too. With the cursor located in a cell that belongs to your Excel table select the Table Tools Design ribbon. In the Tools section of the ribbon you will see an “Insert Slicer” option.

A dialog will open enabling you to select any of the available table columns to be added as slicers:

In the following example you can see that we selected the Promotion column and a slicer has been added to the worksheet:

 

The four promotion values that appear in the table data are listed and selected by default. Filtering of the table can be implemented by clicking on promotion values in the slicer – the records in the table the slicer is linked to will automatically be updated to refelct the filter. More than one value can be selected using a <CTRL> click.

We can see that the slicer has “No Discount” selected and the table indicates a filter on the Promotion column (note the funnel icon to the right of the column name).

You can have many slicers associated with a table.

I hope you have found this article useful. If you would like to learn more about working in Excel why not take a look at our Excel Training Courses.


Download Article


Download Article

This wikiHow teaches you how to create a table of information in Microsoft Excel. You can do this on both Windows and Mac versions of Excel.

  1. Image titled Make Tables Using Microsoft Excel Step 1

    1

    Open your Excel document. Double-click the Excel document, or double-click the Excel icon and then select the document’s name from the home page.

    • You can also open a new Excel document by clicking Blank Workbook on the Excel home page, but you’ll need to input your data before continuing.
  2. Image titled Make Tables Using Microsoft Excel Step 2

    2

    Select your table’s data. Click the cell in the top-left corner of the data group you want to include in your table, then hold down Shift while clicking the bottom-right cell in the data group.

    • For example: if you have data in cells A1 down to A5 and over to D5, you would click A1 and then click D5 while holding Shift.

    Advertisement

  3. Image titled Make Tables Using Microsoft Excel Step 3

    3

    Click the Insert tab. It’s a tab in the green ribbon at the top of the Excel window. Doing so will display the Insert toolbar below the green ribbon.

    • If you’re on a Mac, make sure you don’t click the Insert menu item in your Mac’s menu bar.
  4. Image titled Make Tables Using Microsoft Excel Step 4

    4

    Click Table. This option is in the «Tables» section of the toolbar. Clicking it brings up a pop-up window.

  5. Image titled Make Tables Using Microsoft Excel Step 5

    5

    Click OK. It’s at the bottom of the pop-up window. Doing so will create your table.

    • If your data group has cells at the top of it that are dedicated to column names (e.g., headers), click the «My table has headers» checkbox before you click OK.
  6. Advertisement

  1. Image titled Make Tables Using Microsoft Excel Step 6

    1

    Click the Design tab. It’s in the green ribbon near the top of the Excel window. This will open a toolbar for your table’s design directly below the green ribbon.

    • If you don’t see this tab, click your table to prompt it to appear.
  2. Image titled Make Tables Using Microsoft Excel Step 7

    2

    Select a design scheme. Click one of the colored boxes in the «Table Styles» section of the Design toolbar to apply the color and design to your table.

    • You can click the downward-facing arrow to the right of the colored boxes to scroll through different design options.
  3. Image titled Make Tables Using Microsoft Excel Step 8

    3

    Review the other design options. In the «Table Style Options» section of the toolbar, check or uncheck any of the following boxes:

    • Header Row — Checking this box places column names in the top cell of the data group. Uncheck this box to remove headers.
    • Total Row — When enabled, this option adds a row at the bottom of the table that displays the total value of the right-most column.
    • Banded Rows — Check this box to color in alternating rows, or uncheck it to leave all rows in your table the same color.
    • First Column and Last Column — When enabled, these options make the headers and data in the first and/or last columns bold.
    • Banded Columns — Check this box to color in alternating columns, or uncheck it to leave all columns in your table the same color.
    • Filter Button — When checked, this box places a drop-down box next to each header in your table that allows you to change the data displayed in that column.
  4. Image titled Make Tables Using Microsoft Excel Step 9

    4

    Click the Home tab again. This will take you back to the Home toolbar. Your table’s changes will remain.

  5. Advertisement

  1. Image titled Make Tables Using Microsoft Excel Step 10

    1

    Open the filter menu. Click the drop-down arrow to the right of the header for the column whose data you want to filter. A drop-down menu will appear.

    • In order to do this, you must have both the «Header Row» and the «Filter» boxes checked in the «Table Style Options» section of the Design tab.
  2. Image titled Make Tables Using Microsoft Excel Step 11

    2

    Select a filter. Click one of the following options in the drop-down menu:

    • Sort Smallest to Largest
    • Sort Largest to Smallest
    • You may also have additional options such as Sort by Color or Number Filters depending on your data. If so, you can select one of these options and then click a filter in the pop-out menu.
  3. Image titled Make Tables Using Microsoft Excel Step 12

    3

    Click OK if prompted. Depending on the filter you choose, you may also have to select a range or a different type of data before you can continue. Your filter will be applied to your table.

  4. Advertisement

Add New Question

  • Question

    How do I resize the columns?

    Community Answer

    Place your mouse between the columns until the cursor changes into a double arrow pointing to the left and to the right. Left click and hold. Drag the mouse, while holding the left button, to the left to shrink or to the right to enlarge the column.

  • Question

    How do I change the width of a column in Excel?

    Community Answer

    If you go up to «Format,» and select «Width» you will be able to change the size.

  • Question

    How do I make a table in Excel fit the size of a paper?

    Community Answer

    In Excel 2013, click the «Page Layout» tab, then click the «Size» dropdown menu. Most printers use 8.5 x 11 inch paper.

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

Video

  • If you no longer need the table, you can either delete it entirely or turn it back into a range of data on the spreadsheet page. To delete the table entirely, select the table and press your keyboard «Delete» key. To change it back to a range of data, right-click any of its cells, select «Table» from the popup menu that appears, and then select «Convert to Range» from the Table submenu. The sort and filter arrows disappear from the column headers, and any table name references in the cell formulas are removed. The column header names and the table formatting remain, however.

  • If you place your table so that the header for the first column is in the upper left corner of the spreadsheet (Cell A1), the column headers will replace the spreadsheet’s column headers when you scroll up. If you place the table anywhere else, the column headers will scroll out of view when you scroll up, and you’ll need to use Freeze Panes to keep them constantly displayed.

Thanks for submitting a tip for review!

Advertisement

About This Article

Article SummaryX

1. Open a file with data.
2. Select data for the table.
3. Click Insert.
4. Click Table.
5. Click OK.

Did this summary help you?

Thanks to all authors for creating a page that has been read 553,245 times.

Is this article up to date?

Like this post? Please share to your friends:
  • Excel create object error
  • Excel create list from table
  • Excel create add in
  • Excel create a pie chart
  • Excel countries of the world