Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default making multiple lists from one, with uniqueness

Let's assume A1 contains a drop down with these selections: Bar, Baz, Foo.

X1:Y1 are the column headers for the dynamic ranges Bar, Baz, Foo.

You want a drop down in B1 based on the selection made in cell A1. If you
select Foo in A1 you want the drop down in B1 to contain the items from te
dynamic range Foo.

As the source for the drop down in B1 use:

=CHOOSE(MATCH(A1,X1:Z1,0),Bar,Baz,Foo)

--
Biff
Microsoft Excel MVP


"Phil" wrote in message
...
T. Valko wrote:
I don't see why you're using INDIRECT in the first place. =Bar, =Baz,
=Foo will work as you noted. Unless you're using another cell to pick
which list to use?


Not exactly - tho that thought had crossed my mind as a future
possibility; I'm already using X1:Z1 as validation for A1:A19, so I just
figured the file would be easier to maintain if that list of lists were
stored in only one place. (BTW, I'd greatly appreciate it if you'd
explain further, in case that possibility becomes a necessity - how
*would* I go about, say, adding validation to column B? :-))

As far as the names not showing up in the name box...

Technically, those formulas used to define the dynamic ranges are *named
formulas*. Named formulas don't show up in the name box.


Okay, I hadn't made that distinction; I just thought "a name is a name".
Thanks for explaining it to me.



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
Making Lists of numbers nebula Excel Discussion (Misc queries) 5 May 10th 08 01:57 AM
help with making a function to filter lists monkeytrader Excel Worksheet Functions 2 October 27th 07 04:50 AM
Verifying uniqueness of records in data arad Excel Discussion (Misc queries) 4 June 25th 07 05:50 PM
Making multiple selections from Excel drop down lists Andyroo Excel Worksheet Functions 7 August 17th 06 03:16 AM
Making individualized word lists from a SS Rod ElEd Excel Discussion (Misc queries) 2 March 22nd 06 10:52 PM


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