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.
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.
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?
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.