Solved

Create a dependent drop down list

Posted on 2012-03-20
4
209 Views
Last Modified: 2012-06-27
Is it possible to create two drop down list such that the 1st list will show the category and the second list will only show the account under the selected category in 1st list box ?
However, I don't want to name each category and account in a name range as the rows are always changing.


Category                    Account
--------------                  -------------  
O&M Costs      O&M Contract
O&M Costs      R&M Labour
O&M Costs      R&M Materials
Salaries & Benefits      Salaries
Salaries & Benefits      Bonuses
Salaries & Benefits      Pension Contribution
Salaries & Benefits      Health Insurance
Salaries & Benefits      Travel Insurance
Salaries & Benefits      Other Employee Benefits
Training, Development and Recruitment      Recruiter Fees
Training, Development and Recruitment      Job Advertising Fees
Training, Development and Recruitment      Other Recruitment Expenses
Training, Development and Recruitment      Training & Development
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:leptonka
ID: 37741546
Hi,
I this tutorial article you will find how to build up dependent lists:

http://www.contextures.com/xldataval02.html

Cheers,
Kris
0
 

Author Comment

by:AXISHK
ID: 37745475
Thanks, but how to dynamically modify the new rows within each category , without separting each category into different sheets ?
0
 
LVL 7

Accepted Solution

by:
leptonka earned 500 total points
ID: 37750420
I created a sample file for you using tables.
You can add new categories + a sub-category table as you see on Sheet1. You need to write the table name of the sub-category table next to the newly added category. In the example I use table names as HV.1 , HV.2 etc.
In the validation formula for Subcategory I use a vlookup assuming that the Category choosen is in the same row but one column left - so for Subcategory in C4 it looks the Category in B4.
Hope it will help.
Cheers,
Kris
Validation-EE-1.xlsx
0
 

Author Closing Comment

by:AXISHK
ID: 37763871
Tks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question