18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using Data Validation<br />

This chapter explores a very useful Excel feature known as data validation.<br />

Data validation enables you to add useful dynamic elements to your<br />

worksheet without using any macro programming.<br />

About Data Validation<br />

Excel’s data validation feature enables you to set up certain rules that dictate<br />

what can be entered into a cell. For example, you may want to limit data entry<br />

in a particular cell to whole numbers between 1 and 12. If the user makes an<br />

invalid entry, you can display a custom message, such as the one shown in<br />

Figure 25.1.<br />

Excel makes it easy to specify the validation criteria, and you can also use a formula<br />

for more complex criteria.<br />

The data validation suffers from a potentially serious problem:<br />

CAUTION<br />

If the user copies a cell that does not use data validation and<br />

pastes it to a cell that does use data validation, the data validation rules are<br />

deleted. In other words, the cell then accepts any type of data.<br />

IN THIS CHAPTER<br />

An overview of Excel’s data<br />

validation feature<br />

Practical examples of using data<br />

validation formulas<br />

481

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

Saved successfully!

Ooh no, something went wrong!