ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula question (https://www.excelbanter.com/excel-worksheet-functions/84952-formula-question.html)

[email protected]

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.


Elkar

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.



[email protected]

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



All times are GMT +1. The time now is 09:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com