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:
Figure 1. The New Table Style 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.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
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 MoreExcel allows you to adjust not only the horizontal alignment of values in a cell, but also the vertical alignment. This ...
Discover MoreWhen you save a workbook, you expect Excel to remember the formatting you applied in the worksheets in that workbook. If ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments