Dates only in columns

ttowncorp

Board Regular
Joined
Feb 2, 2015
Messages
187
Office Version
  1. 365
Platform
  1. Windows
is it possible to lock specific column to only input dates. 1/1/2024? I was trying to lock column A2 and down to only be able to type in mm/dd/yr. and b2 and down same thing but you can only input current dates and past dates. I don't want it to allow people to input future dates like 12/15/2024.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
In order to enter dates according to your conditions:
select the range, then on the ribbon select Data > Data Validation, select “Date” from the list, and select “Less than or equal” from the list below. After that, in the “End date” line, enter the following formula:
VBA Code:
=TODAY()
 
Upvote 0
In order to enter dates according to your conditions:
select the range, then on the ribbon select Data > Data Validation, select “Date” from the list, and select “Less than or equal” from the list below. After that, in the “End date” line, enter the following formula:
VBA Code:
=TODAY()
thanks. :)
 
Upvote 0

Forum statistics

Threads
1,221,510
Messages
6,160,226
Members
451,632
Latest member
purpleflower26

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top