How to Extract Blank Cells in an Excel DatabaseID: Q64805
|
In Microsoft Excel, you can extract blank cells from a database using
either comparison criteria or computed criteria.
NOTE: To extract nonblank entries, use ="<>" in the criteria range
where blank cells in a specific field must be ignored for the extract.
Database Criteria Extract
----------------------------------------------------------
A1: Name B1: Age C1: Name D1: Age E1: Name F1: Age
A2: Joe B2: 20 C2: D2: = E2: Mary F2:
A3: Mary B3: C3: D3: E3: F3:
A4: Mike B4: 35 C4: D4: E4: F4:
A5: John B5: 40 C5: D5: E5: F5:
The name Mary is the only extracted name; Mary is the only
one who doesn't have an Age listed.
Database Criteria Extract
-----------------------------------------------------------
A1: Name B1: Age C1: Name D1: Age E1: Name F1: Age
A2: Joe B2: 20 C2: D2: =B2="" E2: Mary F2:
A3: Mary B3: C3: D3: E3: F3:
A4: Mike B4: 35 C4: D4: E4: F4:
A5: John B5: 40 C5: D5: E5: F5:
=NOT(AND(A2="",B2="",C2="",D2=""))
E1: header1 F1: header2 G1: header3 H1: header4
E2: ="<>" F2: G2: H2:
E3: F3: ="<>" G3: H3:
E4: F4: G4: ="<>" H4:
E5: F5: G5: H5: ="<>"
Additional query words: 2.0 2.00 2.01 2.1 2.10 2.20 2.21 3.0 4.00a 5.0 autofilter
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 21, 1999