Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
DS DS is offline
external usenet poster
 
Posts: 117
Default Generate a List By a Condition

I have 3 lists defined in worksheet 2, lists A, B, C. In worksheet 1, the
cells in column A will equal either A, B, or C. I want the dropdown list in
column 2 to be conditional of the value in column 1.

column a column b
A List A
C List C
A List A
B List B

etc...

I'm having a lot of trouble figuring this one out. Any ideas or help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 105
Default Generate a List By a Condition

Let's suppose list A in colummn A, list B in column B and list C in
column C. Define ListA as referring to :
=OFFSET(Sheet2!$A$1,,,COUNTA(Sheet2!$A:$A))
same thing for ListB and ListC
Select column B and with data validation list, enter the formula :
=IF(A1="a",ListA,IF(A1="b",ListB,IF(A1="c",ListC," ")))
For better understanding, here is the sample file :
http://www.filedropper.com/081120
HTH
Daniel

I have 3 lists defined in worksheet 2, lists A, B, C. In worksheet 1, the
cells in column A will equal either A, B, or C. I want the dropdown list in
column 2 to be conditional of the value in column 1.

column a column b
A List A
C List C
A List A
B List B

etc...

I'm having a lot of trouble figuring this one out. Any ideas or help?



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
How generate new list in another worksheet from existing list? NSF Excel Worksheet Functions 0 September 24th 08 01:08 PM
Generate list dvya Excel Worksheet Functions 3 July 23rd 08 07:46 PM
How to generate a list from a table Prashant Rao Excel Discussion (Misc queries) 1 November 14th 07 10:17 PM
How can I generate a list of the worksheets by name georgia-miner Excel Discussion (Misc queries) 2 April 27th 07 08:10 PM
generate a menu list Rico Excel Discussion (Misc queries) 1 July 17th 06 04:00 AM


All times are GMT +1. The time now is 06:46 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"