Excel table styles and formatting: how to apply, change and remove

The tutorial explains how you can quickly apply or change table styles and remove table formatting keeping all features of an Excel table.

After you have created a table in Excel, what's the first thing you would like to do with it? Make it look exactly the way you want!

Luckily, Microsoft Excel provides a variety of predefined table styles that let you apply or change the table formatting in a click. If none of the built-in styles meets your needs, you can quickly create your own table style. In addition, you can show or hide the main table elements, such as header row, banded rows, total row, and so on. This tutorial will show you how to leverage these useful features and where to get started.

Excel table styles

Excel tables make it a lot easier to view and manage data by providing a handful of special features such as integrated filter and sort options, calculated columns, structured references, total row, etc.

By converting data to an Excel table, you also get a head start on the formatting. A newly inserted table comes already formatted with font and background colors, banded rows, borders, and so on. If you don't like the default table format, you can easily change it by selecting any of the inbuilt Table Styles on the Design tab.

The Design tab is the starting point to work with Excel table styles. It appears under the Table Tools contextual tab, as soon as you click any cell within a table.

Excel Tables Styles gallery

As you can see on the screenshot above, the Table Styles gallery provides a collection of 50+ inbuilt styles grouped into Light, Medium, and Dark categories.

You can think of an Excel table style as a formatting template that automatically applies certain formats to table rows and columns, headers and totals row.

Apart from table formatting, you can use the Table Style Options to format the following table elements:

  • Header row - display or hide the table headers.
  • Total row - add the totals row at the end of the table with a list of functions for each total row cell.
  • Banded rows and banded columns - show alternate row or column shading, respectively.
  • First column and last column - apply special formatting for the first and last column of the table.
  • Filter button - display or hide the filter arrows in the header row.

The following screenshot demonstrates the default Table Style options:
The default Table Style options

How to choose a table style when creating a table

To create a table formatted with a specific style, do the following:

  1. Select the range of cells that you want to convert to a table.
  2. On the Home tab, in the Styles group, click Format as Table.
    Choosing a table style when creating a table
  3. In the Table Styles gallery, click the style that you want to apply. Done!

How to change table style in Excel

To apply a different style to an existing table, perform these steps:

  1. Click any cell within the table whose style you want to change.
  2. On the Design tab, in the Table Styles group, click the More button  More button to show all available Excel Table styles.
  3. Hover your mouse over the style you want to apply, and Excel will show you a life preview. To apply the new style, just click on it.
Tip. If you have applied any formatting to the table manually, e.g. highlighed certain cells in bold or with a different font color, selecting another Excel style will keep the manually applied formats in place. To apply a new style and remove any existing formatting, right-click on the style, and then click Apply and Clear Formatting.
Apply a new table style and remove any existing formatting.

How to change the default table style in Excel

To set a new default table style for a given workbook, right-click that style in the Table Styles gallery and select Set As Default:
Changing the default table style in Excel

And now, whenever you click Table on the Insert tab or press the table shortcut Ctrl+T, a new table will be created with the selected default format.

How to create a custom table style

If you are not quite happy with any of the built-in Excel table styles, you can create your own table style in this way:

  1. On the Home tab, in the Styles group, click Format as Table. Or, select an existing table to display the Design tab, and click the More button More button.
  2. Underneath the predefined styles, click New Table Style.
  3. In the New Table Style window, type a name for your custom table style in the Name box.
    Give a name to your custom table style.
  4. Under Table Elements, select the element you want to format and click the Format button. The Format Cells dialog will open, and you select the desired formatting options on the Font, Border, and Fill tabs.

    To remove existing formatting, click the element, and then click the Clear button.

    Creating a custom table style

    Tips:

    • The formatted table elements are highlighted in bold in the Table Element box.
    • The formatting changes are shown in the Preview section on the right.
    • To use the newly created table style as the default style in the current workbook, select the Set as default table quick style for this document box.
  5. Click OK to save your custom table style.

As soon as a custom style is created, it is automatically added to the Table Styles gallery:
A custom style is added to the Table Styles gallery.

To modify a custom table style, go to the Table Styles gallery, right-click on the style, and click Modify…

To delete a custom table style, right-click on it, and select Delete.
Modify or delete a custom table style.

The built-in Excel table styles can neither be modified or deleted.

Tip. A custom table style is available only in the workbook where it is created.  If you want to use it in another workbook, the fastest way is to copy the table with the custom style to that workbook. You can delete the copied table later and the custom style will remain in the Table Styles gallery.

How to apply a table style without creating an Excel table

If you want to quickly format the worksheet data with any of the inbuilt Excel table styles, but you don't want to convert a regular range to an Excel table, you can use the following workaround:

  1. Select a range of cells to which you'd like to apply a table style.
  2. On the Home tab, in the Styles group, click Format as Table, and then click the desired table style.
  3. Select any cell within a newly created table, go to the Design tab > Tools group, and click Convert to Range.
    Applying a table style without creating an Excel table

    Or, right-click the table, point to Table, and click Convert to Range.
    Converting a table to a range

How to remove table formatting

