Solved

Excel List

Posted on 2014-01-22
5
229 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 33

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 33

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 33

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

839 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