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:
- Select the cells you want to format as a table. In our example, we'll select the cell range A2:D9.
- From the Home tab, click the Format as Table command in the Styles group.
- Select a table style from the drop-down menu.
- 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.
- The cell range will be formatted in the selected table style.
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.
- Click and drag the bottom-right corner of the table to create additional rows or columns.
To change the table style:
- Select any cell in your table, then click the Design tab.
- Locate the Table Styles group, then click the More drop-down arrow to see all available table styles.
- Select the desired table style.
- The table style will be applied.
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.
- Select any cell in your table, then click the Design tab.
- 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.
- 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.
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.
- Select any cell in your table, then click the Design tab.
- Click the Convert to Range command in the Tools group.
- A dialog box will appear. Click Yes.
- The range will no longer be a table, but the cells will retain their data and formatting.
To restart your formatting from scratch, click the Clear command on the Home tab. Next, choose Clear Formats from the menu.
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:
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.
No comments:
Post a Comment