If you want to keep all features of an Excel table and remove only the formatting such as banded rows, shading and borders, you can clear the table format in this way:

  1. Select any cell in the table.
  2. On the Design tab, in the Table Styles group, click the More button.
  3. Underneath the table style templates, click Clear.
    Removing table formatting
Tip. To remove a table but keep data and formatting, go to the Design tab Tools group, and click Convert to Range. Or, right-click anywhere within the table, and select Table > Convert to Range.

You may also be interested in:

29 Responses to "Excel table styles and formatting: how to apply, change and remove"

  1. Aanand Jha says:

    How To Insert If Condition On Time Format

  2. Asad says:

    Container Size
    State 20 40
    Sydney 520 730

    How to pick value with two condition i-e
    Sydney & 20 = 520 , Sydney & 40 = 430

    • Hello Asad,

      You can use nested If's with embedded AND statements, like this:

      =IF(AND(B1=20, A2="sydney"), 520, IF(AND(B1=40, A2="sydney"),430, ""))

      If you are looking for something different, please clarify.

  3. Sivakumar says:

    Hi Svetlana Cheusheva,

    I have nearly 200 employees log in in log out details with different shift timing. Everyday the employee will come to the work at different shift, how to find out that the employee has come to the duty at correct time or not by using ms excel. We have 3 shifts. Morning to afternoon, afternoon to night and night to morning. For instance, today an employee called A came in the morning shift at 6 am and then tomorrow coming in the afternoon 2 pm and then the following day coming at night 10 pm..I wanna find out, whether he came to the shift to correct time or not and how many hours he worked. Can you give some idea in this regard?

    • Kate says:

      Hello, just a thought, can you not give the poor employee a normal shift pattern? That might make it a lot easier for both of you!

  4. Diego says:

    Hi
    I have a question for you.
    I have a database and the phone cell is write like this (623)700-4388 but I need get simple form like this 6237004388. Do you know if I can change this the list is big.. and I do not want to do this manually.

  5. Stefan says:

    Hi,

    I've been searching with no luck, if there is a way in which a custom table style o custom pivot table style can become the default style for every other workbook created after that.

  6. lIOnel says:

    Hi,

    When the table comes from an external database (ie sql server in my case) , each update of the database turns off all my formattings.

    How to disable this (the same we can do in a pivot table)

  7. Nicozin says:

    Hi!!

    Whenever I import data from SQL server blue shaded table style if selected by default.
    I need some other style. Even if I set it as default, still every time data is imported the blue shaded table comes to effect.

    Please suggest.

  8. Sridhar says:

    Very helpful tips!!!

  9. Fraser says:

    I am using a table format. When I add a line under the table i.e. the next row, it automatically extends the table along with all formats. Unfortunately the table has the date formatted to US instead of the UK (the rest of the logical world, in fact!). How can I change the format of the auto-generated rows? I can only seem to format the table from a visual perspective and now the cells themselves. At the moment I extend the table and then change the time format manually. Please advise,

    Thanks.

  10. Nancy says:

    Worked a charm! Thank you.

  11. Diane says:

    How may I convert a TXT file into excel WITHOUT creating the table or query format. I do not want it formatted as a table or a query, jsut a simple conversion to excel 2016. Or how can I remove the query and table formatting features once converted. It does not allow you to sort the entire page and the queriesa re not helpful if you do not need a table

  12. haseebullah says:

    hi Svetlana Cheusheva
    please can you tell me about how to delete pivottable in ms excel functional
    thansk

    • shanu pandey says:

      Hello ! sir

      In the Excel window, click anywhere inside the PivotTable report.
      Under Pivot Table Tools, on the Options tab, in the Actions group, click Select, and then click Entire PivotTable.
      Press the Delete key.

  13. Merang says:

    Hello...
    I have two tables on same sheet (side by side) i.e. the rows of both the tables remains same. So when i filter the data of one table, the data on other near by table too changes which i don't expect it to do. Note that i don't want to place the tables one below another & want both tables on same sheet side by side.

    Hope there will be solution to it.....

    Thanks & Regards,
    Merang

  14. shanu pandey says:

    How types of data validation?

  15. maanu pandey says:

    hello!
    Mam,

    i want to know . how can i use index formula in multiple cell?

  16. shanu pandey says:

    how can i hide my formula in excel sheet .... nobody see the formula....

  17. Howard says:

    When printing a table, is there a way to double space the rows (without inserting blank rows or increasing the row height)? Thanks.

  18. zohaib says:

    Svetlana Cheusheva you are so sweet....

  19. AGWARA THADDAEUS ONYEKACHI says:

    You are the Best!

  20. Gautam Sangwan says:

    Please solve my query:

    I prepare a list of parked vehicles in the parking slot. On the daily basis how to check if a vehicle is parked continuously for more than one day?

    Pl help.

Post a comment



Unfortunately, due to the volume of comments received we cannot guarantee that we will be able to give you a timely response. When posting a question, please be very clear and concise. We thank you for understanding!
Excel add-ins and Outlook tools - Ablebits.com
33
Ultimate Suite 2018.5 for Excel
33
60+ tools for Excel
December offer: Dec. 8 – Dec. 17