Solved

Excel List

Posted on 2014-01-22
5
216 Views
Last Modified: 2014-01-22
I would like to define a range. Top row to be categories and rows below be sub categories. Following use a drop down box or list to select category and sub category.
20140122-Experts-Exchange---cate.xlsx
0
Comment
Question by:WTC_Services
  • 3
  • 2
5 Comments
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39799419
Are you trying to then Filter a data set based on your selections? Which version of Excel?

If your data is in a list/table format you might be able to use Slicers that were introduced in 2010.

In the meantime I will look at existing file.

Rob H
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39799510
See attached.

DataValidation dropdown in C21, validation list stright from top row of table.
DataValidation dropdown in C22, validation from list generated by a named dynamic data range.

Dynamic Range uses formula:

=OFFSET(Sheet1!$C$5,1,MATCH(Sheet1!$C$21,Sheet1!$D$5:$K$5,0),12,1)

This creates a list using OFFSET function:

=OFFSET(Reference, RowOffset, ColumnOffset, Height, Width)

Reference = C5, top left of table
Row Offset = 1, subcategory data starts in next row down
Column Offset = uses MATCH function to match the category in C21 within the table headers.
Height = number of entries in list, I have set arbitrarily to 12 but could be set with formula if so required.
Width = Set to 1 as you only need one column.

Thanks
Rob H
Category-and-SubCategory.xlsx
0
 

Author Comment

by:WTC_Services
ID: 39799532
Hi Rob H,

The attached Excel spread sheet does not seem to have any editing?

Cheers

Mark
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 39799582
Hi Mark,

If you put the cursor in C21 you should get a dropdown to the right hand end to select a value.

Once that value is selected, the options in a similar dropdwon in C22 will change accordingly.

Thanks
Rob H
0
 

Author Closing Comment

by:WTC_Services
ID: 39801443
Excellent prompt answer, thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding Text that self adjusts in a Cell 8 32
Excel Score Formula 5 49
Excel sheet question 12 26
Auto Adjust Percent rate 5 30
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

920 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

13 Experts available now in Live!

Get 1:1 Help Now