Excel adding columns to a table

Resize a table by adding or removing rows and columns

Excel for Microsoft 365 Excel for the web Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 Excel 2007 More…Less

After you create an Excel table in your worksheet, you can easily add or remove table rows and columns.

You can use the Resize command in Excel to add rows and columns to a table:

  1. Click anywhere in the table, and the Table Tools option appears.

  2. Click Design > Resize Table.

    using the resize table option from the Table Tools

  3. Select the entire range of cells you want your table to include, starting with the upper-leftmost cell.

    In the example shown below, the original table covers the range A1:C5. After resizing to add two columns and three rows, the table will cover the range A1:E8.

    Resize Table

    Tip: You can also click Collapse Dialog Button image to temporarily hide the Resize Table dialog box, select the range on the worksheet, and then click Expand dialog Button image.

  4. When you’ve selected the range you want for your table, press OK.

Add a row or column to a table by typing in a cell just below the last row or to the right of the last column, by pasting data into a cell, or by inserting rows or columns between existing rows or columns.

Start typing   

  • To add a row at the bottom of the table, start typing in a cell below the last table row. The table expands to include the new row. To add a column to the right of the table, start typing in a cell next to the last table column.

In the example shown below for a row, typing a value in cell A4 expands the table to include that cell in the table along with the adjacent cell in column B.

Adding a row by typing in the first row below a table

In the example shown below for a column, typing a value in cell C2 expands the table to include column C, naming the table column Qtr 3 because Excel sensed a naming pattern from Qtr 1 and Qtr 2.

Typing a value in a cell to the right of the table adds a column

Paste data   

  • To add a row by pasting, paste your data in the leftmost cell below the last table row. To add a column by pasting, paste your data to the right of the table’s rightmost column.

If the data you paste in a new row has as many or fewer columns than the table, the table expands to include all the cells in the range you pasted. If the data you paste has more columns than the table, the extra columns don’t become part of the table—you need to use the Resize command to expand the table to include them.

In the example shown below for rows, pasting the values from A10:B12 in the first row below the table (row 5) expands the table to include the pasted data.

Pasting data below the table expands the table to include it

In the example shown below for columns, pasting the values from C7:C9 in the first column to right of the table (column C) expands the table to include the pasted data, adding a heading, Qtr 3.

Pasting column data expands the table and adds a heading

Use Insert to add a row   

  1. To insert a row, pick a cell or row that’s not the header row, and right-click. To insert a column, pick any cell in the table and right-click.

  2. Point to Insert, and pick Table Rows Above to insert a new row, or Table Columns to the Left to insert a new column.

If you’re in the last row, you can pick Table Rows Above or Table Rows Below.

In the example shown below for rows, a row will be inserted above row 3.

Insert Table Rows Above

For columns, if you have a cell selected in the table’s rightmost column, you can choose between inserting Table Columns to the Left or Table Columns to the Right.

In the example shown below for columns, a column will be inserted to the left of column 1.

Inserting a table column

  1. Select one or more table rows or table columns that you want to delete.

    You can also just select one or more cells in the table rows or table columns that you want to delete.

  2. On the Home tab, in the Cells group, click the arrow next to Delete, and then click Delete Table Rows or Delete Table Columns.

    The Cells group on the Home tab

    You can also right-click one or more rows or columns, point to Delete on the shortcut menu, and then click Table Columns or Table Rows. Or you can right-click one or more cells in a table row or table column, point to Delete, and then click Table Rows or Table Columns.

Just as you can remove duplicates from any selected data in Excel, you can easily remove duplicates from a table.

  1. Click anywhere in the table.

    This displays the Table Tools, adding the Design tab.

  2. On the Design tab, in the Tools group, click Remove Duplicates.

    Excel Ribbon Image

  3. In the Remove Duplicates dialog box, under Columns, select the columns that contain duplicates that you want to remove.

    You can also click Unselect All and then select the columns that you want or click Select All to select all of the columns.

