Hi guys, long time member but still only scratching around. But I want to create productive tools for work.
Q: I have a company contact list that is updated for each job based on location. I want to specify the state in the header which dynamically creates lists of those company in that state. Later I plan to use dependent dropdown using those named lists. Any help you can't give to create a VB script of hybrid solution to achieve this without using arm length formulas would be appreciated. Many thanks.
1. Firstly, I wanted to create a reference by concatenating “Trade” + “State” for to select state based companies. I will hide this column later.
=CONCATENATE($A7,$B$3)
2. Secondly, in the “Company” sheet I wanted to identify each company by which state they operated in, by creating an identical ID to step 1 on “Data Entry” sheet.
=IF(O3<>"",CONCATENATE($A3,O3),"")
=IF('Data Entry'!$B$7=INDEX(Company!$W2:$AD2,1,MATCH('Data Entry'!$B$7,Company!$W2:$AD2,0)),'Data Entry'!$B$7,"")
3. Thirdly, I want to create dynamic named lists with those company names. I think this step would be best done in VB but am open to suggestions. I need to add multiple company name who work in the same state (this will create the dynamic lists.
=IF(A2=Company!$AF$2,Company!$B$2,"")
Q: I have a company contact list that is updated for each job based on location. I want to specify the state in the header which dynamically creates lists of those company in that state. Later I plan to use dependent dropdown using those named lists. Any help you can't give to create a VB script of hybrid solution to achieve this without using arm length formulas would be appreciated. Many thanks.
1. Firstly, I wanted to create a reference by concatenating “Trade” + “State” for to select state based companies. I will hide this column later.
=CONCATENATE($A7,$B$3)
2. Secondly, in the “Company” sheet I wanted to identify each company by which state they operated in, by creating an identical ID to step 1 on “Data Entry” sheet.
=IF(O3<>"",CONCATENATE($A3,O3),"")
=IF('Data Entry'!$B$7=INDEX(Company!$W2:$AD2,1,MATCH('Data Entry'!$B$7,Company!$W2:$AD2,0)),'Data Entry'!$B$7,"")
3. Thirdly, I want to create dynamic named lists with those company names. I think this step would be best done in VB but am open to suggestions. I need to add multiple company name who work in the same state (this will create the dynamic lists.
=IF(A2=Company!$AF$2,Company!$B$2,"")