Data Val Dynamic

You might also like

Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 4

Category Fruit

Item Oranges

On the Lists sheet, Column A contains a dynamic range named Category, that is the source for the da in the Category column here.

On the Lists sheet, Cell B1 is named Fruit, Cell C1 is named Vegetables, Cell D1 is named OtherStuff

On the Lists sheet, Column B is named FruitCol, Column C is named VegetablesCol, Column D is nam OtherStuffCol These names are used in the Data Validation formula in the Item column:

=OFFSET(INDIRECT(SUBSTITUTE($F2," ","")),0,0,COUNTA(INDIRECT(SUBSTITUTE($F2," ","")& The SUBSTITUTE function is used to remove the spaces in two word items, such as Other Stuff, because range names cannot contain a space character. To see the names, choose Insert>Name>Define...

Developed by Contextures Inc.

www.contextures.com

data validation

ff

amed

&"Col")),1)

Developed by Contextures Inc.

www.contextures.com

Fruit Apples Other Stuff Oranges Vegetables Lemons Grapes

Cabbage Lettuce Carrots Beets Brussels Sprouts Celery

Bread Meat Chocolate

Contextures Links
Contextures Excel Tips Website Contextures Excel Blog Excel Pivot Tables Blog Excel Theatre Blog (the lighter side of Excel) Debra's Pivot Table Books on Amazon 30 Excel Functions in 30 Days eBook Kit

Contextures Recommends
Jon Peltier's Excel Chart Utilities ExcelUser Dashboards Chandoo's Project Management Templates JP's Random Data Generator for Excel

www.contextures.com

1/18/2012

You might also like