Note: Duplicates that you remove are deleted from the worksheet. If you inadvertently delete data that you meant to keep, you can use Ctrl+Z or click Undo Undo button on the Quick Access Toolbar to restore the deleted data. You may also want to use conditional formats to highlight duplicate values before you remove them. For more information, see Add, change, or clear conditional formats.

  1. Make sure that the active cell is in a table column.

  2. Click the arrow Filter drop-down arrow in the column header.

  3. To filter for blanks, in the AutoFilter menu at the top of the list of values, clear (Select All), and then at the bottom of the list of values, select (Blanks).

    Note: The (Blanks) check box is available only if the range of cells or table column contains at least one blank cell.

  4. Select the blank rows in the table, and then press CTRL+- (hyphen).

You can use a similar procedure for filtering and removing blank worksheet rows. For more information about how to filter for blank rows in a worksheet, see Filter data in a range or table.

  1. Select the table, then select Table Design > Resize Table.

  2. Adjust the range of cells the table contains as needed, then select OK.

    Resize Table dialog

Important: Table headers can’t move to a different row, and the new range must overlap the original range.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

See Also

How can I merge two or more tables?

Create an Excel table in a worksheet

Use structured references in Excel table formulas

Format an Excel table

Need more help?

Insert or delete rows and columns

Insert and delete rows and columns to organize your worksheet better.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

Note: Microsoft Excel has the following column and row limits: 16,384 columns wide by 1,048,576 rows tall.

Insert or delete a column

  1. Select any cell within the column, then go to Home > Insert > Insert Sheet Columns or Delete Sheet Columns.

  2. Alternatively, right-click the top of the column, and then select Insert or Delete

Insert or delete a row

  1. Select any cell within the row, then go to Home > Insert > Insert Sheet Rows or Delete Sheet Rows.

  2. Alternatively, right-click the row number, and then select Insert or Delete.

Formatting options

When you select a row or column that has formatting applied, that formatting will be transferred to a new row or column that you insert. If you don’t want the formatting to be applied, you can select the Insert Options button after you insert, and choose from one of the options as follows:

Image of the Insert Options button that's displayed after inserting rows or columns.

If the Insert Options button isn’t visible, then go to File > Options > Advanced > in the Cut, copy and paste group, check the Show Insert Options buttons option.

Insert rows

To insert a single row: Right-click the whole row above which you want to insert the new row, and then select Insert Rows.

To insert multiple rows: Select the same number of rows above which you want to add new ones. Right-click the selection, and then select Insert Rows.

Insert columns

To insert a single column: Right-click the whole column to the right of where you want to add the new column, and then select Insert Columns.

To insert multiple columns: Select the same number of columns to the right of where you want to add new ones. Right-click the selection, and then select Insert Columns.

Delete cells, rows, or columns

If you don’t need any of the existing cells, rows or columns, here’s how to delete them:

  1. Select the cells, rows, or columns that you want to delete.

  2. Right-click, and then select the appropriate delete option, for example, Delete Cells & Shift UpDelete Cells & Shift Left, Delete Rows, or Delete Columns

When you delete rows or columns, other rows or columns automatically shift up or to the left.

Tip: If you change your mind right after you deleted a cell, row, or column, just press Ctrl+Z to restore it.

Insert cells

To insert a single cell:

  1. Right-click the cell above which you want to insert a new cell.

  2. Select Insert, and then select Cells & Shift Down.

To insert multiple cells:

  1. Select the same number of cells above which you want to add the new ones.

  2. Right-click the selection, and then select Insert > Cells & Shift Down.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

See Also

Basic tasks in Excel

Overview of formulas in Excel

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

See all How-To Articles

This tutorial demonstrates how to extend a table by adding a column in Excel.

table insert columns 2

When working with tables in Excel, you can resize them by using Resize Table in the Table Design tab or by simply inserting a column.

Add Column in Table Design

Say you have the data table shown below with columns for SKU, Product, Month, and Sales Amount.

table initial data

If you want to add Price and Total Sales to the table, you’ll need to add two columns to the right.

  1. First, select the table by clicking on any cell in it. Then, in the Ribbon, go to the Table Design tab. In the Properties group, click Resize Table.

table design resize table

  1. In the pop-up screen, change the range for the table and click OK.
    Since you want to add two more columns to the right, expand the range for Columns F and G, and the new range is B2:G16. As you can see, when you enter a new range, the dashed line shows the table size.

