- You select the cells to which you want to apply Data Validation, and then click Validation on the Data menu.
Note In Microsoft Office Excel 2007, you click Data Validation in the Data Tools area on the Data Validation tab.
- You click the Settings tab, and then click Custom in the Allow list.
- You specify a cell reference to a cell in another worksheet or workbook in the Source or Formula box.
- On the File menu, click New, click Workbook, and then click OK.
Note In Excel 2007, click the Microsoft Office Button, and then click New. In the New Workbook dialog box, click Blank and recent, click Blank Workbook, and then click Create.
- Select cell A1.
- On the Data menu, click Validation, and then click the Settings tab.
Note In Excel 2007, click Data Validation in the Data Tools area on the Data Validation tab, and then click the Setting tab.
- In the Allow list, click Whole number.
- In the Data list, click equal to.
- In the Value box, type a reference to a cell on the worksheet. For example, type =$B$1.
- Click OK.
- In the cell that you referenced in step 6, type a formula that refers to the external criteria cell. For example, in cell B1, type the following formula:=Sheet2!$C$1
- In the external cell, type the criteria value that you want to use for Data Validation. For example, in cell C1 of Sheet2, type 5.
- You may now type only the Data Validation criteria (for example, 5) in cell A1 of Sheet1.
To access the tool in MIcrosoft Office Excel 2003 and in earlier versions of Excel, click Validation on the Data menu. To access the tool in Excel 2007, click Data Validation in the Data Tools area on the Data Validation tab.
Restrictions include values, dates, times, or lists of text or values. Restrictions can be limited to exact matches or ranges of cells. You can type the validating values in the Data Validation dialog box, or you can store them in worksheet cells. These validating cells must be on the same worksheet as the cells that are being restricted.
Article ID: 211548 - Last Review: Apr 29, 2008 - Revision: 1