Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Copying the Results of Filtering.
Written by Allen Wyatt (last updated September 26, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003
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:
Figure 1. The Advanced Filter dialog box.
When you specify a destination for the copy (step 5), 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 or rows and columns specified by the range.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2859) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Copying the Results of Filtering.
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!
The advanced filtering feature in Excel allows you to quickly copy unique information from one data list to another. If ...
Discover MoreMany people know how to use AutoFilter, but there are times when you need some more filtering muscle. Here's how you can ...
Discover MoreWhen working with large amounts of data, you may have a need to extract just the information that meets the criteria you ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments