How to Copy Cells From One Worksheet to Another

Microsoft Excel has provided a wide range of basic & simple methods to copy cell values from another worksheet to a new worksheet or even a new workbook. Here, I've tried to sum up all the fruitful methods to copy & paste cell values in another worksheet under multiple criteria & with cell references.

Download Practice Workbook

You can download the practice workbook that we've used to prepare this article.


5 Simple Ways to Copy Cell Value from Another Sheet in Excel

1. Copy & Paste with Multiple Options

In our dataset, we have 2 columns(Column D & E) with 10% & 20% increased salaries of 5 employees in Sheet 1. Now we're going to copy the whole array or table below to another sheet(Sheet 2) in the same workbook.

Step 1:

➤ Select the whole array or table (B4 : E9)

➤ Press CTRL+C to copy the selected array.

Copy cell value from another sheet by paste option

Step 2:

➤ Now open Sheet 2 & on Cell B2 or B4 where you want to paste, select that cell.

Right-click your mouse & from the Paste options choose the 1st one named Paste(P) only.

You'll get the whole data with formulas & formats as this Paste option will exactly copy all the data including formulas & formats of the cells from any sheet.

Copy cell value from another sheet by paste option

If you select Paste Values(V) you'll see only the text & number values have been copied but no formula or cell format will be copied with this option.

Copy cell value from another sheet by paste option

If you go for the Paste Formulas option, then only the formulas executed in the 1st sheet will be shown in Sheet 2 with resultant values but no cell format will be copied.

Copy cell value from another sheet by paste option

Now if you want to copy the cell format only then select the Paste Format option. It will not copy any values or formulas from the reference cells except only cell formats.

Copy cell value from another sheet by paste option

You can paste by mentioning the reference of the cells too. Choose Paste Link option & the source name or link will be assigned to pasted values in another sheet.

Copy cell value from another sheet by paste option

With the Paste Transpose option, you can convert the rows & columns into columns & rows respectively. And here the resultant data along with the formulas & cell formats will be preserved too.

Copy cell value from another sheet by paste option

The whole functions mentioned above can also be executed even with more & customized options by selecting Paste Special from the Right-click of your mouse when you'll go to paste the values.

Copy cell value from another sheet by paste option


2. Creating Cell Reference to Another Sheet

We can also use cell & sheet references to copy data from the other sheet for calculation. Here, in Sheet 1 we have a chart of current salaries only. We want to determine the salaries with a 10% increase with the help of this data in another sheet (Sheet 2).

Copy cell value by creating cell reference from another sheet

Steps:

➤ Open Sheet 2 & in Cell C5, type-

=Sheet1!C5+(Sheet1!C5*10%)

➤ Press Enter & you'll get the increased salary for Sam.

➤ Now use the Fill Handle from Cell C5 to autofill other cells in this column.

Copy cell value by creating cell reference from another sheet

So what's happening here is by mentioning Sheet1! before C5, we're actually referring to Cell C5 from Sheet 1. And the rest of the calculation in the column will be executed with the sheet & cell references by the Autofill option.


3. Creating Cell Reference to Another Workbook

Now, we want to use the cell reference from another workbook (Book2) which is currently open and then we'll execute our calculation in Book1 with that cell reference to determine the salaries with a 10% increase for each employee.

Copy cell value by creating cell reference from another workbook open or closed

Steps:

➤ In Cell C5 in Book1, type-

=[Book2.xlsx]Sheet1!C3+([Book2.xlsx]Sheet1!C3*10%)

➤ Press Enter, you'll get the resultant value for the 1st one.

➤ Use Fill Handle now to autofill the whole column like before as stated in the previous method.

Copy cell value by creating cell reference from another workbook open or closed

So here we're using the reference of another workbook. And that's why we have to mention [Book2.xlsx]Sheet1! before typing C3 as this C3 Cell is present in Sheet 1 of Book2.

If you want to add reference to another workbook which is closed then you have to mention the source file path before typing the reference of another workbook. Here, in this case, if Book2 is not open then the commands in the function bar will be-

='C:\Users\88019\Desktop\[Book2.xlsx]Sheet1'!C3+('C:\Users\88019\Desktop\[Book2.xlsx]Sheet1'!C3*10%)

Copy cell value by creating cell reference from another workbook open or closed

You can copy the formula mentioned & apply to your worksheet but make sure that the location of your own extension file or the source path of your reference workbook is mentioned properly.


4. Defining the Name of the Source Data & Then Referring to Another Sheet or Workbook

Now we can follow another fruitful method by using Name Manager to define the source data.

Step 1:

➤ Go to the source data that you need to use in another worksheet.

➤ Press CTRL+F3 top open Name Manager.

➤ Tap on New.. option to activate New Name dialogue box.

Cope cell value from another worksheet by defining name

Step 2:

➤ Give a name of your source data inside the Name box. You cannot use Space while typing the name.

➤ Now click on the Refers to box & then select that whole array or table you want to refer to.

Cope cell value from another worksheet by defining name

Press OK & the Name Manager will show the newly created source file with the name in the list.

Cope cell value from another worksheet by defining name

Step 3:

➤ Now go to any worksheet in your same workbook & use that defined name in the function bar. You'll find an option to use the data by the name you made through the Name Manager.

➤ Press Enter.

Cope cell value from another worksheet by defining name

You'll get the referred data in your new worksheet at once. The whole data is here stored as the name you've defined.

Cope cell value from another worksheet by defining name

Now, in case you need to refer to that data from another workbook, you have to mention the file name of that workbook along with the defined name as well. So, here the commands will be in the function bar if we want to refer our data from another workbook which is open right now-

=Book1.xlsx!Salary_Increase

Cope cell value from another workbook by defining name

And if the reference workbook is closed then we have to add the source path of that workbook or Excel file before mentioning the workbook name as well as the defined name for the data. So, our commands in the function bar here will be-

='C:\Users\88019\Desktop\Book1.xlsx'!Salary_Increase

Cope cell value from another closed workbook by defining name


5. Copying Cell Value with VBA Editor

We can copy a range of data from a sheet to another sheet with VBScript coding too.

Steps:

➤ Press Alt+F11, VBA window will open.

➤ From the Insert tab, select the Module command. A new module named Module 1 will appear where you'll write your codes.

➤ Now copy the following codes or macro and paste them to your own module.

          Sub CopytoAnotherSheet()    Worksheets("Sheet1").Activate    Range("B4:E9").Copy    Worksheets("Sheet3").Activate    Range("B4:E9").PasteSpecial End Sub        

➤ After copying the codes, press F5 and return to your Excel worksheet by pressing Alt+F11 again.

Copy cell value from another sheet with VBA

So, here in the picture below, you'll see the data has been copied from Sheet 1 to Sheet 3.

Copy cell value from another sheet with VBA

If you want to paste with multiple options like stated in the 1st method, then in the 4th line of the body of the VBA editor, press Space after typing PasteSpecial & you'll find a number of Paste Options. You can select any of them by navigating with Down or Up Arrow keys & then pressing Tab to insert the specified option in the macro.

Copy cell value from another sheet with VBA


Concluding Words

These are all the most suitable & simplest techniques I've found so far to copy cell values from another worksheet or even another workbook if that is open or closed. If you think I've missed a method that I should have mentioned in the article then please let me know through your valuable comments. Or you can have a look at our other interesting & informative articles on this website.


  • Excel Formula to Copy Cell value to Another Cell

How to Copy Cells From One Worksheet to Another

Source: https://www.exceldemy.com/excel-formula-to-copy-cell-value-from-another-sheet/

0 Response to "How to Copy Cells From One Worksheet to Another"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel