Excel Formula To Copy Cell Value From Another Shee
Excel Formula To Copy Cell Value From Another Shee
Home » Excel Formulas » Excel Formula to Copy Cell Value from Another Sheet
Excel Formulas
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.
Step 1:
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.
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.
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.
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.
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.
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.
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.
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).
Steps:
=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.
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.
Steps:
=[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.
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%)
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.
Step 1:
➤ 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.
Press OK & the Name Manager will show the newly created source file with
the name in the list.
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.
You’ll get the referred data in your new worksheet at once. The whole data
is here stored as the name you’ve defined.
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
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
We can copy a range of data from a sheet to another sheet with VBScript
coding too.
Steps:
➤ 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.
So, here in the picture below, you’ll see the data has been copied from
Sheet 1 to Sheet 3.
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.
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.
1
Save
Nehad Ulfat
Related Articles
How to Sort Multiple Columns in How to Lookup with Multiple Criteria
Excel Independently of Each Other in Excel (Both AND or OR Type)
How to Filter Cells with Formulas in How to Use TRIM Function in VBA in
Excel (2 Ways) Excel (Definition + VBA Code)
LEAVE A REPLY
Name E-mail Website
Submit
Affiliate Disclosure
This post may contain affiliate links, meaning when you click the links and make a purchase, we
may earn an affiliate commission, but this never influences our opinion.
ExcelDemy is a place where you can learn Excel, Data Analysis, and other Office related programs. We
provide tips, how to guide and also provide Excel solutions to your business problems.
ExcelDemy.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising
program. I earn a small commission if you buy any products using my affiliate links to Amazon.
Categories
Select Category
Search in ExcelDemy.com
Search