18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

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

Part IV<br />

Using Advanced Excel Features<br />

FIGURE 25.1<br />

Displaying a message when the user makes an invalid entry.<br />

Specifying Validation Criteria<br />

To specify the type of data allowable in a cell or range, follow these steps:<br />

1. Select the cell or range.<br />

2. Choose Data ➪ Data Tools ➪ Data Validation. Excel displays its Data Validation dialog box.<br />

3. Click the Settings tab (see Figure 25.2).<br />

FIGURE 25.2<br />

The Settings tab of the Data Validation dialog box.<br />

4. Choose an option from the drop-down box labeled Allow. The contents of the Data Validation<br />

dialog box will change, displaying controls based on your choice. To specify a formula, select<br />

Custom.<br />

5. Specify the conditions by using the displayed controls. Your selection in Step 4 determines<br />

what other controls you can access.<br />

6. (Optional) Click the Input Message tab and specify which message to display when a user<br />

selects the cell. You can use this optional step to tell the user what type of data is expected. If<br />

this step is omitted, no message will appear when the user selects the cell.<br />

482

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

Saved successfully!

Ooh no, something went wrong!