Add and rearrange rows and columns

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

Add and remove columns or rows

Click the table, then do any of the following:

Select rows and columns

  1. Click the table.

    Lettered bars appear above the columns and numbered bars appear to the left of the rows.

  2. Do one 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

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

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 to 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 Resize column handle, then drag to resize.

      Multiple columns and rows are resize proportionally to each other. To resize the rows or columns to be the same size, select them first 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 column or row 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 or remove header rows and columns

Adding header rows, header columns, and footer rows converts existing rows or 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 or header columns you want from the Headers & Footers pop-up menus.