Finding Entries Such As ="34" in an Excel Database

Last reviewed: November 2, 1994
Article ID: Q26866
The information in this article applies to:
  • Microsoft Excel for Windows, versions 2.x, 3.0, 4.0
  • Microsoft Excel for OS/2, versions 2.2, 2.21, and 3.0

If you enter your numbers into an Excel database as text formulas, you will not be able to use a comparison criteria to find the numbers when using the Data Find command. You must use a computed criteria to find the numbers entered as text formulas. For example, suppose you had the following single field database where the field name was entered into Cell A5 and the first data record is in A6:

   Field1
   ="45"
   ="34"
   ="67"

To use Data Find to locate the record containing ="34", your computed criteria formula would look like: =A6="34". Remember that when you use the Set Criteria command to set a computed criteria, the cell above the formula should not contain any database field names and the criteria area should include the formula and the cell above it.

NOTE: In Microsoft Excel version 5.0, if you use the AutoFilter feature, you do not have this problem.

For additional information, consult the Database Core Topic section of the "Microsoft Excel Reference".


KBCategory: kbusage
KBSubcategory:

Additional words: 2.1 2.10 2.2 2.20 2.21 3.0 3.00 4.0 4.00
extract


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.