Skip to Content
Excel® 2007 Bible
book

Excel® 2007 Bible

by John Walkenbach
January 2007
Beginner to intermediate
912 pages
21h 53m
English
Wiley
Content preview from Excel® 2007 Bible

Chapter 25. Using Data Validation

<feature><title>In This Chapter</title> </feature>

This chapter explores a very useful Excel feature known as data validation. Data validation enables you to add useful dynamic elements to your worksheet without using any macro programming.

About Data Validation

Excel’s data validation feature enables you to set up certain rules that dictate what can be entered into a cell. For example, you may want to limit data entry in a particular cell to whole numbers between 1 and 12. If the user makes an invalid entry, you can display a custom message, such as the one shown in Figure 25.1.

Displaying a message when the user makes an invalid entry.

Figure 25.1. Displaying a message when the user makes an invalid entry.

Excel makes it easy to specify the validation criteria, and you can also use a formula for more complex criteria.

Caution

The data validation suffers from a potentially serious problem: If the user copies a cell that does not use data validation and pastes it to a cell that does use data validation, the data validation rules are deleted. In other words, the cell then accepts any type of data.

Specifying Validation Criteria

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

  1. Select the cell or range.

  2. Choose Data Data Tools Data Validation. Excel displays its Data Validation dialog box.

  3. Click ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel® 2010 Bible

Excel® 2010 Bible

John Walkenbach
Excel® 2007 Charts

Excel® 2007 Charts

John Walkenbach

Publisher Resources

ISBN: 9780470044032Purchase book