Your HR team maintains a leave tracker. Some users type “HR”, some type “Human Resource”, and some misspell department names. Later, reports fail because the same department appears in multiple versions. Data Validation solves this by controlling what users can enter.
What is Data Validation?
Data Validation is an Excel feature that controls what users can enter in a cell. It can create drop-down lists, allow only dates, restrict numbers, show input messages, and display error alerts when users enter invalid data.
Employee Leave Request Form
Create a drop-down list
- Select the cell where the drop-down should appear.
- Go to the Data tab.
- Click Data Validation.
- In Allow, choose List.
- Select or type the allowed values.
- Click OK and test the drop-down.
Build a professional input form
For the leave request form, the best drop-down fields are Department, Leave Type, Priority, Reporting Manager and Approval Status. Date fields should use date validation so users cannot enter random text.
Validation workflow
Build an Employee Leave Request Form
Download one ZIP file containing the practice workbook, challenge workbook, solution workbook, ready template, cheat sheet, quiz and answer key.
Mini assignment
- Create source lists for Department, Leave Type, Priority, Manager and Status.
- Apply drop-down validation to the form fields.
- Apply date validation to From Date and To Date.
- Try entering an invalid department and confirm Excel blocks or warns you.
- Save the final version as a reusable template.
Quick quiz
- What is Data Validation used for?
- Which validation type creates a drop-down?
- Why should source lists be kept separately?
- What is an Error Alert?
Answers: Controlling user input; List; easier maintenance; warning/block for invalid entries.