You are here:

Excel/Creation of 2 different validationlists from 1 dropdownlist

Advertisement


Question
Hi Jerry,

I am trying to get 2 different lists (one list in one cell and another list in another cell) both depending on 1 dropdownlist, not using macros.

When choosing country (C6), I want 1 cell returning a list of sales reps. in that country (C7) and another cell returning a list of the pricegroups in that country (C37).

I have solved the pricegroups issue by using the Indirect-function and named ranges and naming the pricegroups after the country. Works perfectly.

Both sales reps and pricelists have their own tab.

I don't know how to make the sales reps work. They are placed

I can enclose a totally "cleaned" version of the spreadsheet if required.

Thanks for any help

Answer
If you want to use the INDIRECT method, the trick isn't to name the range after the country, name if after the country+anotherword.


For instance, for England, you name the range EnglandCountry, Austria would AustriaCountry, etc.

Then your INDIRECT() formula would be:

      =INDIRECT(C6 & "Country")

See how that works?  Now you can duplicate that method for EnglandPrices and EnglandColors and EnglandCodes.... anything you want.
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

All Answers


Answers by Expert:


Ask Experts

Volunteer


Jerry Beaucaire

Expertise

Excel Formulas, macros, automation. Microsoft Excel MVP - 2010. Code site with free code snippets and techniques: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files

Experience

Microsoft Excel MVP - 2010. I have my own extensive Excel help/code site: http://sites.madrocketscientist.com/jerrybeaucaires-excelassistant/files ===================== I have been offering free assistance as an Excel aid on many web sites for many years: (http://www.excelforum.com - JBeaucaire) ======== (http://www.askmehelpdesk.com/spreadsheets - JBeaucaire) ======= (http://www.mrexcel.com/forum - jbeaucaire)

Education/Credentials
Bachelor's Degree from Azusa Pacific University in Mathematics and Music Composition

Awards and Honors
Microsoft Excel MVP 2010

©2016 About.com. All rights reserved.