Solved

Create a dependent drop down list

Posted on 2012-03-20
4
208 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

761 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