How to add a column in Excel on Mac

Add or remove rows and columns in Numbers on Mac

You can add, delete, and rearrange rows and columns in a table. There are three types of rows and columns:

  • Body rows and columns contain the table data.

  • Header rows and columns (if any) appear at the top and left side of the table. They usually have a different background color from the body rows, and theyre typically used to identify what the row or column contains. Data in header cells isnt used in calculations, but the text in a header cell can be used in formulas to refer to the entire row or column. A table can have up to five header rows and five header columns.

    You can freeze (or lock) header rows and columns so that theyre always visible when you scroll the spreadsheet.

  • Footer rows (if any) appear at the bottom of a table. A table can have up to five footer rows.

A table showing header, body, and footer rows and columns, and handles for adding or deleting rows or columns.

Add or remove rows and columns

  1. Click the table.

  2. Do any of the following:

    • Add or delete a row or column at the edge of the table: Click the Add Row button in the bottom-left corner of the table to add a row, or drag it to add or delete multiple rows. Click the Add Column button in the top-right corner of the table to add a column, or drag it to add or delete multiple columns. You can delete a row or column only if all of its cells are empty.

    • Add or delete both rows and columns at the edge of the table: Drag the Add or Remove Rows and Columns button in the bottom-right corner of the table to add or delete both rows and columns. You can delete rows and columns only if their cells are empty. To delete rows and columns that have data, Option-drag the Add or Remove Rows and Columns button.

    • Insert or delete a row or column within the table: Move the pointer over a row number or column letter, click the arrow, then choose an option from the shortcut menu.

      The table column menu with commands for adding or deleting rows and columns.
    • Insert multiple rows or columns at once: Anywhere in the table, select a number of rows or columns equal to the number of rows or columns you want to insert. Click the arrow next to one of the selected row numbers or column letters, then choose Add Rows Above or Add Rows Below (or Add Columns Before or Add Columns After).

    • Delete multiple rows or columns at once: Command-click the rows or columns, click the arrow, then choose Delete Selected Rows or Delete Selected Columns.

Add, remove, or freeze header rows and columns

Adding header rows, header columns, or 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 row that contains the same data.

You can freeze header rows or columns so theyre always visible as you scroll the spreadsheet.

  1. Click the table.

  2. In the Format sidebar, click the Table tab, then do any of the following:

    • Add or delete headers and footers: Click the Headers & Footer pop-up menus in the sidebar and choose a number. To remove all headers or footers, set the number to 0 (zero).

    • Freeze header rows and columns: Click the pop-up menus below Headers & Footer, then choose Freeze Header Rows or Freeze Header Columns. To unfreeze, deselect Freeze Header Rows or Freeze Header Columns so that the checkmark disappears.

      The pop-up menus for adding header and footer columns and rows to a table and for freezing header rows and columns.

To learn how to show table headers on every page of a printed spreadsheet, see Print a spreadsheet in Numbers on Mac.

Hide or show rows and columns

Hiding rows or columns is useful if, for example, you need to use their data for formulas, but you dont want the data to be visible.

Note: You cant hide rows or columns in a pivot table, but you can use filters if you want to show only certain data in the pivot table. See Filter data in Numbers on Mac

  1. Select the rows or columns you want to hide.

  2. Move the pointer over a row number or column letter, then click the down arrow that appears and choose Hide Selected Rows or Hide Selected Columns.

    A gray bar appears between the column letters or row numbers to show where columns and rows are hidden.

    Note: If the rows or columns you select contain merged cells, you may not be able to hide those rows or columns. For example, if you merge two cells in one row, you can hide the row that contains the merged cells, but you cant hide columns that include the merged cells.

    A thick gray bar that shows the location of hidden rows and columns

To show hidden rows or columns, select a row or column adjacent to the hidden ones. Move the pointer over the row number or column letter, click the down arrow, then choose an Unhide option.

To unhide all rows or columns, click the table, then choose Table > Unhide All Rows or Unhide All Columns (from the Table menu at the top of your screen).

Copy a table to another Numbers file or app

You can copy an entire table, or a selection of rows, columns, or cells, to a different Numbers spreadsheet, or to another app.

  1. Select the table, cells, rows, or columns you want to copy.

  2. Do any of the following:

    • Drag the selection to another Numbers file: Click and hold the selection until it appears to lift, then drag the selection to another Numbers window. You can drag it to an existing table, or to a blank space on the sheet, which creates a new table.

    • Drag the selection to another app: Click and hold the selection until it appears to lift, then drag it to an open note, email message, Keynote presentation, or Pages document.

Video

Advertising