To validate text entries:
1. Select a range of cells.
2. Select Data -> Data Validation (in Data Tools Group).
3. Select Settings -> Allow -> Custom.
4. In the Formula box, enter the following formula:
where A1 is the first cell in the range.
5. Click OK.
Screenshot // Validating Text Entries in Excel 2007