Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
We need to format a cell so that it will only accept a "Y" for yes, or a "N"
for no. How can this be done? Thank you |
#2
![]() |
|||
|
|||
![]()
To restrict a cell to accepting only "Y" or "N", you can use data validation in Excel. Here are the steps:
Now, the selected cell or range of cells will only accept "Y" or "N" values. If the user tries to enter any other value, they will see an error message (if you added an Error Alert) and the value will not be accepted.
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Select the cell (say,A1):
Data Validation Allow: select Custom Formula: =(OR(A1="Y",A1="N")) "NickR2" wrote in message ... We need to format a cell so that it will only accept a "Y" for yes, or a "N" for no. How can this be done? Thank you |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Select the cell or range of cells and choose Validation from the Data menu.
Change Allow to List and in the source box, type: Y, N This will allow the entry of a captial y or a captial n only in this cell or range. You can also click the input message tab and add a message that will appear when a user enters the cell, telling them the restrictions or enter an error message that the user receives when they enter incorrect data. "NickR2" wrote: We need to format a cell so that it will only accept a "Y" for yes, or a "N" for no. How can this be done? Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) |