How to add all in excel column

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?

Содержание

  1. Insert or delete rows, and columns
  2. Insert or delete a column
  3. Insert or delete a row
  4. Formatting options
  5. Insert rows
  6. Insert columns
  7. Delete cells, rows, or columns
  8. Insert cells
  9. Need more help?
  10. Resize a table by adding or removing rows and columns
  11. Need more help?
  12. Excel Add a Column
  13. Add Column in Excel
  14. How to Add Column in Excel?
  15. Example #1
  16. Example #2
  17. Example #3
  18. Example #4
  19. How to Modify a Column Width?
  20. Things to Remember About Add a Column in Excel
  21. Recommended Articles

Insert or delete rows, and columns

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

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

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

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

Insert or delete a row

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

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:

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:

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

Right-click, and then select the appropriate delete option, for example, Delete Cells & Shift Up, Delete 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:

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

Select Insert, and then select Cells & Shift Down.

To insert multiple cells:

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

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.

Источник

Resize a table by adding or removing rows and columns

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:

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

Click Design > Resize Table.

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.

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

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.

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.

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.

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.

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.

Use Insert to add a row

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.

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.

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.

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.

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

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.

Click anywhere in the table.

This displays the Table Tools, adding the Design tab.

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

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 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.

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

Click the arrow in the column header.

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.

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.

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

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

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.

Источник

Excel Add a Column

Excel Add Column (Table of Contents)

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.

Excel functions, formula, charts, formatting creating excel dashboard & others

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.

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.

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

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 #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

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

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.

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.

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

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.

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.

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.

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.

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 –

Источник


Download Article

Add values for an entire column or range


Download Article

  • Using AutoSum for One Column
  • |

  • Using SUM for One Column
  • |

  • Using SUM for Multiple Columns
  • |

  • Using SUMIF
  • |

  • Using the Status Bar
  • |

  • Using a Table
  • |

  • Q&A
  • |

  • Tips
  • |

  • Warnings

This wikiHow will show you how to sum columns in Microsoft Excel for Windows or Mac. Use the AutoSum feature to quickly and easily find the total sum of a column’s values. You can also make your own formula using the SUM function! We’ll cover how to add the values of individual columns and entire cell ranges.

Things You Should Know

  • Go to Formulas > AutoSum to automatically add up a column.
  • Use the SUM function to add individual or multiple columns.
  • To add multiple columns, select the cell range containing each column you want to sum.
  1. Image titled Add Up Columns in Excel Step 1

    1

    Click the cell directly below the values you want to sum. For example, if you have values in cells A1 through A5, you would click A6.[1]

    • If you’re just getting started with Excel, check out our intro guides for making a spreadsheet and formatting a spreadsheet.
  2. Image titled Add Up Columns in Excel Step 2

    2

    Click the Formulas tab. This will display various formula options in the top bar.

    Advertisement

  3. Image titled Add Up Columns in Excel Step 3

    3

    Click AutoSum. This will open a drop down menu with AutoSum options.

  4. Image titled Add Up Columns in Excel Step 4

    4

    Click Sum. This will automatically create a SUM function that adds the values of the column. You’ll see the values that are going to be summed in a highlighted selection box.

  5. Image titled Add Up Columns in Excel Step 5

    5

    Press Enter or Return on your keyboard. This will confirm the SUM formula and show you the sum total in the cell you selected.

  6. Advertisement

  1. Image titled Add Up Columns in Excel Step 6

    1

    Click a cell below the column you want to add up. Doing so will place your cursor in the cell. This method uses the SUM function, which adds all of the values in a given cell range.

    • If you’re looking for subtraction information, check out our guide to subtracting in Excel.
  2. Image titled Add Up Columns in Excel Step 7

    2

    Enter the «SUM» function. Type =SUM() into the cell.

  3. Image titled Add Up Columns in Excel Step 8

    3

    Enter the column’s range. Type the top cell in the column, a colon, and the bottom cell in the column into the parentheses.

    • For example, if you’re adding values in the A column and you have data in cells A2 through A10, you would type in the following: =SUM(A2:A10)
    • If your dataset has a header row, don’t include the header in the SUM formula.
  4. Image titled Add Up Columns in Excel Step 12

    4

    Press Enter or Return. This will display the sum of the column in your selected cell.

  5. Image titled Add Up Columns in Excel Step 13

    5

    Create the sums of the other columns you want to add. You can create SUM formulas for each column, or copy the first formula:

    • To quickly sum other columns of the same length, you can press Ctrl+c (Windows) to copy the cell with the SUM formula, then press Ctrl+v (Windows) to paste it under the other columns.
      • On Mac, these shortcuts are Cmd+c and Cmd+v respectively.
      • Pasting the formula will automatically change the cell references to the column that corresponds with where you pasted the formula.
  6. Advertisement

  1. Image titled Add Up Columns in Excel Step 11

    1

    Determine which of your columns is the longest. This method adds up multiple columns in one formula. In order to include all of the cells in the longest column, you’ll need to know to which row the column extends.

    • For example, if you have three columns and the longest one has values from row 1 through row 20, your formula will need to include rows 1 through 20 for each column you want to add even if this includes blank cells.
  2. Image titled Add Up Columns in Excel Step 12

    2

    Determine your beginning and ending columns. If you’re adding the A column and the B column, for example, your beginning column is the A column and your ending column is the B column.

  3. Image titled Add Up Columns in Excel Step 13

    3

    Select a blank cell. Click the cell in which you want to display the sum of your columns.

  4. Image titled Add Up Columns in Excel Step 14

    4

    Enter the «SUM» command. Type =SUM() into the cell.

  5. Image titled Add Up Columns in Excel Step 15

    5

    Enter the cell range. For a range of cells, the left cell in the range is the top-left cell, and the right cell is the bottom-right cell. These two cells define the range.

    • In other words, type the first column letter, the first row number, a colon, the last column letter, and the last row number.
    • For example, if you’re adding columns A, B, and C, and your longest column stretches to row 20, you would enter the following: =SUM(A1:C20)
  6. Image titled Add Up Columns in Excel Step 7

    6

    Press Enter or Return. Doing so will display the sum of all of the columns in your selected cell.

  7. Advertisement

  1. Image titled Add Up Columns in Excel Step 17

    1

    Click a cell below the column you want to add up. Doing so will place your cursor in the cell. This method uses the SUMIF function, which allows you to add values in a data range if they meet a certain criteria.[2]

  2. Image titled Add Up Columns in Excel Step 18

    2

    Enter the «SUMIF» function. Type =SUMIF() into the cell.

    • SUMIF has three arguments: range, criteria, [sum_range]. The [sum_range] argument is optional and used to specify a different range to sum values in. The criteria argument will check the range specified in the first argument.
  3. Image titled Add Up Columns in Excel Step 19

    3

    Enter the column’s range and a comma. Type the top cell in the column, a colon, and the bottom cell in the column into the parentheses.

    • For example, if you’re checking the values in the A column and you have data in cells A2 through A10, you would type in the following: =SUMIF(A2:A10,)
    • If your dataset has a header row, don’t include the header in the SUM formula.
  4. Image titled Add Up Columns in Excel Step 20

    4

    Enter the criteria you want to check. Place the criteria as the second argument after the comma. This can be a cell reference, text, number, expression, or function. Each cell in the specified range will be checked using this criteria. If the criteria is met, it will be added to the total sum. Here are a few examples:

    • =SUMIF(A2:A10, 7) would check whether a value equals 7.
    • =SUMIF(A2:A10, "<10") would check whether a value is less than 10. Note that logical criteria needs quotation marks.
    • =SUMIF(A2:A10, "cat") would check whether the value is the word «cat».
  5. Image titled Add Up Columns in Excel Step 21

    5

    Enter a comma and a sum range (optional). Place a comma after the criteria argument, then type a sum range. The sum range needs to be the same shape and size as the range in the first argument. SUMIF will check the criteria in the range and add the corresponding value in the sum range.

    • For example, if you had 9 purchases in A2:A10 and their corresponding prices in B2:B10, you could sum the prices of purchase called «food» using this formula:
    • =SUMIF(A2:A10, "food", B2:B10)
  6. Image titled Add Up Columns in Excel Step 12

    6

    Press Enter or Return. This will display the sum in your selected cell.

  7. Advertisement

  1. Image titled Add Up Columns in Excel Step 23

    1

    Click a column letter to see the sum of its values. This is the letter header located above the spreadsheet cells. The entire column will be highlighted.

  2. Image titled Add Up Columns in Excel Step 24

    2

    Look at the status bar to see the sum. At the bottom of Excel is the status bar. The sum total of the values in the column will be displayed next to «sum:».

  3. Advertisement

  1. Image titled Add Up Columns in Excel Step 25

    1

    Select your dataset. Click and drag from the top left to the bottom right of your dataset to select it. This method changes the dataset into a table, to which you can add a total row.[3]

  2. Image titled Add Up Columns in Excel Step 26

    2

    Click the Home tab. It’s at the top of the Excel window.

  3. Image titled Add Up Columns in Excel Step 27

    3

    Click Format as Table. A drop down menu will appear with table options.

  4. Image titled Add Up Columns in Excel Step 28

    4

    Select a table style. You can select from a variety of colors and formats. A small window titled «Create table» will appear after selecting a style.

  5. Image titled Add Up Columns in Excel Step 29

    5

    Check the box next to «My table has headers» (if needed). If your dataset has a header row, select this option to format the table correctly. Otherwise, uncheck the box.

  6. Image titled Add Up Columns in Excel Step 30

    6

    Click OK. This will change the dataset into a table.

  7. Image titled Add Up Columns in Excel Step 31

    7

    Click the Table Design tab. It’s at the top of the Excel window.

  8. Image titled Add Up Columns in Excel Step 32

    8

    Check the box next to «Total Row». This is an option in the «Table Style Options» section of the Table Design tab.[4]

  9. Image titled Add Up Columns in Excel Step 33

    9

    Click the cell in the total row in the column you want to sum. A drop down arrow will appear next to the cell. For example, if your data is in A2:A10 and the total row is in row 11, you would click A11.

  10. Image titled Add Up Columns in Excel Step 34

    10

    Click the drop down arrow . This will display a down down menu with total options.

  11. Image titled Add Up Columns in Excel Step 35

    11

    Select Sum. This is an option in the total drop down menu. A sum total for that column will appear in the cell. You’re done!

  12. Advertisement

Add New Question

  • Question

    How do I copy a formula?

    Community Answer

    Right click on the cell with the formula, select «Copy,» and then paste the formula into the desired cell. Keep in mind you may have to manipulate the formula in the new cell if the columns are not the same length.

  • Question

    How do I multiply two cells?

    Community Answer

    To multiply two cells use the * key to multiply by pressing shift 8, and type it in the cell you want, e.g. A1*B5.

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

  • To total up a single column, you can enter the column’s first value, a colon, and the last value into the SUM command. For example, to add cells A1, A2, A3, A4, and A5 together, you would type =SUM(A1:A5) into an empty cell.

  • For an advanced Excel function, check out our guide on using VLOOKUP.

Thanks for submitting a tip for review!

Advertisement

  • Changing a column cell’s contents will cause the cell in which you’re displaying the columns’ total to change its value as well.

Advertisement

About This Article

Thanks to all authors for creating a page that has been read 157,984 times.

Is this article up to date?

Like this post? Please share to your friends:
  • How to activate word
  • How to activate excel
  • How to accept changes in word
  • How to a cell in word
  • How this word pronounce present