Microsoft Excel - Creating a list based on cell value

Asked By Patrick
07-Sep-10 04:47 PM
My company is divided into Regions, Districts and individual store locations.  I am building a spreadsheet that would show performance by each of these groupings.  I want to be able to populate a list of regions, districts, or stores based on user selections made from data validation lists.  Right now my data validation lists are set up so that a user can drill down into the data. 

For example - if a user selects Region 1, the district data validation list only shows districts that belong to Region 1.  Likewise if a user selects a region and corresponding district the store data validation list only shows stores that belong to the district selected.

Below these 3 data validation lists I would like to find a formula/code to do the following:

If a user in the "Regions" field selects "All" I need to have a listing of all regions populate the spreadsheet. 

If a user selects "Region 1" instead of a listing of all regions I need to have a listing of all districts belonging to Region 1 populate the spreadsheet.

If a user selects a any Region/District combination I need to have a list of all stores belonging to the chosen district populate the spreadsheet.

If this possible?
  Rolf Jaeger replied to Patrick
07-Sep-10 08:57 PM
Hi Patrick:

if your data is really located in a single worksheet you could experiment with Excel's built-in Autofilter function... Have you tried that?

Best wishes,
Rolf
Create New Account
help
How to get Excel.Worksheet in DataTable using C# Hi, I want to get the data from an excel worksheet to a data Table in c#. How I can do that using Microsoft.Office.Interop.Excel? This is my code snippets Microsoft.Office.Interop.Excel.Application ExcelObj = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel.Workbook theWorkbook = ExcelObj
how do i import data from my excel worksheet into quickbooks Excel Excel Worksheet Discussions Microsoft Excel (1) Excel (1) Worksheet (1) Start from Quickbooks and do your Import from that application. Excel cannot
how to delete an excel worksheet? Excel Excel Miscellaneous Discussions Microsoft Excel (1) Worksheet (1) Windows (1) Right-click on sheet tab and "delete". Gord Dibben MS Excel MVP keywords: how, to, delete, an, excel, worksheet?
fill color a protected cell without unprotecting worksheet Excel Excel Worksheet Discussions Microsoft Excel (1) Excel (1) Worksheet (1) SalesAid (1) Meaningfulsubject (1) Bodies (1) The archives do not understand blank email bodies
can you embed a worksheet within the cell of another worksheet? Excel Excel Worksheet Discussions Microsoft Excel (1) Worksheet (1) Workbook (1) Workbook worksheet (1) Cell (1) No, but you could put a hyperlink