table design resize table 2

As a result, the table has two new columns (F and G) named Column1 and Column2.

table insert columns

  1. Finally, rename the columns. To rename Column1, enter Price in cell F2; and to rename Column2, enter Total Sales in G2.

table insert columns 2

Now you’ve resized the table and added the columns Price and Total Sales.

Insert Column

Another way to extend a table is to simply insert a new column.

  1. Right-click the Sales Amount column, then go to Insert, and click on Table Column to the Right.

insert column to the right

As a result, a new column (named Column1) is inserted to the right of the selected column (Sales Amount).

insert column to the right 2

  1. Then add one more column to the right in the same way.
  2. If you rename these two columns Price and Total Sales, you arrive at the same result as with Resize Table.

table insert columns 2

Add a Column in Excel

Excel Add Column (Table of Contents)

  • Add Column in Excel
  • How to Add Column in Excel?
  • How to Modify a Column Width?

Add Column in Excel

Excel allows a user to add columns, whether left or right, of the column in the worksheet, which is called Add Column in Excel. Of course, there is more than one way to accomplish a task, as in all Microsoft programs. These instructions cover how rows and columns can be added and modified in an Excel worksheet using a keyboard shortcut and using the context menu with the right-click.

How to Add Column in Excel?

Adding a column in Excel is very easy and convenient whenever we want to add data to the table. There are different Methods to Insert or add Column which is as follows:

  • Manually we can do this by just right-clicking on the selected column> then click on the insert button.
  • Use Shift + Ctrl + + shortcut to add a new column in the Excel.
  • Home tab >> click on Insert >> Select Insert Sheet Columns.
  • We can add N number of columns in the Excel sheet; a user needs to select that many columns which number of columns he wants to insert.

Let’s understand How to Add Column in Excel with a few examples.

Example #1

A user has a standalone book data of sales, income, PBDIT, and Profit details of each quarter of Maruti Suzuki India Pvt Ltd in sheet1.

You can download this Add a Column Excel Template here – Add a Column Excel Template

Step 1: Select the column where a user wants to add the column in the excel worksheet (The new column will be inserted to the left of the selected column, so select accordingly)

Step 2: A user has selected the D column where he wants to insert the new column.

insert the new column

Step 3: Now Right-click and select Insert button or use shortcut Shift + Ctrl + +

Example 1-2

Or

Shortcut Key

As we can see, as it was required to insert a new column between C and D column, in the above example, we have added a new column. So, as a result, it will move the D column data to the next column, which is E, and it will take the place of D.

Example 1-4 

Example #2

Let’s take the same data to analyze this example. A user wants to insert three columns left of the B column.

Step 1: Select B, C, and D columns where a user wants to insert new 3 columns in the worksheet (The new column is inserted to the left of the selected column, so select accordingly)

Step 2: A user has selected the B, C, and D columns where he wants to insert a new column

Example 2-1

Step 3: Now Right-click and select Insert button or use shortcut Shift + Ctrl + +

Insert Button

Or

Shortcut Key

As we can see, as it was required to insert a new column left of the B, C, and D column, we added a new column in the above example. As a result, it will move B, C, and D column data to the next column, which are E, F, and G; it will take the place of the B, C, and D column.

Added New Column

Example #3

Step 1: Go to Worksheet >> Select the column’s heading where a user wants to insert a new column.

Step 2: Click on the Insert button.

Step 3: One drop-down will be open; click on the Insert Sheet Columns.

Insert Sheet Column

As the user wants to use the Insert toolbar to insert a new column, as in the above example, it added.

New Column

Example #4

The user can insert a new column in any version of Excel; in the above examples, we can see that we had selected one or more columns in the worksheet then >Right click on the selected column> then clicked on the Insert button.

To add a new column in the excel worksheet.

Click in a cell to the left or right of where you want to add a column. If the user wants to add a column to the left of the cell, then follow the below process:

  • Click on Table Columns to the Left from the Insert option.

Table Column to the Left

And if a user wants to insert the column to the right of the cell, then follow the below process:

  • Click on Table Columns to the Right from the Insert option.

