The information in this article applies to:
SUMMARYIn the versions of Microsoft Excel listed above, you can extract unique records based on a particular field or combination of fields with a computed criteria that uses the MATCH() function. MORE INFORMATION
When you extract records from a Microsoft Excel database, you can use
computed criteria to evaluate one or more fields. The Extract Unique
Records Only option, which you are prompted with when you click Extract on
the Data menu, compares the contents of each record during the extract.
Therefore, Microsoft Excel does not exclude records unless the entire
record is identical to a record that has already been extracted. This
procedure is similar to extracting only the first occurrence of a record,
based on one or more database fields.
ExampleIn the following example, the database range is defined as $A$1:$B$10, the computed criteria range is defined as $C$1:$C$2, and the extract range is defined as $C$5:$D$5.
The Extract range displays unique records using computed criteria based on the CATEGORY field only. No other fields are evaluated for this extract and the first occurrence of the record is extracted based on criteria specified using the MATCH() function. For more information on this process, query on the following words in the Microsoft Knowledge Base: excluding and list and records Additional query words: 2.0 2.00 2.01 2.1 2.10 2.2 2.20 2.21 3.0 4.00a XL4 XL3
Keywords : xlformula |
Last Reviewed: July 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |