LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,514
Default Multiple items selected multiple dependancies available

Oops! A few typos...


This is not a trivial implementation of dependant DV dropdowns. I use


a similar approach in my 'Invoicing: Simple Bookkeeping' app for
selecting Chart Of Accounts items/subitems.

The structure I use is what
I call "T-bone" lists, where the accounts are a vertical list and
subaccounts run horizontal off their respective parent account. The
accounts list is a fixed defined name range. The subaccounts are
dynamic defined name ranges. The formula I use in the subaccount
column DV list Source is...

=INDIRECT(SUBSTITUTE(ExpenseCategory," ",""))

..where 'ExpenseCategory' is a col-absolute/row-relative defined name


with local scope that points to its dependant list.

This formula looks identical to yours, and is used
to remove spaces in the Category name because this is what's used for
the subaccount dynamic range defined names for the INDIRECT function.

If you can't see your dependant lists then I suspect your list ranges


are NOT properly defined.

I think you'll have to implement a more complex
methodology using multiple dependant DVs, but it shouldn't be too
difficult if you use multiple lists...

1st T-bone: Lists A:B
2nd T-bone: Lists B:C
3rd T-bone: Lists C:D

..and so on. This is the approach I'd use if my subaccounts had
subaccounts! There's no reason this won't work if you store all your
lists on a separate sheet, AND name them properly for use in their
respective DV list Source formulas. I'd go with the same naming
convention but append an index to the subsequent uses. (ie: Bank
Charges, Bank Charges2) This will cause the 3rd dependant list to


contain the items in the range named "BankCharges2" rather than the

items in the "BankCharges" range.

HTH


--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


 
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
Multiple cells or columns are selected instead of selected cell or Mikey Excel Discussion (Misc queries) 1 April 29th 09 09:48 PM
Moving Mutli-Column Multiple-Selected Listbox items up or down MP Excel Discussion (Misc queries) 0 January 14th 09 09:34 PM
Filtering using multiple selected items in a list box snowiii Excel Programming 0 August 21st 08 07:38 PM
order form with multiple items and sizes for items Bernard56 Excel Discussion (Misc queries) 1 January 17th 06 11:43 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM


All times are GMT +1. The time now is 05:29 PM.

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"