Home > Filters > Advanced > Diff Sheet Excel Filter Data to Different SheetIn Excel, pull data from another sheet, based on criteria, with an Advanced Filter. Watch this video to see the steps, and the step-by-step written instructions are below the video. |
Video Timeline
Video TranscriptIf you'd like to read the video transcript, click on the green check box below. When you're finished, you can click the check box again, to hide the transcript Video TranscriptIn this video, you'll see how to take data from one worksheet in Excel and send it to a different sheet, without using any macros. This is Debra Dalgleish from Contextures.com. Sales OrdersOn this worksheet, there's a named Excel table and it has sales orders.
To do that, I'm going to use an advanced filter. Top OrdersThis is the top order sheet where I want the data to end up. To tell Excel what I want to get from the other table
Extract & CriteriaWhen we set up an extract area, the headings have to be exactly the same as are in this source data, so I'll select three headings that I want (order, cost, and total) and copy those with Ctrl+C.
Advanced FilterThe next step is to run the advanced filter. We want the data on a different sheet from the original data, so we're not going to start here, we're going to start on the destination sheet. We don't want to have an active cell anywhere near the other data on the sheet or Excel will assume that's our source data.
This is a table, so to select it, I'm going to click up at the top left and you can see a diagonal arrow there
If you've done a filter before you might have settings left over in here
And we get any order where we've got a total greater than 200. Check the DataIf we go back and look at the data, there's a bit of formatting in this table, and this column has conditional formatting for any total that's over $300. So we'll look at the results from the advanced filter and see what it kept.
WarningsAlso if we go back to food sales, this column had a formula, but in the results that were filtered, everything's a value.
Another thing to keep in mind is that this is just a copy of the original data.
If you want to update this list, you would have to run the advanced filter again. |
Excel Data: Sales OrdersIn this Advanced Filter example, there is a named Excel table, with food product sales orders.
Note: For instructions on setting up a table, go to the Excel Named Tables page. |
Set up Extract RangeWith an Advanced Filter, you can extract all columns from the data table, or you can specify one or more of columns that you want to extract. To set up an extract range for this Advanced Filter, follow the steps below:
Note: For more examples of setting up an Extract Range, go to the Advanced Filter Basics page. |
Set up Criteria RangeTo extract data based on one or more criteria, you need to set up a criteria range in the Excel workbook. In this example, the criteria range is set up on the destination sheet for the extracted data, TopOrders. A Criteria range has one or more heading cells, and one or more rows with criteia. To set up a criteria range for this Advanced Filter, follow the steps below:
Note: For more examples of setting up a Criteria Range, go to the Advanced Filter Basics page. |
Run the Advanced FilterFollow these steps to apply the Advanced Filter, and send the data to a different sheet
|
Advanced Filter Dialog BoxWhen the Advanced Filter dialog box opens, follow the steps below, to send data to a different worksheet, based on your criteria.
ActionFirst, in the Action section , click the radio button for Copy to another location. ⚠️ Warning: If you use the Copy to another location option:
|
List RangeNext, tell Excel where to find the data that you want to filter
After you select the table, the ListRange box should show the table name, followed by [#All], like the example in the screen shot below: Sales_Data[#All] |
Criteria RangeNext, tell Excel where to find the criteria to use for filtering the data.
The Criteria range box should show the sheet name and cell address range.
|
Copy ToNext, tell Excel where to put the data that the filter extracts. These are the starting cells for the extract, and the data will fill down the column, as far as needed.
The Copy to box should show the sheet name and cell address range.
|
Unique Records OnlyIf there are duplicate records in your Excel data, and you only need to see one copy of multiple records, you can turn on the option to extract unique records only.
OK Button
|
Review Extracted DataAfter you click the OK button, data that meets the criteria is extracted onto the TopOrders sheet. The screen shot below shows the results from this example:
In the results shown below
|
Static Results With Advanced FilterAfter you run an Advanced Filter, the extracted data is static, and no longer connected to the source data table.
|
Excel FILTER FunctionInstead of using Advanced Filters, you can use the Excel FILTER function in Excel 365, or other versions that support dynamic spill functions.
Tip: See more dynamic array formulas on the Spill Function Examples page |
Advanced Filter MacrosAdvanced filters work well with macros, which will help you save time, for filters that you need to run frequently. For example, use Advanced Filter macros for your weekly reports, instead of repeating the series of steps manually every week. To get started, go to the Advanced Filter Macros page. That page shows you:
|
Get the Sample WorkbookDownload zipped Excel Filter Data to Different Sheet workbook with sample data and criteria. |
Advanced Filter Criteria Slicers
Last updated: October 20, 2023 3:30 PM