Solved

Create a dependent drop down list

Posted on 2012-03-20
4
202 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
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:leptonka
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Tks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now