Reputation: 375
I have a spreadsheet with a column for DOB. However, the age should be over 18 years from today.
How can I have a validation with a custom validation formula where en error should be pop up if the age is below 18 years.
Thanks
Kalyan
Upvotes: 0
Views: 243
Reputation: 59450
In Data > Data validation... please try a Custom formula is of the kind:
=DATEDIF(A1,today(),"Y")>17
Upvotes: 1