Saving a Custom Table Style

by Allen Wyatt
(last updated December 2, 2017)

2

Mike has a table style that he likes to use to format his tables with a certain color, border, etc. However, he doesn't know of a way to save this table style so that he can use it the next time he creates a new worksheet. Instead, he finds that he has to re-create the table style again each time. Mike wonders if there is a way to save the table style so that he can just use it across many workbooks.

Excel allows you to create your own table styles through the following general steps:

  1. Display the Home tab of the ribbon.
  2. Click the Format As Table tool, in the Styles group. Excel displays a variety of formats you can use.
  3. Scroll down through the options, to the very bottom.
  4. Select the New Table Style option. Excel displays the New Table Style dialog box. (See Figure 1.)
  5. Figure 1. The New Table Style dialog box.

  6. Provide a name for your custom table style.
  7. Use the controls in the dialog box to define how you want the style to look.
  8. Click OK to close the dialog box.

Your new style is defined, and it will be usable for the balance of the current Excel session. (You can see it at the top of the styles, in the Custom section, when you click the Foramt As Table tool on the Home tab of the ribbon.) If you want the style to be accessible in future sessions of Excel, then it is best to save the workbook as a template. You do that by pressing Ctrl+F12 to display the Save As dialog box and using the Save As Type drop-down list to specify you are saving a template.

Once saved as a template, you can later base new workbooks on this template, which means that the custom table style (along with any other customizations) will be available for you to use.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (4868) applies to Microsoft Excel 2007, 2010, 2013, and 2016.

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

Increasing Envelope Address Lines

Envelopes in Word are created through the use of styles that define specific elements of the envelope, such as return ...

Discover More

Reusing a Bookmark

Bookmarks in Word are just like bookmarks used in paper books, any given bookmark may be reused to mark a new location. ...

Discover More

Dealing with Small Time Values

It is no secret that you can store time values in an Excel worksheet. But do you really know how small of a time value ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Getting Rid of Negative Zero Amounts

Have you ever seen a worksheet in which some zero values have a negative sign in front of them? There's a reason for ...

Discover More

Setting Vertical Alignment

Excel allows you to adjust not only the horizontal alignment of values in a cell, but also the vertical alignment. This ...

Discover More

Applying Table Formats

Want to format your data tables in a hurry? It's easy to do if you use the built-in table formatter provided in Excel.

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}] 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 four more than 2?

2017-12-04 13:44:12

Gary M. Rose

Is it possible to create a table style or template that includes subtotals of columns at the bottom and/or subtotals of rows at the right? Is it possible for there to be multi-level subtotals? If there are multi-level subtotals, is it possible to have the multi-level subtotal rows to include both key values and descriptive values shown?

For example, I have attached an image of a Regional & Departmental Costs spreadsheet with two levels of subtotals. I have highlighted in yellow the cells that contain subtotals. I needed to manually add the Region Key, Region Description, and Department Descriptions for the Departmental subtotals and I needed to manually add the Region Description for the Regional subtotals.

I have been able to write macros to do this but instead I would like to find if there are any options within Excel that will automatically add these values to the subtotal lines. Perhaps a table style or template could be set up that would use such an option. Thank you for your suggestions.
(see Figure 1 below)

Gary


Figure 1. 




2017-12-03 18:30:00

Alex B

If you save it as Book.xltx in your Excel Startup folder, the custom style will be available in the table > design > table styles the next time you need it in a newly created workbook.

The template does not need to contain the actual table.
ie using a current New worksheet (in case you have already saved some settings),
Option1:-
- insert an additional sheet
- create the table with a custom design saving the design
- delete the new sheet
- save the new workbook in your excel startup folder as Book.xltx
Option 2 - it you have already created the custom design in a different workbook
- Go to the sheet in the workbook with the custom table
- Right click on the Tab with you table and copy it to the New workbook
- Delete the sheet from your New workbook
- save the new workbook in your excel startup folder as Book.xltx


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.