Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
In cell A1 users are required to enter either 0,1 or 2. Firstly how do I make
this cell only accept these values and secondly, if they enter 1 (not 0 or 2) I need B1 to become a listbox, listing two options. Can anyone help please? I would like B1 to be blank if they put a 0 or 2 in A1 |
#2
![]() |
|||
|
|||
![]()
You need what many call Conditional Dropdowns. Check out my recent post
he http://www.vbaexpress.com/forum/show...1212#post31212 ******************* ~Anne Troy www.OfficeArticles.com www.MyExpertsOnline.com "Hardy03" wrote in message ... In cell A1 users are required to enter either 0,1 or 2. Firstly how do I make this cell only accept these values and secondly, if they enter 1 (not 0 or 2) I need B1 to become a listbox, listing two options. Can anyone help please? I would like B1 to be blank if they put a 0 or 2 in A1 |
#3
![]() |
|||
|
|||
![]()
Had a look at conditional formatting, but doesn't seem to allow you to
constrain a cell to 0,1 and 2 values, also it doesn't help with the showing of the listbox in B1 (or am i doing something wrong). Can't access your link "Anne Troy" wrote: You need what many call Conditional Dropdowns. Check out my recent post he http://www.vbaexpress.com/forum/show...1212#post31212 ******************* ~Anne Troy www.OfficeArticles.com www.MyExpertsOnline.com "Hardy03" wrote in message ... In cell A1 users are required to enter either 0,1 or 2. Firstly how do I make this cell only accept these values and secondly, if they enter 1 (not 0 or 2) I need B1 to become a listbox, listing two options. Can anyone help please? I would like B1 to be blank if they put a 0 or 2 in A1 |
#4
![]() |
|||
|
|||
![]()
I think Anne meant data validation not conditional formatting, see
http://www.contextures.com/xlDataVal01.html And CF does allow multiple values. Change the condition to FormulaIs and use a a formula like =OR(A1=0,A1=1,A1=2) -- HTH Bob Phillips "Hardy03" wrote in message ... Had a look at conditional formatting, but doesn't seem to allow you to constrain a cell to 0,1 and 2 values, also it doesn't help with the showing of the listbox in B1 (or am i doing something wrong). Can't access your link "Anne Troy" wrote: You need what many call Conditional Dropdowns. Check out my recent post he http://www.vbaexpress.com/forum/show...1212#post31212 ******************* ~Anne Troy www.OfficeArticles.com www.MyExpertsOnline.com "Hardy03" wrote in message ... In cell A1 users are required to enter either 0,1 or 2. Firstly how do I make this cell only accept these values and secondly, if they enter 1 (not 0 or 2) I need B1 to become a listbox, listing two options. Can anyone help please? I would like B1 to be blank if they put a 0 or 2 in A1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
data validation lists | Excel Discussion (Misc queries) | |||
named range, data validation: list non-selected items, and new added items | Excel Discussion (Misc queries) | |||
Data validation | Excel Worksheet Functions | |||
Pulling data from 1 sheet to another | Excel Worksheet Functions | |||
Using Validation List from Another Workbook with Dependent Data | Excel Worksheet Functions |