Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

Applying data validation in Google Sheets to dates created by dragging

$
0
0

I have a google sheet that asks people to enter a date in column A. The date must be valid and can be today's day or a date in the past. It cannot be a date in the future. I tried a custom data validation rule of =AND(ISDATE($A2),$A2<=today()). This seems to work, but then users started creating dates by clicking a cell already entered and dragging down the blue dot to autocreate dates for the future. Data validation does not seem to apply to data made in this way. I tried going to Tools--Suggestion Controls-- and unchecking Enable Autocomplete, but nothing changed. Is there a way to make data validation apply? Barring that, can one prevent creating dates by dragging a cell down the column?


Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>