Article ID: 214324 - View products that this article applies to.
This article was previously published under Q214324
This step-by-step article explains how to use the ISNA and MATCH worksheet functions to exclude records in a Microsoft Excel database that do not match another list.
=ISNA(MATCH(firstcell,excludelist,0))where firstcell is the first cell in the field of your database that you want to filter and excludelist is the list of entries that you want to exclude.
When you filter records in an Excel database, you usually specify criteria that you want the records to match. However, when you use the ISNA and MATCH worksheet functions, you can create an advanced criteria that filters all records that do not match the criteria.
When you specify an advanced criterion formula, the cell above the formula cannot contain an actual field name; it must either be blank or contain a different text string.
For more information about advanced filters, click Microsoft Excel Help on the Help menu, type filter a list by using advanced criteria in the Office Assistant or the Answer Wizard, and then click Search to view the topic.