#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Formula question

I would like to only be able to enter a number between 1 and 5 in
certain cells in a spreadsheet. Is there a way to do this? Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default Formula question

Yes, you can use Data Validation.

Select your cell(s), then from the Data Menu, select "Validation..."

Change the Allow value to "Whole Number" or "Decimal" depending on your needs.

Then set your minimum and maximum values. 1 and 5 for your example.

You can also, if you like, customize the error message that the user will
receive if they enter an invalid number.

HTH,
Elkar


" wrote:

I would like to only be able to enter a number between 1 and 5 in
certain cells in a spreadsheet. Is there a way to do this? Thank you.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Formula question

Thank you very much. That worked great, but can I enter a validation
for a sum function? Thank you.

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
Formula Question Formula Question Excel Discussion (Misc queries) 2 April 23rd 06 12:00 AM
Excel formula question bb Excel Discussion (Misc queries) 3 April 20th 06 03:11 AM
Formula Question Marcus Feldmore Excel Worksheet Functions 1 November 11th 05 03:47 PM
I have a question regarding countif formula. Fahad Farid Ansari Excel Worksheet Functions 6 October 1st 05 11:57 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 02:52 PM.

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"