Welcome toExcel.Tips.Net
Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
Learn Access Now
Free Printable Forms
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips
Advertise on the
ExcelTips Site
Filtering Columns for Unique Values
Printing Multiple Worksheets on a Single Page
Excel's AutoFilter is a great tool for viewing portions of a data table. If you turn on the AutoFilter (Data | Filtering | AutoFilter), drop-down arrows appear at the top of each column of your data table. Using the choices available through each drop-down, you can pick what data you want displayed from the data table. If you choose the Custom option from a drop-down list, Excel displays the Custom AutoFilter dialog box. (Click here to see a related figure.)
This dialog box allows up to two conditions to be defined--conditions which will affect what is displayed. What if you want to specify more than two conditions, however? Unfortunately, there is no direct way to do this. There is an "indirect" way, however: You could create a new column in your data table that will contain a formula that indicates whether a record should be displayed or not. The formula could contain any number of IF, AND, OR, and NOT conditions to render either a True or False result. You can then use AutoFilter to display only those rows that return True as a result, or only those that return False.
You always have the option, of course, to use the advanced filtering capabilities of Excel. As described in other ExcelTips, advanced filtering allows you to create complex criteria that control what is displayed from a data table.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3036) applies to Microsoft Excel versions: 97 2000 2002 2003
PivotTables Got You Perplexed? PivotTables for the Faint of Heart shows how you can start using Excel's PivotTable tool right away to spin your data into gold! You discover how easy it really is to crunch the numbers you need to crunch. Uncover the power of creating PivotTables, editing them, formatting them, customizing them, and much more.