Excel: Tables
Excel Tables

Once you've entered information into your worksheet, you may want to format your data as a table. Just like regular formatting, tables can improve the look and feel of your workbook, and they'll also help organize your content and make your data easier to use. Excel includes several tools and predefined table styles, allowing you to create tables quickly and easily.

Watch the video below to learn more about working with tables.

To format data as a table:

  1. Select the cells you want to format as a table. In our example, we'll select the cell range A2:D9.
  2. Selecting a range
  3. From the Home tab, click the Format as Table command in the Styles group.
  4. Format as Table command
  5. Select a table style from the drop-down menu.
  6. Choosing a table style
  7. A dialog box will appear, confirming the selected cell range for the table. If your table has headers, check the box next to My table has headers, then click OK.
  8. Confirming cell range
  9. The cell range will be formatted in the selected table style.
  10. Formatted table
Tables include filtering by default. You can filter your data at any time using the drop-down arrows in the header cells. To learn more, review our lesson on Filtering Data.

Modifying tables

It's easy to modify the look and feel of any table after adding it to a worksheet. Excel includes several options for customizing tables, including adding rows or columns and changing the table style.

To add rows or columns to a table:

If you need to fit more content into your table, you can modify the table size by including additional rows and columns. There are two simple ways to change the table size:

  • Enter new content into any adjacent row or column. The row or column will be roped into the table automatically.
  • Adding a row by typing
  • Click and drag the bottom-right corner of the table to create additional rows or columns.
  • Adding several rows

To change the table style:

  1. Select any cell in your table, then click the Design tab.
  2. Navigating to the design tab
  3. Locate the Table Styles group, then click the More drop-down arrow to see all available table styles.
  4. More tables styles
  5. Select the desired table style.
  6. Choosing a table style
  7. The table style will be applied.
  8. Choosing a table style

To modify table style options:

You can turn various options on or off to change the appearance of any table. There are several options: Header Row, Total Row, Banded Rows, First Column, Last Column, Banded Columns, and Filter Button.

  1. Select any cell in your table, then click the Design tab.
  2. Check or uncheck the desired options in the Table Style Options group. In our example, we'll check Total Row to automatically include a total for our table.
  3. Table style options
  4. The table style will be modified. In our example, a new row has been added to the table with a formula that automatically calculates the total value of the cells in column D.
  5. Total row added
Depending on the type of content you have—and the table style you've chosen—these options can affect your table's appearance in various ways. You may need to experiment with a few options to find the exact style you want.

To remove a table:

It's possible to remove a table from your workbook without losing any of your data. However, this can cause issues with certain types of formatting, including colors, fonts, and banded rows. Before using this option, be prepared to reformat your cells if necessary.

  1. Select any cell in your table, then click the Design tab.
  2. Click the Convert to Range command in the Tools group.
  3. Convert to range command
  4. A dialog box will appear. Click Yes.
  5. Convert to range confirmation
  6. The range will no longer be a table, but the cells will retain their data and formatting.
  7. Clear command

To restart your formatting from scratch, click the Clear command on the Home tab. Next, choose Clear Formats from the menu.

Clear command

Challenge!

  • Open our practice workbook.
  • Click the Challenge tab in the bottom-left of the workbook.
  • Select cells A2:D9 and format as a table. Choose one of the light styles.
  • Insert a row between rows 4 and 5. In the row you just created, type Empanadas: Banana and Nutella, with a unit price of $3.25 and a quantity of 12.
  • Change the table style to Table Style Medium 10.
  • In Table Style Options, uncheck banded rows and check banded columns.
  • When you're finished, your workbook should look like this:
Tables Challenge Result

Common Questions about Excel Tables

What is the difference between a Range and a Table?

A Table is a special object in Excel that has built-in features like filtering, sorting, automatic formatting, and structured references (formulas that use column names). A Range is just a standard group of cells without these features.

How do I rename an Excel table?

Click anywhere inside the table to open the Design tab. On the far left, look for the "Table Name" box. Type your new name and press Enter. (Note: Names cannot contain spaces).

How can I remove the table formatting but keep the table features?

Go to the Design tab, open the Table Styles gallery, and select the very first option (often called None or Light). This removes colors and borders but keeps the table functionality.

Why did my formulas change when I created a table?

Excel Tables use Structured References (e.g., =[@Price]*[@Quantity]) instead of cell addresses (e.g., =A2*B2). This makes formulas easier to read and allows them to automatically apply to new rows.

How do I get the "Total Row" to show an average instead of a sum?

Click on the cell in the Total Row. A drop-down arrow will appear. Click it and select Average (or any other function like Count, Max, Min) from the list.

You May Also Like

Loading...