How to Use Excel Data Validation to Prevent Incorrect Data Entry

If you build an Excel spreadsheet for your team to track expenses, you rely on them entering accurate data. If one person types “Food” in the category column, another types “Meals,” and a third accidentally types “Fod,” your summary reports and PivotTables will be completely ruined. Instead of constantly fixing typos, you can force users to select from a predefined list using Data Validation.

Step 1: Understand the Goal

Data Validation allows you to restrict the type of data that can be entered into a specific cell. You can force a cell to only accept dates, only accept numbers between 1 and 100, or—most commonly—only accept values from a specific drop-down list.

Step 2: Create Your Reference List

Before you can create a drop-down menu, you need to tell Excel what the valid choices are. It is best practice to put this list on a separate, hidden worksheet so users don’t accidentally overwrite it.

  1. Click the + icon at the bottom of the screen to create a new worksheet. Name it “DataLists”.
  2. In column A, type your valid categories. For example:
    A1: Travel
    A2: Meals
    A3: Supplies
    A4: Software
  3. Highlight cells A1 through A4.

Step 3: Apply Data Validation to Your Main Sheet

  1. Switch back to your main data entry worksheet (e.g., “ExpenseTracker”).
  2. Highlight the column or specific cells where you want the drop-down menus to appear (e.g., highlight cells C2 down to C100).
  3. Navigate to the Data tab on the ribbon.
  4. In the “Data Tools” group, click the Data Validation button (it usually looks like a cell with a green checkmark and a red circle).

Step 4: Configure the Settings

The Data Validation dialog box has three crucial tabs.

1. Settings Tab:

  • Under the Allow drop-down, select List.
  • Ensure the In-cell dropdown box is checked.
  • Click inside the Source box.
  • Now, click on the “DataLists” worksheet tab at the bottom of the screen, and highlight your list of categories (A1:A4). The Source box will automatically populate with a formula like =DataLists!$A$1:$A$4.

2. Input Message Tab (Optional):

  • You can configure a small yellow tooltip that appears whenever a user clicks on the cell, guiding them on what to do (e.g., Title: “Category Selection”, Message: “Please select an approved category from the list”).

3. Error Alert Tab:

  • This determines what happens if a user ignores the drop-down and tries to type “Fod” manually.
  • Ensure Show error alert after invalid data is entered is checked.
  • Set the Style to Stop. This creates a hard block; the user cannot proceed until they fix the error. (Setting it to “Warning” allows them to click bypass the error, which defeats the purpose).
  • Type a friendly Error message (e.g., “Invalid category. Please select from the approved list.”).

Step 5: Test the Validation

  1. Click OK to close the dialog box.
  2. Click on cell C2. You will immediately see a small drop-down arrow appear next to the cell. Click it, and you can select “Meals”.
  3. Now, try to type “Fod” into cell C3 and hit Enter. Excel will instantly block the entry, pop up your custom error message, and force you to retry.

By implementing Data Validation, you ensure your data remains clean, standardized, and ready for accurate reporting without requiring constant manual cleanup.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.