Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Limit Cell Content

I would like to know how to limit a cell to only allow entry of the following
number values of 1 decimal point.
My limits are any value =15.0 to <=100.0 as long the is only 1 decimal point.

I'd appreciate any input.

Bob Z
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 464
Default Limit Cell Content

Data Validation
http://www.ozgrid.com/Excel/data-validation.htm



--
Regards
Dave Hawley
www.ozgrid.com
"Bob Zimmerman" wrote in message
...
I would like to know how to limit a cell to only allow entry of the
following
number values of 1 decimal point.
My limits are any value =15.0 to <=100.0 as long the is only 1 decimal
point.

I'd appreciate any input.

Bob Z


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Limit Cell Content

My limits are any value =15.0 to <=100.0
as long the is only 1 decimal point.


What version of Excel are you using?

Let's assume cell A1 is the cell of interest.

In Excel 2007...

Select cell A1
Data tabData toolsData Validation
Allow: Custom
Formula:

=AND(A1=15,A1<=100,MOD(10*A1,1)=0)

OK out

In Excel 2003 and earlier...

Select cell A1
Goto the menu DataValidation
Allow: Custom
Formula:

=AND(A1=15,A1<=100,MOD(10*A1,1)=0)

OK out


--
Biff
Microsoft Excel MVP


"Bob Zimmerman" wrote in message
...
I would like to know how to limit a cell to only allow entry of the
following
number values of 1 decimal point.
My limits are any value =15.0 to <=100.0 as long the is only 1 decimal
point.

I'd appreciate any input.

Bob Z



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Limit Cell Content

Thank you. I'm using Excel 2003.

Your formula works great.

Thanks again.

Bob Z

"T. Valko" wrote:

My limits are any value =15.0 to <=100.0
as long the is only 1 decimal point.


What version of Excel are you using?

Let's assume cell A1 is the cell of interest.

In Excel 2007...

Select cell A1
Data tabData toolsData Validation
Allow: Custom
Formula:

=AND(A1=15,A1<=100,MOD(10*A1,1)=0)

OK out

In Excel 2003 and earlier...

Select cell A1
Goto the menu DataValidation
Allow: Custom
Formula:

=AND(A1=15,A1<=100,MOD(10*A1,1)=0)

OK out


--
Biff
Microsoft Excel MVP


"Bob Zimmerman" wrote in message
...
I would like to know how to limit a cell to only allow entry of the
following
number values of 1 decimal point.
My limits are any value =15.0 to <=100.0 as long the is only 1 decimal
point.

I'd appreciate any input.

Bob Z



.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Limit Cell Content

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Bob Zimmerman" wrote in message
...
Thank you. I'm using Excel 2003.

Your formula works great.

Thanks again.

Bob Z

"T. Valko" wrote:

My limits are any value =15.0 to <=100.0
as long the is only 1 decimal point.


What version of Excel are you using?

Let's assume cell A1 is the cell of interest.

In Excel 2007...

Select cell A1
Data tabData toolsData Validation
Allow: Custom
Formula:

=AND(A1=15,A1<=100,MOD(10*A1,1)=0)

OK out

In Excel 2003 and earlier...

Select cell A1
Goto the menu DataValidation
Allow: Custom
Formula:

=AND(A1=15,A1<=100,MOD(10*A1,1)=0)

OK out


--
Biff
Microsoft Excel MVP


"Bob Zimmerman" wrote in message
...
I would like to know how to limit a cell to only allow entry of the
following
number values of 1 decimal point.
My limits are any value =15.0 to <=100.0 as long the is only 1 decimal
point.

I'd appreciate any input.

Bob Z



.



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
Changing the cell format doesn't change existing cell content Kate Excel Discussion (Misc queries) 2 January 14th 10 04:44 PM
copy comment content to cell content as data not as comment Lilach Excel Discussion (Misc queries) 2 June 21st 07 12:28 PM
Is there a way to limit the content of a cell to 5 choices? ChrissyG Excel Worksheet Functions 3 June 1st 06 05:23 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


All times are GMT +1. The time now is 05:12 PM.

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

About Us

"It's about Microsoft Excel"