Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

Create a dependent drop down list

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
AXISHK
Asked:
AXISHK
  • 2
  • 2
1 Solution
 
leptonkaCommented:
Hi,
I this tutorial article you will find how to build up dependent lists:

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

Cheers,
Kris
0
 
AXISHKAuthor Commented:
Thanks, but how to dynamically modify the new rows within each category , without separting each category into different sheets ?
0
 
leptonkaCommented:
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
 
AXISHKAuthor Commented:
Tks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now