Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default limiting selections in drop down list

i need to limit the available selections in a drop down list based on data in
adjacent cells.
ex: if LEFT(A1,1)="D" and LEFT(B2,1)="D" then the list contains options a, b
& c.
if LEFT(A1,1)="D" and LEFT(B2,1)="T" then list should have options d, e & f.
i am using a data validation drop down list because i am not familiar with
visual basic or in using activeX control objects. i think i may need to use a
list box.
please help and thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default limiting selections in drop down list

Try this.

C1 =IF(LEFT($A$1,1)&LEFT($B$1,1)="DD","a","d")
C2 =IF(LEFT($A$1,1)&LEFT($B$1,1)="DD","b","e")
C3 =IF(LEFT($A$1,1)&LEFT($B$1,1)="DD","c","f")

In D1 Data Validation Allow List =Data (Or select C1:C3) Ok

In A1 & B1 enter your text , I used Dog and Dog or Dog and Tog

The list in C1:C3 goes from a, b, c to d, e, f.

HTH
Regards,
Howard

"dkingston" wrote in message
...
i need to limit the available selections in a drop down list based on data
in
adjacent cells.
ex: if LEFT(A1,1)="D" and LEFT(B2,1)="D" then the list contains options a,
b
& c.
if LEFT(A1,1)="D" and LEFT(B2,1)="T" then list should have options d, e &
f.
i am using a data validation drop down list because i am not familiar with
visual basic or in using activeX control objects. i think i may need to
use a
list box.
please help and thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default limiting selections in drop down list

Just re-thought my suggested solution, you posted in Programming, you
probably want a VBA solution.

Will give it some thought, but cannot do that right now.

Regards,
Howard

"dkingston" wrote in message
...
i need to limit the available selections in a drop down list based on data
in
adjacent cells.
ex: if LEFT(A1,1)="D" and LEFT(B2,1)="D" then the list contains options a,
b
& c.
if LEFT(A1,1)="D" and LEFT(B2,1)="T" then list should have options d, e &
f.
i am using a data validation drop down list because i am not familiar with
visual basic or in using activeX control objects. i think i may need to
use a
list box.
please help and thanks in advance.



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
can a drop down list be set up to enable multiple selections? reneeo93 Excel Discussion (Misc queries) 1 November 6th 09 12:13 AM
data in drop down list is limiting number of entries Never Excel Worksheet Functions 0 September 18th 09 02:57 PM
Macro to email all drop list selections Mara Excel Discussion (Misc queries) 1 March 31st 09 04:53 AM
List all selections from drop down Dax Arroway Charts and Charting in Excel 1 October 21st 06 12:37 PM
multiple selections from drop down list Andyroo Excel Worksheet Functions 4 August 16th 06 06:39 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"