Custom Data Validation : Lock if MyCell = ""?

G

Guest

I am trying to use a custom data validation formula to prevent entry in a
cell if another cell is blank.

If I enter:
=ISBLANK($G$51)
I get the opposite of what I want... Cell G51 is blank and I do not want the
user to be able to enter data in the cell I am using validation on.

If I enter:
=(NOT(ISBLANK($G$51))
The user can enter data into the cell I am using validation on regardless of
if there is data in it or not!

I am using Excel 2003 SP3.

Not sure what's up with this and couldn't find a similar post... I
appreciate any insight!

Later-
Ray
 
P

Peo Sjoblom

Use

=$G$51<>""



and make sure you clear the "Ignore Blank" checkbox



--


Regards,


Peo Sjoblom
 
G

Guest

Thanks for the responses - It looks like the key factor was the "Ignore
Blank" checkbox - Crisis Averted...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top