Data Validation

A

Alex H

Hi

I have some cells which validate to ensure that users dont enter a value of
more than 5. This works Ok until users in clearing the contents, use the
space bar and not the clear content function.

Is there a way i can validate data to allow either cell = null, blank or
anything up to 5.

Thanks

Alex
 
P

Peo Sjoblom

Tell the user not to do that, it is like typing text into a cell, clear the
cell
using the menu or record a macro clearing the cell and attach the macro to a
button
you call Clear. Otherwise I assume something like this will work using
custom under the validation menu

=AND(B1<=5,B1=" ")
 
A

Alex H

Thanks a lo Peo

I do tell them that, but who am I a mere IT techie...

I sometimes would like to pop up a big sign saying DUMMY when they do that

Alex
 
A

Alex H

LOL - yes I saw that one !

Cheers

Alex


Peo Sjoblom said:
Sorry, wrong formula,

=OR(B1<=5,B1=" ")

where B1 is the cell with validation

--

Regards,

Peo Sjoblom


macro blank
 

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