cell that only a certain number may be entered

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a cell to allow only a certain number to be entered such as a 2 or a 0.
 
How about DV and Custom =A1=2

Only the number 2 is valid entry for A1.


Gord Dibben MS Excel MVP
 
that will work for the 2 but how do I make it accept both the 2 and the 0
 
I already posted this earlier in response to your post but here it is again.

=OR(A1=0,(A1=2))


Gord
 

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

Back
Top