Organize information in a document or presentation with a table. You can add and delete tables, and adjust the size and style of table rows and columns.
If you're using Google Docs on a computer, you can also:
- Sort rows
- Drag and move rows and columns
- Pin table header rows so they repeat at the top of each page
- Prevent information from overflowing across pages
Add a table
- On your computer, open a document or a slide in a presentation.
- Click Insert Table choose how many rows and columns you want to add.
- Tables can be as large as 20 x 20 cells.
- The table will be added to your document.
- On your computer, open a document or a slide in a presentation.
- Right-click a cell in a table.
- To add a row or column next to the selected cell, click:
- Insert column left
- Insert column right
- Insert row above
- Insert row below
- On your computer, open a document or a slide in a presentation.
- Right-click a cell in a table from the row or column you want to delete.
- From the menu, choose Delete column, Delete row, or Delete table.
- Point to the table’s corners until the Move Table is shown.
- Drag your table.
- Drop the table in the desired position.
- Right-click the table.
- Click Table properties Quick layouts.
- Select one of the layout options.
- Right-click the table.
- Click Table properties Table.
- Under “Style,” select Wrap text.
- Select an option:
- Change the amount of space between the table and wrapped text: Under “Margins from document text,” move the margin size.
- Keep the table in the same position with its wrapped text: Under “Position,” click Move with text.
- Keep the table in the same position on the page: Under “Position,” click Fix on page.
Style tables
You can resize rows and columns or sort table rows. You can also change the border style and background color of individual cells.
Resize a row or column
- On your computer, open a document or presentation.
- In your table, move your cursor over the gridline of a row or column.
- When your cursor becomes a two-sided arrow, click and drag until the row or column is the size you want.
Make all rows and columns the same size
- On your computer, open a document or presentation.
- Right-click a table.
- Click Distribute rows or Distribute columns.
Google Docs
- On your computer, open a document and select cells in a table.
- Go to Format Table Table properties.
- You can also right-click the table and select Table properties.
- Under "Column" or "Row," enter the width and height you want for all highlighted cells.
- Click Ok.
Google Slides
- On your computer, open a presentation and click a table.
- Move your mouse to any corner of the table.
- When your cursor becomes a two-sided arrow, click and drag in any direction.
- On your computer, open a document or presentation.
- Select the cells you want to change.
- In the toolbar, click the style you want to change:
- Border color
- Border width or Border weight
- Border dash
- Background color or Fill color
In Google Docs, you can also change a cell's vertical alignment and padding.
- On your computer, open a document and click on a table.
- Go to Format Table Table properties.
- You can also right-click the table and select Table properties.
- Under "Cell," you can select the vertical alignment and enter the cell padding.
- On your computer, open a document in Google Docs.
- Right-click on the table.
- Click Sort table.
- Select Sort table in ascending order or Sort table in descending order.
You can also quickly sort rows directly from the table controls:
- Hover in the top row of a table.
- Click Sort Table .
- Select Sort ascending or Sort descending.
Tip: To avoid sorting the header rows for your table, follow the instructions to pin header rows. Any rows that have been pinned will not be sorted.
Structure tables
You can move rows and columns or merge cells together. In Google Docs, if you have large tables that cross multiple pages, you can also pin header rows at the top of pages and prevent rows from overflowing.
You can combine cells together to create titles, add headers, or put information from several cells into one.
- On your computer, open a document or presentation.
- Click and drag to highlight the cells you want to merge.
- Right-click the cells.
- Click Merge cells.
To unmerge cells:
- Click and drag to highlight the cells you want to unmerge.
- Right-click the highlighted cells.
- Click Unmerge cells.
Split table cells in Google Docs
- On your computer, open a document.
- Right-click the cell.
- Click Split cell.
- Enter the number of rows and columns you want.
- Click Split.
Move a row
- On your computer, open a document in Google Docs.
- Hover in the left column of a table.
- Point your cursor over Drag until a hand appears.
- Click and drag the row up or down to its new location.
Move a column
- On your computer, open a document in Google Docs.
- Hover in the top row of a table.
- Point your cursor over Drag until a hand appears.
- Click and drag the column left or right to its new location.
If you have a long table, you can turn table rows into header rows that repeat at the top of each page. If you're on a document in pageless format, you can pin table rows to stay visible at the top of the window.
- On your computer, open a document in Google Docs.
- Click anywhere in your table.
- Go to Format Table Table properties.
- You can also right-click the table and select Table properties.
- Under "Row," check Pin header row(s) and specify the number of rows you want to pin.
- Click Okay to apply changes.
You can also quickly pin a number of rows directly from the table:
- On your computer, open a document in Google Docs.
- Right-click on the row you want to pin up to and select Pin header up to this row .
- You can also hover to the left of the row you want to pin up to and select Pin header up to this row .
Unpin rows
- Right-click any row in the table
- Select Unpin header rows .
If you have a large table that crosses multiple pages, you can choose whether you want information in a table row to split across a page break.
Important: This feature isn’t available in documents that are in pageless format. To use this feature, make sure your document is in pages format.
- Select the table row.
- Go to Format Table Table properties.
- You can also right-click the table and select Table properties.
- Under "Row," check/uncheck Allow row to overflow across pages.
- Click Okay to apply changes.
- On your computer, open a document and click on a table.
- Go to Format Table Table properties.
- You can also right-click the table and select Table properties.
- Under "Table," choose select Left, Center, or Right.