Query on Dependent Drop Down List ?

RahulNa

Board Regular
Joined
Jul 12, 2012
Messages
124
Office Version
  1. 365
Platform
  1. Windows
Hi Guys,

I hope all of you are doing good!

I will explain what I am trying to achieve. I am preparing a contact heatmap for my co. based on certain banks.

We have Region, Sales Name, Country, Bank Name as a drop-down list. I have completed till country, the problem arises with Bank Name since it is mapped according to country. Although no salesperson is going cross-country. I am unable to figure out how to make a drop-down list without having to a named range for each country.

I have a list which contains country and bank name.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Pretty hard to imagine exactly what you have, where and what you are trying to achieve.
Could you post (preferably with XL2BB)a small sample of what data/tables you do have that link these things & explain again in relation to that sample data?
 
Upvote 0
Hi Peter,

Below is the order of my Drop Down. I am able to create drop-down till Country. The issue is on the Bank Name Drop-Down Since it needs to check the country above it show result based on that.

Region
Sales / Inside Sales
Country
Bank Name


But I have the data in the below format which is a trouble to have each country and create a named range.

Country Wise Bank List

CountryBank Name
ThailandKasikorn Bank
ThailandBangkok Bank
AustraliaANZ
AustraliaNAB
AustraliaWestpac
AustraliaCBA
MalaysiaCIMB
 
Upvote 0
I still don't know your layout.
Where is that Country Wise Bank List list?
Is there only one cell that has the Country drop-down Data Validation or many (where)?
Is there only to be one cell with Bank Name drop-down Data Validation or many (where)?
 
Upvote 0
Hi Peter,

Where is that Country Wise Bank List list? - It's on a separate sheet within the file.
Is there only one cell that has the Country drop-down Data Validation or many (where)? - Yes, It's only one cell.
Is there only to be one cell with Bank Name drop-down Data Validation or many (where)? - Yes, It's only one cell.
 
Upvote 0
OK, IF your Excel 365 has the UNIQUE & FILTER functions (if it doesn't you should very soon as Microsoft's plan was to have them rolled out to all 365 customers in July) then you could see if you can adapt this.

Here is my sheet with the Country wise bank list in columns A:B
The formulas in columns D:E get entered in cells D2 and E2 only as the other values will 'spill' automatically into the other required rows

RahulNa 2020-07-14 1.xlsm
ABCDE
1CountryBank NameCountryBank Name
2ThailandKasikorn BankThailand 
3ThailandBangkok BankAustralia
4AustraliaANZMalaysia
5AustraliaNAB
6AustraliaWestpac
7AustraliaCBA
8MalaysiaCIMB
9
Lists
Cell Formulas
RangeFormula
D2:D4D2=UNIQUE(A2:A8)
E2E2=FILTER(B2:B8,A2:A8=Sheet1!B3,"")
Dynamic array formulas.



My other sheet with the Data Validation cells for Country and Bank Name in B3 & B4.
RahulNa 2020-07-14 1.xlsm
AB
1Region
2Sales / Inside Sales
3Country
4Bank Name
Sheet1
Cells with Data Validation
CellAllowCriteria
B3List=Lists!$D$2#
B4List=Lists!$E$2#


1594726173511.png


After choosing Australia in B3, the Lists sheet now looks like this:

RahulNa 2020-07-14 1.xlsm
ABCDE
1CountryBank NameCountryBank Name
2ThailandKasikorn BankThailandANZ
3ThailandBangkok BankAustraliaNAB
4AustraliaANZMalaysiaWestpac
5AustraliaNABCBA
6AustraliaWestpac
7AustraliaCBA
8MalaysiaCIMB
9
Lists
Cell Formulas
RangeFormula
D2:D4D2=UNIQUE(A2:A8)
E2:E5E2=FILTER(B2:B8,A2:A8=Sheet1!B3,"")
Dynamic array formulas.


And the Bank Name DV cell looks like this

1594726258266.png
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,301
Members
449,078
Latest member
nonnakkong

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top