Table Columns to the Right

How to Modify a Column Width?

A user can modify the width of any column. Let’s take an example as some of the content in column A cannot be displayed. We can make all this content visible by changing the width of column A.

Step 1: Position the mouse over the column line in the column heading to the Black Cross. (As shown below)

Step 2: Click, hold and drag the mouse to increase or decrease the column width.

Step 3: Release the mouse. The column width will be changed.

 Column Width 1

A user can auto fit the width of the column. The AutoFit feature will allow you to set a column’s width to fit its content automatically.

Step1: Position the mouse over the column line in the column heading to the Black Cross.

Step2: Double-click the mouse. The column width will be changed automatically to fit the content.

Column Width 2

Things to Remember About Add a Column in Excel

  • The user needs to select that column where the user wants to insert the new column.
  • By default, every row and column have the same height and width, but a user can modify the width of the column and the height of the row.
  • The user can insert multiple columns at a time.
  • You can also AutoFit the width for several columns at the same time. Simply select the columns you want to AutoFit, and then select the AutoFit Column Width command from the Format drop-down menu on the Home. This method can also be used for row height.
  • All the rules will also be applied for rows, as applied to column insertion.
  • Excel allows the user to wrap text and merging cells.
  • For deleting also, we can go to Home Tab >> Delete >> Delete Sheet Columns; either we can select the column which we want to delete or >> Right Click >> click on Delete.
  • After adding the insert column, all the data will be shifted to the right side after that column.

Recommended Articles

This is a guide to add a column in excel. Here we have discussed How to Add a column in excel by using different methods and How to modify a column in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –

  1. COLUMNS Formula in Excel
  2. Switching Columns in Excel
  3. Excel COLUMN to Number
  4. Freeze Columns in Excel

Adding a column in Excel means inserting a new column to the existing dataset. Besides inserting, one may need to delete, hide, unhide, and move rows or columns. Such modifications help in structuring and organizing the dataset. As a result, it is essential to be aware of the techniques related to these alterations.

For example, while preparing a consolidated balance sheet, Mr. X realizes that the data related to the previous year is missing. To include this data, he wants to insert a new column. Here, the method of inserting a column comes into use.

Excel provides different ways of performing actions on a dataset. This article discusses the most appropriate and effective methods of working with data. It covers the following aspects: –

  1. Insert Excel columns (alternate methods and shortcuts)
  2. Delete columns and rows
  3. Hide and unhide rows or columns
  4. Move rows or columns

Apart from inserting columns in Excel, the remaining topics have been covered in brief.

Table of contents
  • How to Add/Insert Columns in Excel?
    • Example #1–Add Columns in Excel
    • Example #2–Alternate Method to Insert Rows and Columns in Excel
    • Example #3–Hide and Unhide Columns & Rows in Excel
    • Example #4–Move Rows or Columns in Excel
  • Shortcuts to Insert Columns in Excel
  • Frequently Asked Questions
  • Recommended Articles

Insert-Columns-in-Excel-1

How to Add/Insert Columns in Excel?

Below are some examples through which you may learn how to add and insert columns in Excel.

Example #1–Add Columns in Excel

The following table shows the first and the last names in columns A and B, respectively. We want to insert a new column (column B) between these names, which will display the middle name.

Insert Columns Example 1

The steps to insert a new column (column B) between two existing columns (columns A and B) are listed as follows:

Step 1: Select any cell of column B. Alternatively, one can also select column B, as shown in the following image. Further, click the “Insert” drop-down from the “Home” tab of the Excel ribbonThe ribbon is an element of the UI (User Interface) which is seen as a strip that consists of buttons or tabs; it is available at the top of the excel sheet. This option was first introduced in the Microsoft Excel 2007.read more. Finally, select “Insert Sheet Columns.”

Note: To select a column, click its label or header on top.

Insert Columns Example 1-1

Step 2: A new column (column B) is inserted between the columns containing the first and the last names. As a result, the data (last name) of the previous column B (shown in step 1) now shifts to column C.

Note: Excel inserts a column immediately preceding the column of the selected cell. Hence, one must always choose a cell accordingly. If a column is selected, Excel inserts a column preceding it.

