Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Applying Table Formats.

Applying Table Formats

Written by Allen Wyatt (last updated February 10, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


1

At times formatting can be rather tedious, particularly if your worksheet is large or presents complex information. Excel includes a very powerful formatting tool that you can use to help with your formatting tasks. This is the table formatting feature, which allows you to format data tables within your worksheet quickly and easily. With the click of a mouse button, you can format an entire table, including setting all formatting attributes and row and column sizes.

To use this feature, simply make sure you select a cell in or around a data table. When you select a cell within the data table, AutoFormat does real good at just selecting the cells that make up the data table. However, if you choose a cell around the data table (within one row or column of the data table), AutoFormat selects the entire data table plus the extra row or column that contains the cell you selected. If you want to format only the data table and no extra rows or columns, you will want to make sure the cell you select is actually within the data table.

Once you have selected a cell (or the entire data table), follow these steps:

  1. Display the Home tab of the ribbon.
  2. In the Styles group, click Format As Table. Excel displays a palette of available table styles.
  3. From the available styles, click on the style that looks like how you want your data to look. Excel displays the Format As Table dialog box. (The range for your table should already be filled in.) (See Figure 1.)
  4. Figure 1. The Format As Table dialog box.

  5. Click OK. Excel reformats your table to match the format you selected.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6256) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Applying Table Formats.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Applying Formatting to Words

You don't have to select whole words before applying direct character formatting. With the proper Word options set, ...

Discover More

Referencing a Page Number In Another Document

Page references are a common element of many documents. If you need to have a page reference to a page in a different ...

Discover More

Getting Rid of 'Mail To:' in E-mail Links

If you convert e-mail addresses to hyperlinks, you could end up with some 'mailto:' verbiage at the beginning of the ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Hash Marks Displayed Instead of Cell Contents

Have you ever entered information in a cell only for it to appear as hash marks? This tip explains why this happens, how ...

Discover More

Shortcut Key for Format Painter

The Format Painter is great for copying formatting from one cell to another. If you don't want to grab the mouse to use ...

Discover More

Deleting Unwanted Styles

Custom styles can be a great help in formatting a worksheet. You may, at some point, want to get rid of all the custom ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2024-02-12 19:35:03

Tomek

There is more than just formatting that is set-up when you format a range of cells as a table.
- The heading row is added if you uncheck "My table has headers"
- Auto Filter is set for the columns.
- The data range (except header row) is named.
- From outside the table you can refer to cells in the same row as the selected cell using syntax like =+Table2[@Column6]

Some of this may interfere with the way you would use the data otherwise.
If you just want the formatting (alternatively shaded rows etc) you can revert the table back to Range. The formatting will stay as explicit formatting that may, however, take precedence over any future "Format-as-a-Table" action.

Having said that, tables are very useful for data analysis and graphing using slicers and other presentation tools, especially when your data expands.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.