excel validation to 1 decimal place

G

Guest

I want to restricted cell input to 1 delimal place ie 77.9.
if user tries to input 77.09 or 77.48 or any figure to two decimal place
they are prevent and must put in ie 77 or 77.4.

Any ideas
 
G

gls858

Tracy said:
I want to restricted cell input to 1 delimal place ie 77.9.
if user tries to input 77.09 or 77.48 or any figure to two decimal place
they are prevent and must put in ie 77 or 77.4.

Any ideas
You could right click and select format > number and then tell
it only 1 decimal. It won't prevent them from putting one in
but it will round it to 1 decimal.

gls858
 
D

Debra Dalgleish

You could use a custom data validation:

Select the cell
Choose Data>Validation
From the Allow dropdown, choose Custom
In the Formula box, type a formula that refers to the selected cell,
e.g.: =D3=ROUND(D3,1)
(optional) Add an Input Message and/or an Error Alert
Click OK
 

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