Insert Columns Example 1-2

Example #2–Alternate Method to Insert Rows and Columns in Excel

Working on the data of example #1, we need to insert a middle name column using the following methods:

a) Select and right-click a cell

b) Select and right-click a column

a) The steps for inserting a column after selecting and right-clicking a cell are listed as follows:

Step 1: Select any cell of column B. This is because a column preceding column B is to be inserted. Right-click the selection and choose “insert,” as shown in the following image.

Insert Columns Example 2

Step 2: The “Insert” dialog box appears. Select “Entire column” to insert a new column.

Note: For inserting a new row, select “Entire row.”

Insert Columns Example 2-1

Step 3: A new column (column B) for typing middle names has been inserted.

Insert Columns Example 2-2

b) The steps for inserting a column after selecting and right-clicking a column are listed as follows:

Step 1: Select the entire column B. That is because a column preceding column B is to be inserted. Right-click the selection and choose “Insert,” as shown in the following image.

Insert Columns Example 2-6

Step 2: A new column B is inserted. The same has been shown under step 3 of method a.

Note: Select the entire row preceding which a new row is inserted for inserting rows. Right-click the selection and choose “Insert.” The same is shown in the following image.

Insert Columns Example 2-7

Example #3–Hide and Unhide Columns & Rows in Excel

Working on the data of example #1, we want to perform the following tasks:

a) Hide columns A and B or rows 3 and 4 by right-clicking

b) Hide column A by using the “format” drop-down

c) Unhide columns B and C by right-clicking

a) The steps to hide the columns A and B or rows 3 and 4 by right-clicking are listed as follows:

Step 1: Select columns A and B. Right-click the selection and choose “hide,” as shown in the next image.

Note 1: To select a row or column, click the row number (to the left) or the column label (on top).

Note 2: Multiple adjacent rows or columns can be selected by dragging across the row and column headings. Alternatively, hold the “Shift” key while selecting the rows or columns.

Note 3: We can select non-adjacent rows or columns by holding the “Ctrl” key while making the selections.

Add Columns Example 3

Step 2: Columns A and B will be hidden. Likewise, select rows 3 and 4. Right-click the selection and choose the “Hide” option from the context menu. The same is shown in the following image.

Add Columns Example 3-1

It will hide rows 3 and 4.

b) The steps to hide column A by using the “format” drop-down are listed as follows:

Step 1: Select any cell of column A. Click the “Format” drop-down under the “Home” tab of the Excel ribbon. Next, select “Hide Columns” under the “Hide & Unhide” option.

The same is shown in the following image.

Note: Alternatively, select the relevant column to be hidden. Click “Hide columns” under the “Hide & Unhide” option.

Add Columns Example 3-2

Step 2: We will hide the column of the selected cell, column A. Likewise, to hide rows, select the relevant row. Then, choose “Hide Rows” from the “Hide & Unhide” option of the “Format” drop-down.

c) The steps to unhide columns B and C by right-clicking are listed as follows:

Step 1: Select the unhidden columns (A and D) immediately before and after the hidden columns (B and C). Right-click the selection and choose “Unhide.”

Add Columns Example 3-3

Step 2: The columns B and C will be unhidden. The dataset appears as shown in step 1 of task b.

Likewise, unhide rows by selecting the “Unhide rows” (immediately before and after the hidden rows) and clicking “Unhide” from the context menu.

Example #4–Move Rows or Columns in Excel

Working on the data of example #1, we want to move column B (last name) to precede column A (first name).

The steps to move column B are listed as follows:

Step 1: Select column B, which is to be moved. Cut it in either of the following ways:

  • Press “Ctrl+X.”
  • Click the scissors icon from the “Clipboard” group of the “Home” tab.

Move Example 4

Step 2: Select column A, where the data of column B is to be pasted. Right-click the selection and choose “Insert Cut Cells.”

Move Example 4-1

Alternatively, select “Insert Cut Cells” from the “Insert” drop-down of the “Home” tab. The same is shown in the following image.

Note: The “Insert Cut Cells” option will be visible once the selected cells have been cut.

