Excel: Database Extract Only Extracts One RecordLast reviewed: November 3, 1994Article ID: Q78022 |
The information in this article applies to:
SUMMARYTo extract records from a Microsoft Excel database, the database, criteria and extract ranges must be separate. If you attempt to extract records into the criteria range, the first record will be extracted, whether it meets the criteria or not. Other records that match the first record may also be extracted.
WORKAROUNDTo avoid this behavior, copy the database field headings to a third location and and define them as the extract range.
MORE INFORMATIONThe Extract command clears the cells below the extract range before performing the extract. This process creates a blank criteria range, causing the first record to be extracted. The procedure is then repeated, but because there is now data in the criteria range (the first record), no more records are extracted unless the database contains duplicates of the first record.
Example
REFERENCES"Microsoft Excel User's Guide, Book 1," version 4.0, pages 327-343. "Microsoft Excel User's Guide," version 3.0, pages 369-383. "Microsoft Excel for Windows Reference Guide," version 2.1, pages 177-186.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |