| | Product Information Help and How-to Training Templates Related Products and Technologies Support and Feedback Technical Resources Additional Resources | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Move or copy cells and cell contents
Using the Cut, Copy, and Paste commands in Microsoft Excel, you can move or copy entire cells or their contents. You can also copy specific contents or attributes from the cells. For example, you can copy the resulting value of a formula without copying the formula itself, or you can copy only the formula. Note Excel displays an animated moving border around cells that have been cut or copied. To cancel a moving border, press ESC. What do you want to do?Move or copy entire cells Move or copy entire cells by using the mouse Insert moved or copied cells between existing cells Copy visible cells only Prevent copied blank cells from replacing data Move or copy the contents of a cell Copy cell values, cell formats, or formulas only Move or copy entire cellsWhen you move or copy a cell, Excel moves or copies the entire cell, including formulas and their resulting values, comments, and cell formats.
- Select the cells that you want to move or copy.
- Do one of the following:
- Select the upper-left cell of the paste area (paste area: The target destination for data that's been cut or copied by using the Office Clipboard.).
Tip To move or copy a selection to a different worksheet or workbook, click another worksheet tab or switch to another workbook, and then select the upper-left cell of the paste area. - Click Paste
on the Standard toolbar, or press CTRL+V.
Notes <Back to top>Move or copy entire cells by using the mouseBy default, drag-and-drop editing is turned on so that you can use the mouse to move and copy cells. - Select the cells or range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells that you want to move or copy.
How to select cells
- Do one of the following:
- To move a cell or range of cells, point to the border of the selection. When the pointer becomes a move pointer
, drag the cell or range of cells to another location. - To copy a cell or range of cells, hold down CTRL while you point to the border of the selection. When the pointer becomes a copy pointer
, drag the cell or range of cells to another location.
Notes <Back to top>Insert moved or copied cells between existing cells
- Select the cell or range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells that contains the data that you want to move or copy.
- Do one of the following:
- To move the selection, click Cut
on the Standard toolbar, or press CTRL+X. - To copy the selection, click Copy
on the Standard toolbar, or press CTRL+C.
- Select the upper-left cell of the paste area (paste area: The target destination for data that's been cut or copied by using the Office Clipboard.).
Tip To move or copy a selection to a different worksheet or workbook, click another worksheet tab or switch to another workbook, and then select the upper-left cell of the paste area.
- On the Insert menu, click Cut Cells or Copied Cells.
- In the Insert Paste dialog box, click the direction in which you want to shift the surrounding cells.
Note If you insert entire rows or columns, the surrounding rows and columns are shifted down and to the left. <Back to top>Copy visible cells onlyIf some cells, rows, or columns on your worksheet are not displayed, you have the option of copying all cells or only the visible cells. For example, you can choose to copy only the displayed summary data on an outlined (outline: Worksheet data in which rows or columns of detail data are grouped so that you can create summary reports. The outline can summarize either an entire worksheet or a selected portion of it.) worksheet.
- Select the cells that you want to copy.
- On the Edit menu, click Go To.
- In the Go To dialog box, click Special.
- In the Go To Special dialog box, click Visible cells only, and then click OK.
- Click Copy
on the Standard
toolbar (toolbar: A bar with buttons and options that you use to carry out commands. To display a toolbar, press ALT and then SHIFT+F10.), or press CTRL+C.
- Select the upper-left cell of the paste area (paste area: The target destination for data that's been cut or copied by using the Office Clipboard.).
Tip To move or copy a selection to a different worksheet or workbook, click another worksheet tab or switch to another workbook, and then select the upper-left cell of the paste area.
- Click Paste
on the Standard toolbar, or press CTRL+V.
Notes <Back to top>Prevent copied blank cells from replacing data
- Select the range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells that contains blank cells.
- Click Copy
on the Standard toolbar, or press CTRL+C.
- Select the upper-left cell of the paste area (paste area: The target destination for data that's been cut or copied by using the Office Clipboard.).
- Click the arrow to the right of Paste
on the Standard toolbar, and then click Paste Special.
- Select the Skip blanks check box.
<Back to top>Move or copy the contents of a cell
- Double-click the cell that contains the data you want to move or copy.
Note By default, you can edit and select cell data directly in the cell by double-clicking it, but you can also edit and select cell data in the formula bar (formula bar: A bar at the top of the Excel window that you use to enter or edit values or formulas in cells or charts. Displays the constant value or formula stored in the active cell.).
- In the cell, select the characters that you want to move or copy.
- Do one of the following:
- To move the selection, click Cut
on the Standard toolbar, or press CTRL+X. - To copy the selection, click Copy
on the Standard toolbar, or press CTRL+C.
- In the cell, click where you want to paste the characters, or double-click another cell to move or copy the data.
- Click Paste
on the Standard toolbar, or press CTRL+V.
- Press ENTER.
Note When you double-click a cell or press F2 to edit the active cell, the arrow keys work only within that cell. To use the arrow keys to move to another cell, first press ENTER to complete your editing changes to the active cell. <Back to top>Copy cell values, cell formats, or formulas onlyWhen you paste copied data, you can do any of the following: - Convert any formulas in the cell to the calculated values without overwriting the existing formatting.
- Paste only the cell formatting, such as font color or fill color (and not the contents of the cells).
- Paste only the formulas (and not the calculated values).
- Select the cell or range of cells that contains the values, cell formats, or formulas that you want to copy.
- Click Copy
on the Standard
toolbar (toolbar: A bar with buttons and options that you use to carry out commands. To display a toolbar, press ALT and then SHIFT+F10.).
- Select the upper-left cell of the paste area (paste area: The target destination for data that's been cut or copied by using the Office Clipboard.) or the cell where you want to paste the value, cell format, or formula.
- Click the arrow to the right of Paste
on the Standard toolbar, and then do one of the following:- To paste values only, click Values.
- To paste cell formats only, click Paste Special, and then, in the Paste Special dialog box, click Formats.
- To paste formulas only, click Formulas.
Note If the copied formulas contain relative cell references, Excel adjusts the references (and the relative parts of mixed cell references) in the duplicate formulas. For example, suppose that cell B8 contains the formula =SUM(B1:B7). If you copy the formula to cell C8, the duplicate formula refers to the corresponding cells in that column: =SUM(C1:C7). If the copied formulas contain absolute cell references (absolute cell reference: In a formula, the exact address of a cell, regardless of the position of the cell that contains the formula. An absolute cell reference takes the form $A$1.), the references in the duplicate formulas are not changed. If you don't get the results that you want, you can also change the references in the original formulas to either relative or absolute cell references and then recopy the cells.
<Back to top>
|