New Tool Radar

AI for Data & Spreadsheets

How to Set a Data Validation Date Range in Google Sheets

Add a date-range data validation rule in Google Sheets so dates outside the project are rejected at entry.

Schematic illustration for How to Set a Data Validation Date Range in Google Sheets: three numbered steps - Select the date column; Data, Data validation, Is between; Test a date outside the range.

A project date typed as 2025 instead of 2026 will sit in the plan unnoticed until a deadline is missed. A date-range validation rule in Google Sheets refuses dates outside the project period at the moment they are typed, so the error never reaches the plan.

Prerequisites

  • Google Sheets
  • A column that should hold dates in a known range
  • A copy of the source file, so the original stays untouched.

Steps

  1. Select the cells in the date column, then go to Data, Data validation, Add rule.
  2. Under Criteria, choose Is between, and enter the start and end dates of the project.
  3. Under Advanced options, choose Reject the input so a date outside the range cannot be entered.
  4. Click Done, then test the rule by typing a date outside the range and confirming it is refused.
  5. Check the existing dates in the column for any that already fall outside the range.

Worked example: Fictional project dates with a November 2026 rule

The practice table below is a fictional five-milestone project list. The days column counts the days from 3 November 2026 to each milestone date, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.

Milestone Date Days from 3 Nov
Kick-off 2026-11-03 0
Draft due 2026-11-10 7
Review 2026-11-17 14
Final draft 2026-11-24 21
Launch 2026-11-30 27
Total 69

Expected result. Five dates, each inside November 2026, and the day counts add to 69.

Limits

  • A rule set to show a warning instead of rejecting will still let bad dates in, so choose reject for strict ranges.
  • A date typed as text will not be caught by a date rule, so check the cell format as well.

Sources

See all