Formatting a table in Google Docs can greatly enhance the presentation of your data, making it easier to read and understand. Here's a step-by-step guide to help you create and style tables to suit your needs.

Before we dive into the formatting options, let's first insert a table into your document. Click on 'Insert' in the menu, then select 'Table'. Choose the number of rows and columns you need, and Google Docs will insert a basic table for you to start filling in.

Basic Table Formatting
Once you've inserted your table, you can start formatting it. To select the entire table, click on any cell, then drag your cursor over the cells you want to format. Right-clicking on the selected cells brings up a context menu with various formatting options.

Here, you can adjust the font, size, color, and style of the text within the selected cells. You can also merge or split cells, add or remove rows and columns, and apply background colors or shading to highlight specific data.
Borders and Shading

To add borders to your table, select the cells you want to outline, then click on the 'Border color' icon in the formatting toolbar that appears. Choose a color and style for your border. To add shading, select the cells you want to shade, then click on the 'Fill color' icon and choose a color.
You can also adjust the border and shading settings in the 'Table' menu. Here, you can choose from a variety of border styles and colors, and apply shading to entire rows or columns, rather than just individual cells.
Text Wrapping

By default, text in a table cell wraps to fit the size of the cell. However, you can change this behavior by right-clicking on the cell and selecting 'Wrap text'. This will make the text in the cell wrap around any images or other objects in the cell.
You can also adjust the text alignment within each cell. Select the cells you want to format, then use the alignment icons in the formatting toolbar to align the text to the left, center, or right of the cell.
Advanced Table Formatting

Google Docs offers a range of advanced formatting options to help you create tables that stand out. To access these options, select the table you want to format, then click on the 'Table' menu in the toolbar.
Here, you can add banded rows or columns to your table, which can help to separate and highlight different sections of your data. You can also add a header row or column, which will automatically apply a different background color and font style to the header cells.




















Table of Contents
If your table is particularly long, you can add a table of contents to help readers navigate it more easily. To do this, select the table, then click on 'Insert table of contents' in the 'Table' menu. This will insert a list of links to each section of your table at the beginning of your document.
You can customize the appearance of your table of contents by right-clicking on it and selecting 'Update table of contents'. This will open a dialog box where you can choose the font, size, and style of the table of contents.
Sorting and Filtering
Google Docs allows you to sort and filter the data in your table, making it easier to find and analyze specific information. To sort the data in a column, click on the column header, then drag it to the right to sort in ascending order, or to the left to sort in descending order.
To filter the data in a column, click on the filter icon that appears in the column header when you hover over it. This will open a dialog box where you can choose to filter the data by text, numbers, or dates. You can also choose to filter the data based on specific criteria, such as 'contains', 'does not contain', or 'is equal to'.
With these formatting options, you can create tables in Google Docs that are both functional and visually appealing. Whether you're creating a simple data table or a complex report, Google Docs has the tools you need to present your information clearly and effectively.