Combo Box dropdown generated listing all values in column B based on Matches for Column A

jmcease

New Member
Joined
Aug 17, 2021
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
I would like to populate the Combo Boxes in Colum D from data in Column B based on matches for specific values in Column A. I was able to do dropdown lists based on OffSet, but that wont work in a combo box and would like a combo box as they are always visible.
=OFFSET(B1,MATCH("Dinner-In-Home Meal",A2:A40,0),0,COUNTIF(A2:A40,"Dinner-In-Home Meal"),1)

=OFFSET(B1,MATCH("Personal Care",A2:A40,0),0,COUNTIF(A2:A40,"Personal Care"),1)

=OFFSET(B1,MATCH("Personal Care/Evenings",A2:A40,0),0,COUNTIF(A2:A40,"Personal Care/Evenings"),1)

=OFFSET(B1,MATCH("Personal Care/Weekends",A2:A40,0),0,COUNTIF(A2:A40,"Personal Care/Weekends"),1)

=OFFSET(B1,MATCH("ADC-Full Day w/NISP Meal",A2:A40,0),0,COUNTIF(A2:A40,"ADC-Full Day w/NISP Meal"),1)

=OFFSET(B1,MATCH("ADC-Half Day w/NISP Meal",A2:A40,0),0,COUNTIF(A2:A40,"ADC-Half Day w/NISP Meal"),1)

=OFFSET(B1,MATCH("PERS-Basic Monthly Fee",A2:A40,0),0,COUNTIF(A2:A40,"PERS-Basic Monthly Fee"),1)

=OFFSET(B1,MATCH("PERS-Enhanced Monthly Fee",A2:A40,0),0,COUNTIF(A2:A40,"PERS-Enhanced Monthly Fee"),1)

=OFFSET(B1,MATCH("Representative Payee",A2:A40,0),0,COUNTIF(A2:A40,"Representative Payee"),1)

=OFFSET(B1,MATCH("Representative Payee",A2:A40,0),0,COUNTIF(A2:A40,"Representative Payee"),1)

=OFFSET(B1,MATCH("Guardianship",A2:A40,0),0,COUNTIF(A2:A40,"Guardianship"),1)

Combo.xlsx
ABCD
1ServiceProviderUnit Cost
2Dinner-In-Home MealCommission on Economic Opportunity-0002$5.79
3Dinner-In-Home MealJewish Community Alliance of Northeastern PA$8.62
4Personal CareAllied in Home Services-0059$25.00
5Personal CareAngels on Call-0023$21.50
6Personal CareAssoicated Family Care-003$27.50
7Personal CareBayada Home Health-0138$25.75
8Personal CareCaregivers America LLC-0092$20.60
9Personal CareCompass Home Health & Rehab LLC$26.50
10Personal CareComprehensive Client Care Services-0003$28.00
11Personal CareErwine's Private Duty Health Care-0006$43.00
12Personal CareHelpmates-0097$21.72
13Personal CareHome Instead Senior Care-0003A$25.40
14Personal CareHome Instead (WB) Senior Care-0004 $27.50
15Personal CareHome Sweet Home Personal Care-0002$28.00
16Personal CareIndependent Life Home Care and Concierge Solutions-0001$21.00
17Personal CareInterim Health Care Services Inc -0033$24.95
18Personal CareMMS Homecare Staffing-0004$22.00
19Personal CareNEPA Home Care Inc., dba Visiting Angels-0003$28.00
20Personal CareNurses as Needed-0002$21.00
21Personal CarePlatinum Private Duty-0003$21.75
22Personal CareR & L Helpmates-0004$19.50
23Personal CareRevolutionary Nurses-0003$20.50
24Personal CareTelespond Senior Services-0007$30.00
25Personal CareWe Care Nurses-0002$20.00
26Personal Care/Evenings Telespond Senior Services-0007$35.00
27Personal Care/WeekendsTelespond Senior Services-0007$35.00
28ADC-Full Day w/NISP MealKeystone ADC Garden Estates-0008$71.00
29ADC-Full Day w/NISP MealActive Day of Plains-0058 $74.00
30ADC-Full Day w/NISP MealTelespond Senior Services-0007$72.00
31ADC-Half Day w/NISP MealActive Day of Plains-0058 $57.00
32ADC-Half Day w/NISP MealTelespond Senior Services-0007$51.00
33PERS-Basic Monthly FeeAutomated Security Alert-0002 $25.50
34PERS-Basic Monthly FeeCaregivers America LLC-0092$30.00
35PERS-Basic Monthly FeeValued Relationship-0004 $32.00
36PERS-Enhanced Monthly FeeAutomated Security Alert-0002 $29.50
37PERS-Enhanced Monthly FeeCaregivers America-0092 $40.00
38PERS-Enhanced Monthly FeeValued Relationship-0004 $32.00
39Representative PayeeThe Advocacy Alliance-0015$45.00
40GuardianshipFamily Service Association-0003$392.00
Providers
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I would like to populate the Combo Boxes in Colum D
Do you mean you want to use multiple combobox, one for each row?
How many combobox are you going to use?
I've created a single combobox that can appear and hide automatically when you select a cell in a certain range. So you only need one combobox for multiple cells.
Here's the example:

If you're interested in this method, I think I can modify the code to suit your needs.
 
Upvote 0
Do you mean you want to use multiple combobox, one for each row?
How many combobox are you going to use?
I've created a single combobox that can appear and hide automatically when you select a cell in a certain range. So you only need one combobox for multiple cells.
Here's the example:

If you're interested in this method, I think I can modify the code to suit your needs.
There will be a couple combo boxes as it is based on Service. If you select the first combo box the selections would be tied to the providers for Dinner-In-Home Meal, the next combo box would be personal care and so on.
 
Upvote 0
I don't quite understand your explanation.
So there are 2 combobox, are they dependent combobox? so when you pick an item in combobox1 then it will change the list in combobox2?
Can you explain in more detail?
 
Upvote 0
I don't quite understand your explanation.
So there are 2 combobox, are they dependent combobox? so when you pick an item in combobox1 then it will change the list in combobox2?
Can you explain in more detail?
The combo boxes are located on a sheet where a user will be selecting a vendor who provides Services(Provider). So there will be 10 combo boxes next to a Service - first one Dinner-In-Home Meals and the combo box would be a selection of 2 as there are two providers for that service. Next there will be a combo fox next to Personal Care of which there will be a selection 22 as there are 22 providers for that service. This will continue the Service is not a dropdown or combo box. It is just a section on a sheet
1629458125800.png
 
Upvote 0
Could you upload a sample workbook along with all the combobox (without sensitive data) to a sharing site like dropbox.com or google drive?
And then share the link here.
This will make it easier to understand & find a solution.
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,081
Members
453,021
Latest member
Justyna P

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