Avoiding blank date in data validation

pilot

Active Member
Joined
Feb 17, 2002
Messages
345
In Excel 2007, I'm using data validation to only accept a valid date. Without using code, how can I reject a blank cell? I tried unchecking "Ignore blank" without success. Actual validation is set to allow Date greater than 08/01/2011.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi

Might be a bit late but you could try changing the Data Validation to 'Allow Custom' and then use a formula like;

Code:
=AND(NOT(ISBLANK(A1)),NOT(ISTEXT(A1)),A1>=40551)
That'll stop Blank Cells, Text in the Cells and Dates less than 08/01/2011 (Serial: 40551)

Data Validation can sometimes be broken though (if you allowed text then a space or any kind of text would let you get round it for example) so you might want to try your best to break it before using it.

:)
 
Upvote 0
Looks like this should work but for some reason, it still allows a blank cell to pass validation. Currently the cell reads "Enter date here" in an unlocked cell of a protected sheet. Deleting that text to leave a blank cell still passes data validation with your sugested formula. Any other thoughts?
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,147
Members
452,891
Latest member
JUSTOUTOFMYREACH

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