The tutorial shares a few helpful secrets about copying and moving sheets in Excel.
There may be many situations when you need to create a new spreadsheet based on an existing one or move a tab from one Excel file to another. For example, you may want to back up an important worksheet or create several copies of the same sheet for testing purposes. Luckily, there exist a few easy and quick ways to duplicate sheets in Excel.
How to copy a sheet in Excel
Excel has three inbuilt routes to duplicate worksheets. Depending on your preferred working technique, you can use the ribbon, mouse or keyboard.
Method 1. Copy Excel sheet by dragging
Usually, you drag-and-drop to move something from one place to another. But this method also works for copying tabs and is, in truth, the fastest way to copy a sheet in Excel.
Simply, click on the sheet tab that you want to copy, hold the Ctrl key and drag the tab where you want it:
Method 2. Duplicate a sheet by right-clicking
Here's another way to duplicate a sheet in Excel that is just as easy:
- Right click on the tab and select Move or Copy from the context menu. This will open the Move or Copy dialog box.
- Under Before sheet, choose where you want to place the copy.
- Put a tick in the Create a copy box.
- Click OK.
For instance, that's how you can make a copy of Sheet1 and place it before Sheet3:
Method 3. Copy a tab in Excel using the ribbon
The ribbon contains all the features available in Excel, you just need to know where to look :)
To copy a sheet, go to the Home tab > Cells group, click Format, and then click Move or Copy Sheet:
The Move or Copy dialog box appears, and you follow the same steps as described above.
How to copy Excel sheet to another workbook
The common way to copy a sheet to another workbook is this:
- Right click on the tab that you want to copy, and then click Move or Copy…
- In the Move or Copy dialog box, do the following:
- Under To book, choose the target file. To place a copy into a new workbook, select (new book).
- Under Before sheet, specify where to put the copy.
- Select the Create a copy box.
- Click OK.
Note. Excel displays only the open workbooks in the To book drop-down list, so be sure to open the destination file before copying.
Apart from this traditional route, there is one more way to do the same thing. Guess what, simply by dragging a sheet from one Excel file to another!
How to copy a sheet to another workbook by dragging
If Excel allows duplicating a sheet within the same workbook by dragging it, why not try to use this method for copying a sheet to a different workbook? We just need to view both files at the same time. Here's how:
- Open the source and target workbooks.
- On the View tab, in the Windows group, click View Side by Side. This will arrange the two workbooks horizontally.
- In the source workbook, click the sheet tab you'd like to copy, hold down the Ctrl key and drag the sheet to the target workbook.
Awesome, isn't it? The next time you need to copy information from one Excel file to another, forget about copy/pasting and drag the sheet.
How to copy multiple sheets in Excel
All the techniques that work for duplicating a single sheet can be used to copy multiple sheets. The key thing is to have several worksheets selected. Here's how you can do this:
- To select adjacent sheets, click on the first sheet tab, press Shift, and click on the last tab.
- To select non-adjacent sheets, click on the first sheet tab, press Ctrl, and click the other tabs one by one.
With multiple worksheets selected, do one of the following to copy them:
- Click on any of the selected tabs, press Ctrl and drag the tabs to the desired position.
- Right-click any of the selected sheets and click Copy or Move. Then, carry out these steps.
- On the Home tab, click Format > Move or Copy Sheet. More details can be found here.
To copy multiple sheets to another workbook, select them as described above, and then follow one of these ways.
How to copy Excel sheet with formulas
Generally, you copy a sheet containing formulas like any other sheet. The formula references adjust automatically in a way that works just fine in most cases.
If a sheet with formulas is copied within the same workbook, the formulas will refer to copied sheet unless you use external cell references that point to another sheet or workbook. For example:
If you copy a sheet with formulas to another workbook, the formula references behave in this way:
- References within the same worksheet, either relative or absolute, will point to the copied sheet in the destination workbook.
- References to other sheets in the original workbook will still point to the worksheets in the original workbook. In the screenshot below, please notice that the original file name [Book1] appears before the sheet name the third formula in the copied sheet:
For the copied formulas to refer to the sheet with the same name in the destination workbook, you can simply remove the original workbook name by using the Replace All feature of Excel. Here's what you need to do:
- On the copied sheet, select all the formulas you want to change.
- Press Ctrl + H to open the Replace tab of the Find and Replace dialog.
- In the Find what box type the name of the original workbook exactly as it appears in your formulas. In our case, we'd type [Book1].
- Leave the Replace with box blank.
- Click Replace All.
As the result, the formula in the copied sheet will change from
Copy information from one Excel sheet to another using formula
In case you don't want to copy the entire sheet, but only some part of it, select the range of interest and press Ctrl + C to copy it. Then switch to another sheet, select the upper-left cell of the destination range and press Ctrl + V to paste the copied range.
For the copied data to update automatically as soon as the original data changes, you can copy information from one Excel sheet to another by using formulas.
For example, to copy data from cell A1 in Sheet1 to cell B1 in Sheet2, enter this formula in B1:
To copy information from another Excel file, include the workbook name in square brackets:
If needed, drag the formula down or to the right to pull data from other cells.
Tip. To get a reference to another workbook right, type the equality sign (=), then switch to another workbook, click the desired cell, and press Enter. Excel will insert the reference for you automatically.
To copy data from several sheets into one, please see How to merge multiple sheets in Excel.
How to duplicate an Excel sheet using VBA
If you often need to copy information from one Excel sheet to another, macros can save you a lot of time. Here are just a few examples of tasks that can be performed automatically:
- Macro to copy sheet and rename
- Macro to copy sheet and rename based on cell value
- Macro to copy sheet from another Excel file without opening
- Macro to duplicate multiple sheets
For more examples, please check out How to duplicate a sheet in Excel with VBA.
How to move sheets in Excel
Moving sheets in Excel is even easier than copying and can be done with the already familiar techniques.
Move a sheet by dragging it
To move a sheet(s) in Excel, you simply select one or more tabs and drag them to a new location.
For example, here's how you can move Sheet1 and Sheet3 to the end of the workbook:
To move a sheet to another workbook, place the workbooks side-by-side (View tab > View Side by Side) and then drag the sheet from one file to another.
Move a sheet via Move or Copy dialog
Open the Move or Copy dialog box either by right-clicking the sheet tab and selecting Move or Copy from the context menu or by clicking Home tab > Format > Move or Copy Sheet. Then, do one of the following:
- To move a sheet within the same workbook, choose before which sheet to place it and click OK.
- To move a sheet from one Excel file to another, select the workbook name from the To Book list, choose the "Before sheet" and click OK.
Note. If the destination file already contains a worksheet with the same name, Excel will add a number in brackets to the end of the moved sheet's name. For example, Sheet 1 will become Sheet 1 (2).
Workbook Manager - quick way to move and copy sheets in Excel
If you often copy or move sheets from one Excel file to another, our Workbook Manager can make your life a lot easier.
Run the tool by clicking the Workbook Manager button on the Ablebits Data tab in the Manage group:
Now, you have a tree-view of all open workbooks and can easily drag sheets between different files:
- To move a sheet or several selected sheets, drag them in the Workbook Manager window.
- To copy one or more sheets, drag them while holding the Ctrl key.
As you do this, the sheets in your workbooks are rearranged accordingly without you having to switch back and forth from one file to another.
Move or copy sheet in Excel not working
Usually Microsoft Excel copies and moves sheets without a hitch. If a certain worksheet refuses to be copied or moved, this may be because of the following reasons.
1. Excel table
You won't be able to move or copy a group of sheets if one of those sheets contains an Excel table (vs. a range). Each such worksheet should be dealt with individually.
2. Protected workbook
Moving and copying sheets are not allowed in protected workbooks. To check if the workbook is protected, go to the Review tab > Protect group and have a look at the Protect Workbook button. If the button is highlighted, it means the workbook is protected. Click that button to unlock the workbook, and then move sheets.
3. Excel names
When copying or moving a sheet from one Excel file to another, you can get an error message that a certain name already exists, meaning the source and target workbooks contain a table or range with the same name. If it is just a single error, click Yes to use the existing version of the name, or No to rename it. In case of multiple errors, it makes sense to review all the names before moving or copying sheets. For this, press Ctrl + F3 to open the list of names in the active workbook - you will be able to edit or delete the names from there. For more information, please see How to define and use names in Excel.
That's how you can move or copy a sheet in Excel. I thank you for reading and hope to see you on our blog next week.