Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tracy
 
Posts: n/a
Default excel validation to 1 decimal place

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
  #2   Report Post  
gls858
 
Posts: n/a
Default

Tracy wrote:
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
  #3   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You could use a custom data validation:

Select the cell
Choose DataValidation
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


Tracy wrote:
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



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

That will only change the display, the underlaying value is the same

--

Regards,

Peo Sjoblom


"gls858" wrote in message
...
Tracy wrote:
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



  #5   Report Post  
Tracy
 
Posts: n/a
Default

Thank you Debra.

I see where I went wrong (two = signs)!

Makes sence now.



"Debra Dalgleish" wrote:

You could use a custom data validation:

Select the cell
Choose DataValidation
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


Tracy wrote:
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



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Automate Excel to powerpoint - Graphs along with Datasheet (not workbook) Hari Prasadh Charts and Charting in Excel 4 February 17th 05 03:44 PM
How do I convert decimal inches to fractions in excel JTZ Excel Discussion (Misc queries) 2 February 7th 05 10:31 PM
How Do I open an excel file without Excel Viewer support CocoriteBallGiants Excel Discussion (Misc queries) 2 February 4th 05 11:50 PM
EXCEL Decimal changes during WORD Merge svlm Excel Discussion (Misc queries) 1 January 5th 05 05:33 PM


All times are GMT +1. The time now is 12:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"