Move Example 4-2

Step 3: The data of column B is pasted into column A. Hence, the first column (column A) now contains the last names. The data of the initial column A (first name) automatically shifts to column B.

The same is shown in the following image.

Note: A row can be selected, cut, and pasted to the desired location. Select the “Insert Cut Cells” option from the “Insert” drop-down of the “Home” tab for pasting.

Move Example 4-3

Shortcuts to Insert Columns in Excel

Let us go through the two shortcuts for inserting columns and rows.

a) Shortcut for inserting with the “Insert” drop-down of the “Home” tab

The excel shortcutAn Excel shortcut is a technique of performing a manual task in a quicker way.read more for inserting a row or column with the “Insert” drop-down works as follows:

  • Select a cell preceding which a row or column is inserted.
  • Click the “Insert” drop-down from the “Cells” group of the “Home” tab.
  • Press “R” to insert a row or “C” to insert a column

A new row or column is inserted depending on the third pointer’s key.

Note: Under the “Insert” drop-down, the “R” of “insert sheet rows” and the “C” of “insert sheet columns” are underlined. Hence, these keys work as shortcuts for inserting rows and columns.

b) Shortcut for inserting with right-click

  1. The shortcut for inserting a row or column with right-click works as follows:
  2. Select a cell preceding which a row or column is inserted.
  3. Right-click the selection and press “I.” The “Insert” dialog box opens.
  4. Press “R” to insert a row or “C” to insert a column.
  5. Press the “Enter” key.

A new row or column is inserted depending on the third pointer’s key.

Note: If the “Insert” dialog box does not open in step 2, press the “Enter” key after pressing “I.” It opens the “Insert” dialog box.

Frequently Asked Questions

1. What does it mean to insert a column? How is it done in Excel?

Inserting a column refers to adding a new column to an existing dataset. This new column may contain additional data that can be important for the end-user.

Additionally, there is a possibility that a column has been omitted by mistake. In such cases, inserting a column will be helpful.

The steps to insert a column in Excel are listed as follows:

a. Select the column preceding which a new column is to be inserted.
b. Right-click the selection and choose “Insert” from the context menu.

It will insert the new column immediately before the selected column.

Note: To select a column, click its header (label) on top.

2. How to insert a column in Excel by using a shortcut?

Let us insert a new column E in Excel. The steps to insert a column (column E) by using a shortcut are listed as follows:

a. Select the existing column E.
b. Press the keys “Ctrl+Shift+plus sign(+)” together to insert a column.

It will insert the new column E. The data of the initial column E now shifts to column F.

Note 1: One must select a column carefully. That is because Excel inserts a column preceding the selected column.

Note 2: As an alternative to step a, one can select any cell of column E. After that, press “Ctrl+space” to select the entire column E.

3. How to insert multiple adjacent columns in Excel?

Let us insert columns D, E, and F in Excel. The steps to insert multiple columns (D, E, and F) are listed as follows:

a. Select as many columns in the existing dataset as the number of the new columns to be inserted. So, select the current columns D, E, and F.
b. Press the keys “Ctrl+Shift+plus sign(+)” together.

It will insert the blank columns D, E, and F. The initial columns D, E, and F data shift to columns G, H, and I.

Note 1: Alternative to step a: select adjacent cells of columns D, E, and F. These cells should be in one row. Further, press “Ctrl+space.” As a result, columns D, E, and F will be selected.

Note 2: To select multiple adjacent columns (in step a), drag across the column headings. Alternatively, hold the “Shift” key while selecting the columns.

Note 3: Alternative to step b: right-click the selection and choose “Insert.”

Recommended Articles

This article is a guide to Add Columns in Excel. We also discuss inserting, hiding, and moving rows and columns in Excel and practical examples. You may learn more about Excel from the following articles: –

  • Compare Two Columns in Excel for Matches
  • 3 Ways to Show Excel Negative Numbers
  • Rows vs. Columns
  • Move Columns in Excel

Понравилась статья? Поделить с друзьями:
  • Excel addin in vba
  • Excel add to table vba
  • Excel add text to number
  • Excel add on one month to a date
  • Excel add sheet with name