The information in this article applies to:
SUMMARY
In Microsoft Excel, you can select every "nth" record from a database
using the Extract command (on the Data menu) with a computed criteria.
To do this, first create a computed criteria in A1:A2. To tell Microsoft Excel this will be a computed criteria, type any name in cell A1 other than the name of one of the database fields (for example, "Computed"). When using computed criteria, the criteria cannot be labeled with a field name from the database. In cell A2, type a formula to return every nth (5th) row of the database. For example, the following formula will extract every nth record of the database whose first record is in row y:
In our example, we would use the following
since we are extracting every 5th record from a database whose first record begins in row 4. The reference to A4 is a reference to the first record in the database and is incremented by Microsoft Excel as it steps through the database. Now, do the following:
MORE INFORMATION
For more information on computed criteria, query on the following
words:
Additional query words: 1.00 1.03 1.04 1.06 1.50 2.20 3.00 4.00
Keywords : |
Last Reviewed: March 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |