Microsoft KB Archive/59245

{| = Excel: Database AND in Criteria Example Incorrect =
 * width="100%"|

Last reviewed: November 2, 1994

Article ID: Q59245

SUMMARY
Page 171 of the &quot;Microsoft Excel Reference&quot; version 2.2 manual incorrectly states that a logical AND can be created by typing the second criterion in the cell below the first and then including both rows in the criteria range. Following those instructions produces an OR situation instead of an AND situation.

To find records that match values within a certain range, define two cells that are in the same row with the same field name in the criteria range.

For example, the following criteria range finds records for all customers whose zip codes are greater than 40000 AND less than 90000. The following is the example that should have been included in the manual:

Zip Code    Zip Code >40000      <90000
 * }