Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I don't know of a way to PREVENT the second entry of "True" in another of the
seven cells. As you said you can use Data Validation to allow only "True" to be entered. When you set this up, you want validation from a list, then in the window below type 'True (single quote T-r-u-e) to prevent Excel from treating "True" as a logical operator. Now, in the cell below your seventh True cell, you could put in the formula: =IF(COUNTA($A$2:$A$8)1,"You may enter a value of 'True' in ony one of the highlighted cells above","") (where A2-A8 are your seven cells), which will make a message appear if the user enters a second "True". But it does not actually prevent them from doing so. Another way to do the error flag is to put this formula in the cell to the right of the first of the seven cells, then copy it down to the 7th: =IF(AND(COUNTA($A$2:$A$8)1,(A2="True")),"You may enter a value of 'True' in ony one of the highlighted cells above","") Using this, each of the cells with "True" get flagged, until the user complies by deleting any extra entries. HTH "JLS" wrote: I have a range of 7 cells in a column. I want to be able to a-allow only a "True" input (from a drop down list unless there is another way to accomplish this) b-if any of the other cells already contain "True", they can not duplicate the entry in the other cells and display an error message that says they can answer "True" only once in the range of cells. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Color cell validation? | Excel Discussion (Misc queries) | |||
Dependent List (via Data Validation) Error | Excel Worksheet Functions | |||
Data Validation and Blanks in List | Excel Worksheet Functions | |||
Printing data validation scenarios | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |