Data validation to block all entries including empty cell..

omairhe

Well-known Member
Joined
Mar 26, 2009
Messages
2,040
Office Version
  1. 2019
Platform
  1. Windows
Hello!!

Could anyone please post a custom formula for data validation that could block all user input and even block empty cell. I acknowledge that the user could still copy paste but that is ok with me.

Ty.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
could you not just lock the range?
 
Upvote 0
H964AVh.png
I stumbled upon a solution...

H964AVh.png
 
Upvote 0
I stumbled upon a solution...
That solution doesn't work for me as far as I can understand your original description.
- If the cell already contains a value before that DV is set up, I can still delete that cell value, leaving the cell blank.
- If the cell was already empty when that DV is set up I can still select the cell and press either Enter or Delete, which means the DV has not met you requirement of "block empty cell"
 
Upvote 0
I agree. It still would not work but atleast the end user will be forced to initiate a Ctrl+z to return the blank cell's original value. He will refrain from re-entering a name or value other than the original one.
however I agree it is not 100 % avoidable..
 
Upvote 0
unless u remove the del key from the keyboard. lol
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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