Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Copying the Results of Filtering.

Copying the Results of Filtering

Written by Allen Wyatt (last updated July 20, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


2

If you use the advanced filtering capabilities of Excel, you are not limited to filtering "in place." You can also do the equivalent of a database extraction, which is a two-step process. First, the list is filtered, and then the records that match your criteria are copied to a different area of the worksheet.

To instruct Excel to copy the results of a filtering, follow these steps:

  1. Select the area you want to filter.
  2. Display the Data tab of the ribbon.
  3. Click the Advanced tool, in the Sort & Filter group. Excel displays the Advanced Filter dialog box, with the address of your original data table already filled in, in the List Range box. (See Figure 1.)
  4. Figure 1. The Advanced Filter dialog box.

  5. Set your filtering options as desired.
  6. Make sure the Copy to Another Location radio button is selected.
  7. Specify a copy destination in the Copy To field.
  8. Click on OK.

When you specify a destination for the copy (step 6), you have three options. First, if you specify a single cell as the destination, then Excel copies the results of the filtering, regardless of the number of records extracted. If you are working with a large list and the results of the filtering might be many, many rows, however, you might not want to do this. In this case, make the destination a row selection. Excel will then only copy that many rows. Thus, if the result of the filtering was 47 records, and your destination was a selection of 12 rows, only the first 12 records are copied. The final option is to select a range of cells. This limits the copy to the number of rows and columns specified by the range.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7561) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Copying the Results of Filtering.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Summing Only the Largest Portion of a Range

Given a range of cells, you may at some time want to calculate the sum of only the largest values in that range. Here is ...

Discover More

Selective Formatting using Find and Replace

The Find and Replace tool in Word allows you to search for formatting and alter it in your replacement text. What it ...

Discover More

Generating Random Strings of Characters

If you need to generate a random sequence of characters, of a fixed length, then you'll appreciate the discussion in this ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Non-PivotTable Slicers and Timelines

When working with a PivotTable, slicers and timelines can make short work of large data sets. This tip looks at all the ...

Discover More

Filtering Based on Comparing Two Cells

Filtering can be very helpful in allowing you to see only those data records that meet certain criteria. In this tip you ...

Discover More

Displaying Multiple Filtered Colors

The filtering capabilities of Excel are quite helpful in taming a large amount of data. While you can filter by color, ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2024-07-22 10:41:49

Laura Sargent

"Copying the Results of Filtering" this is the first tip ever that I could not follow. It skips too many steps.


2024-07-20 21:30:00

Alex Blakenburg

A couple of other useful features:
• If you prepopulate the column headings in your Copy To range, it will only bring across the nominated columns (names have to match exactly). Very easy way to extract specific columns and re-order columns.
• As part of the copy process it only brings across the values (converts formulas to their values)
• It brings across the source formatting.
• Although when you do it manually it won't let you copy to another sheet (or workbook), it will let you do so if you use VBA.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.