Data Validation (Specific Decimals or Whole #)

  • Thread starter Thread starter testes
  • Start date Start date
T

testes

is it possible to set up a data validation where the only numbers tha
someone can enter into a cell are either whole numbers or end in ".5
numbers can be 0, 1, 1.5, 5000.5, etc.... basically any decimal
other than .5 or .0 are not wanted. can anyone help out
 
Using Cell A1, try this:

Data>Data Validation
Allow: Custom
Formula: =MOD(A1,0.5)=0

Does that help?

Regards,
Ro
 
one last thing, is it possible to make this formula a multi- validatio
formula? where the two conditions are that it's either in .0 or .
format and that the number doesn't exceed a certain number in anothe
cell
 
Again using Cell A1, try this:

Data>Data Validation
Allow: Custom
Formula: =AND((MOD(A1,0.5)=0),(A1<=SomeCell))

Does that help?

Regards,
Ron
 

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