Add and rearrange table rows and columns

There are three types of rows and columns in a table:

If a table extends onto multiple pages, you can set the header rows so that they appear at the top of the table on each page.

Add and remove columns and rows

Click the table, then do any of the following:

Select rows and columns

  1. Click the table.

    A lettered bar appears above the columns and a numbered bar appears to the left of the rows.

  2. Do any of the following:

    • Select a single row or column: Click the bar for the row or column you want to select.

    • Select multiple rows or columns: Click the bar for a row or column, then drag a selection handle (a white dot) to encompass the rows or columns you want.

      Command-click row or column bars to select discontiguous rows or columns.

Move rows and columns within a table

Tip:  If you drag rows or columns outside of an existing table, you create a new table with them.

Resize rows and columns

You can change the width of specific columns and the height of specific rows in a table.

  1. Click the table.

  2. Do any of the following:

    • Manually resize: Move your pointer over the right edge of the lettered bar for the column you want to resize, or over the bottom of the numbered bar for the row, until you see , then drag to resize.

      To resize multiple columns or rows at a time, select them first. Move your pointer over the edge of the rightmost lettered bar or the bottommost numbered bar, then drag when you see . They are resized proportionally to each other. To resize them to be the same size, Option-drag.

    • Resize precisely: Click a cell in the row or column you want to change. In the Table pane of the Format inspector, click the disclosure triangle next to Row & Column Size, then use the arrows to specify the size you want.

      The entire row or column is resized. Selecting cells from more than one row or column resizes all of the rows or columns included in the selection.

    • Shrink a row or column to fit its contents: Control-click the row number or column letter, then choose Fit Height to Content or Fit Width to Content.

      You can also click Fit in the Table pane of the Format inspector, in the Row & Column Size section.

    • Make all rows the same height or columns the same width: Select the table, then choose Format > Table > Distribute Rows Evenly or Format > Table > Distribute Columns Evenly (from the Format menu at the top of your computer screen).

    • Make several rows the same height or several columns the same width: Select a row or column, then Command-click the other rows or columns. Choose Format > Table > Distribute Rows Evenly or Format > Table > Distribute Columns Evenly (from the Format menu at the top of your computer screen).

To resize all rows or columns in a table, select the table, then drag a selection handle (a white square).

Add and remove headers and footers

Adding header rows, header columns, and footer rows converts existing rows and columns into headers or footers. For example, if you have data in the first row of a table and you add a header row, the first row is converted to a header using the same data. Data in header cells isn’t included in charts or formulas.

  1. Click the table.

  2. In the Table pane of the Format inspector, choose the number of header rows, header columns, and footer rows you want from the Headers & Footer pop-up menus.

Repeat header rows on multiple pages

  1. Click the header row.

  2. Move the pointer over the row number on the left, then click the small arrow that appears.

  3. Choose Repeat Header Rows on Each Page.