11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

264<br />

Part II: Using Functions in Your <strong>Formula</strong>s<br />

Table 9-3: Examples of Text Criteria<br />

Criteria Selects<br />

=“=January” Records that contain the text January (and nothing else). You enter this exactly as shown:<br />

as a formula, with an initial equal sign. Alternatively, you can use a leading apostrophe and<br />

omit the quotes:<br />

‘=January<br />

January Records that begin with the text January.<br />

C Records that contain text that begins with the letter C.<br />

C* Records that contain any text, except text that begins with the letter C.<br />

>=L Records that contain text that begins with the letters L through Z.<br />

*County* Records that contain text that includes the word county.<br />

Sm* Records that contain text that begins with the letters SM.<br />

s*s Records that contain text that begins with S and has a subsequent occurrence of the letter S.<br />

s?s Records that contain text that begins with S and has another S as its third character. Note<br />

that this does not select only three-character words.<br />

=”=s*s” Records that contain text that begins and ends with S. You enter this exactly as shown: as<br />

a formula, with an initial equal sign. Alternatively, you can use a leading apostrophe and<br />

omit the quotes:<br />

‘=s*s<br />

*c Records that contain text that does not end with the letter C.<br />

=???? Records that contain exactly four letters.<br />

????? All records that don’t contain exactly five letters.<br />

*c* Records that do not contain the letter C.<br />

~? Records that contain a single question mark character. (The tilde character overrides the<br />

wildcard question mark character.)<br />

= Records that contain a blank.<br />

Records that contain any nonblank entry.<br />

=”=c” Records that contain the single character C. You enter this exactly as shown: as a formula, with<br />

an initial equal sign. Alternatively, you can use a leading apostrophe and omit the quotes:<br />

‘=c<br />

Specifying multiple criteria<br />

Often, you may want to select records based on criteria that use more than one field or multiple<br />

values within a single field. These selection criteria involve logical OR or AND comparisons.<br />

Following are a few examples of the types of multiple criteria that you can apply to the real<br />

estate database:<br />

A list price less than $250,000, and square footage of at least 2,000<br />

A single-family home with a pool<br />

At least four bedrooms, at least three bathrooms, and square footage less than 3,000

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!