How to Add, Edit, Sort, and Split a Table in Google Docs

Online Tech Tips is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

By using a table in Google Docs, you can structure document details to provide readers with an easier way to access and understand the information you’re presenting. Rather than formatting lists or paragraphs, you can enter your data into a grid format for a neat and clean appearance.

In this guide, we’ll show you how to insert a table and adjust its properties as well as how to edit a table in Google Docs, sort the table data, and remove a table you no longer want.

Table of Contents
    How to Add, Edit, Sort, and Split a Table in Google Docs image - Laptop computer displaying logo of Google Docs

    Insert a Table in Google Docs

    You can add a table to Google Docs by simply selecting the number of rows and columns you want.

    1. Place your cursor in the spot where you want the table.
    2. Select Insert > Table from the menu.
    3. In the pop-out box, choose the size for the table. Use your cursor to pick the number of columns and rows and keep in mind that you can also adjust this later.

    Note: You can also select Table templates and pick a premade option if you prefer.

    Insert a Table in Google Docs image - how-to-add-edit-sort-and-split-a-table-in-google-docs-1-compressed

    You’ll then see your table in the location you selected and can start entering your text into the table cells.

    Insert a Table in Google Docs image 2 - how-to-add-edit-sort-and-split-a-table-in-google-docs-2-compressed

    Set the Table Properties

    You may want to make some changes to the appearance of your table before adding data to it or after. You can adjust row, column, alignment, and color properties for a Google Docs table.

    Right-click the table and pick Table properties in the shortcut menu.

    Set the Table Properties image - how-to-add-edit-sort-and-split-a-table-in-google-docs-3-compressed

    When the sidebar opens on the right, expand the section for the item you want to adjust.

    • Row: Set a minimum row height, choose or change the header row, and allow rows to overflow across pages.
    • Column: Adjust the width for all columns.
    • Alignment: Choose the cell vertical alignment, table horizontal alignment, set the indent measurement, and adjust the cell padding.
    • Color: Add or remove a table border, change the border width, select a border color, and pick a background color for a cell.
    Set the Table Properties image 2 - how-to-add-edit-sort-and-split-a-table-in-google-docs-4-compressed

    You’ll see any changes you make to your table in real-time. When you finish, use the X on the top right to close the sidebar.

    Add or Remove a Column or Row

    You have a few ways to add and remove both columns and rows from your table in Google Docs.

    To quickly add a column or row, hover your cursor over the table to display the small toolbar. You’ll see a toolbar for each column and row. Select the plus sign to add a column to the right or row below.

    Add or Remove a Column or Row image - how-to-add-edit-sort-and-split-a-table-in-google-docs-5-compressed

    To add a column to the left or row above, right-click a cell in the column or row. Then, choose an Insert option from the shortcut menu.

    Add or Remove a Column or Row image 2 - how-to-add-edit-sort-and-split-a-table-in-google-docs-6-compressed

    To remove a column or row, right-click a cell in it and choose Delete row or Delete column from the shortcut menu.

    Add or Remove a Column or Row image 3 - how-to-add-edit-sort-and-split-a-table-in-google-docs-7-compressed

    Pin a Header Row in a Table

    If you create a table with a header row, you can pin it to the top to keep it in place. This is helpful when rearranging rows or sorting the table as we’ll discuss below.

    Hover your cursor over the row to display the small toolbar and select the pin icon.

    Pin a Header Row in a Table image - how-to-add-edit-sort-and-split-a-table-in-google-docs-8-compressed

    Alternatively, right-click the row and pick Pin header row.

    Pin a Header Row in a Table image 2 - how-to-add-edit-sort-and-split-a-table-in-google-docs-9-compressed

    To remove a pinned header row, choose the pin icon in the toolbar which has a line through it after you pin a row or right-click and pick Unpin header row.

    Pin a Header Row in a Table image 3 - how-to-add-edit-sort-and-split-a-table-in-google-docs-10-compressed

    Rearrange Columns or Rows

    With the flexible features for tables in Google Docs, you don’t have to cut and paste to rearrange rows or columns. Just use the toolbar.

    Hover your cursor over a column or row to display the small toolbar. Select the grid icon on the left side of the toolbar and then drag the column left or right or the row up or down.

    Rearrange Columns or Rows image - how-to-add-edit-sort-and-split-a-table-in-google-docs-11-compressed

    Sort a Table in Google Docs

    You may want to display your table in alphabetical or numerical order. You can do so by the column of your choice one of two ways.

    Hover your cursor over the column and select the filter icon in the toolbar. Then, pick Sort ascending or Sort descending.

    Sort a Table in Google Docs image - how-to-add-edit-sort-and-split-a-table-in-google-docs-12-compressed

    You can also right-click the column, move to Sort table, and pick Sort ascending or Sort descending in the pop-out menu.

    Sort a Table in Google Docs image 2 - how-to-add-edit-sort-and-split-a-table-in-google-docs-13-compressed

    Merge Cells in a Table

    You may want to combine two cells into a single cell that spans several columns or rows. You can merge two or more cells in your table in a few simple steps.

    1. Select the cells you want to merge by dragging your cursor through them. You can merge horizontal cells, vertical cells, or a block of cells. Just remember, you can only merge adjacent cells.
    Merge Cells in a Table image - how-to-add-edit-sort-and-split-a-table-in-google-docs-14-compressed
    1. Right-click the selected cells and pick Merge cells in the shortcut menu.
    Merge Cells in a Table image 2 - how-to-add-edit-sort-and-split-a-table-in-google-docs-15-compressed
    1. You’ll then see your merged cells as a single cell.
    Merge Cells in a Table image 3 - how-to-add-edit-sort-and-split-a-table-in-google-docs-16-compressed

    If you decide to unmerge these same cells later, right-click the merged cell and choose Unmerge cells.

    Merge Cells in a Table image 4 - how-to-add-edit-sort-and-split-a-table-in-google-docs-17-compressed

    Split Cells in a Table

    You can also do the opposite in a table and split cells rather than merge them. This is one of the new features that Google added to Docs in October 2022.

    1. Right-click the cell you want to split and choose Split cell in the shortcut menu.
    Split Cells in a Table image - how-to-add-edit-sort-and-split-a-table-in-google-docs-18-compressed
    1. In the pop-up window, enter the number of columns or rows you want to split the cell into. You can also use the arrows to move up and down in small increments.
    2. Select Split.
    Split Cells in a Table image 2 - how-to-add-edit-sort-and-split-a-table-in-google-docs-19-compressed
    1. You’ll then see your cell transform into more than one cell.
    Split Cells in a Table image 3 - how-to-add-edit-sort-and-split-a-table-in-google-docs-20-compressed

    If you want to unsplit cells, you can select them and use the Merge cells feature described above.

    Delete a Table in Google Docs

    Should you decide later that you no longer want a table in your document, removing it is easy.

    Right-click the table and choose Delete table from the shortcut menu. Keep in mind that this removes the data in the table as well.

    Delete a Table in Google Docs image - how-to-add-edit-sort-and-split-a-table-in-google-docs-21-compressed

    Tables are useful tools for giving your document a structured appearance. If you’d like another helpful way to use them, take a look at how to make a fillable form with tables in Google Docs.