excel validation to 1 decimal place

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
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
 
Back
Top