Validation: allow only two numbers.

J

JEM

Cell starts off blank - I want users to enter only the numbers '0' or '20',
not the numbers between 1-19. Can this be done with Validation > Custom >
Formula?

Thanks.
 
F

Frank Kabel

Hi
enter the following formula in the validation dialog
(category 'custom') if you want to apply this rule for
cell A1:
=(A1=0)+(A1=20)
 

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