Transferring data between your worksheets can help organize your workbook— especially when you’re working on multiple worksheets.
Every time I want to derive a large set of data from another Excel Sheet, I use the advanced filter function to import the data. This streamlines my work, making it easier and saving me a lot of time.
There are multiple ways ranging from simple copy-pasting to using VBA code.
- Use a simple copy-and-paste method to move data inside or outside your worksheet.
- Use the advanced filter option to extract specific data from a sheet with several columns.
- Lastly, using Power Query, you can link data to automatically update it whenever you make a change in the original sheet.
Using Copy and Paste Option
This option is similar to copying and pasting files or documents on your PC. It is an easy option when you want to transfer data between the same or different worksheets. Here’s how you can do it.
- Open Excel.
- Go to the Excel Sheet and select the Cells which contain the data you want to copy.
- Right-click and select Copy.
- Now, go to the other sheet. Right-click on the cell where you want to add it and click Paste.
Use the Worksheet Reference
If you’re looking to transfer data from one worksheet to another, worksheet referencing is one of the many ways to transfer data from one Excel sheet to another.
You need to use the
= operator and click on the cell with the data you wish to reference—and the value will automatically appear on your worksheet.
- Open the Excel sheet containing the data set.
- Open a different sheet where you want the data to be copied.
=on the cell where you want the data copied.
- Open the Sheet with the data and click on the cell with the data and hit Enter.
Using VLOOKUP Function
A different approach to transferring data from one Excel worksheet to another is by using the
VLOOKUP function in Excel. Basically, what this does is it takes the cell number from a given sheet as a reference to return the value from a different column.
- lookup_value: It indicates the item you want to search.
- table_array: It is the group of cells that contain the source data.
- column_index_num: It is the position of the column where the data will return if a match is found.
- range_lookup: It specifies if you want your VLOOKUP to find an approximate(True) or exact match(False).
Let me show this with an example.
- Open Excel Sheet and select the empty cell where you want your data to be transferred.
- Type in
=and search for the
- Go to the sheet which contains the data.
- Select the cell you want to copy and add a comma to the formula.
- Select cells with data from Sheet 1 and press F4.
- Add a comma and write down which column contains the data. (Second column in this case)
- Add a comma and type FALSE and close the bracket.
- Press Enter to save changes and drag down to get all values.
Using the Advanced Filter
Let us suppose we have a list of data, and we only want to extract a specific section of data from that sheet. In such cases, we can use the advanced filter to transfer data based on our preset criteria.
Here’s how you can use the advanced filter.
- Open the Excel sheet containing your data.
- Alongside your data, create cells with exact same headings from your data.
- Beneath the column headings, put in your Criteria.
- Open a new sheet and click on any cell where you want to transfer the data.
- Click on the Data tab and select Advanced.
- Go back to the original sheet and select your list range.
- Select the Criteria range and select the column headings created in step 3.
- Click on Copy to another location.
- Click Copy to and select the cell where you want to transfer your data.
- Click OK, and your filtered data will be transferred.
One major drawback of this method is that it does not automatically update data if you change your filter criteria.
However, you can get around this problem with the use of VBA code.
- Open your Datasheet.
- Right-click on the sheet tab containing your data and click View Code.
- Copy the following code to your VBA with reference to your specific cell numbers.
Sheet2.Cells.Clear Range("A1:E21").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range _ ("H1:I2"), CopyToRange:=Sheet2.Range("A1"), Unique:=False
- Close the VBA Editor.
- Now the data on the new sheet will automatically update if you change the criteria in the original sheet.
Using Power Query
For this method, it is essential for your data to be in a table. Once your worksheet is in a table format, you can use the Excel Power Query tool to link your data across worksheets and update automatically. Here’re the steps.
- Open your Datasheet.
- Go to the Data ribbon.
- Make sure you’ve clicked somewhere on the table.
- Click on From Table, which will open the Power Query editor.
- Select the columns you want to work with.
- Click on Close & Load which will load the data in a new sheet.
Now any changes you make on the original sheet will be updated to the new datasheet automatically. However, you will need to hit refresh on the new data sheet in order for it to be updated.