2 combo boxes 2nd dependant on first (with conditions)

brentcook

Board Regular
Joined
Nov 28, 2016
Messages
78
First, you guys are awesome and have been so helpful. I find myself in another quandry.

I have a table on another sheet in a workbook that contains a dynamic table connected to a sharepoint contacts list that has School, Counselor, Email, Fax, and Phone.

Currently I use data validation to find the school from a list, then the counselor list is dependant on the school selected and lists only the counselors for that particular school, then autofills the 3 last boxes based on counselor.

I would like to use comboboxes because of the autofill tool that isn't available in data validation which would speed things up and ease the process considerably.

I have tried multiple ways and can't even get close so I scraped it.

My questions are: can I have data validation use a formula that is based off of the input of a combobox? If so, it would be an easy fix. The formula I have in the "Counselor" data validation is:

=OFFSET(Contacts!$A$2,MATCH($U$4,School,0)-1,1,COUNTIF(School,$U$4),1)

U4 is the School Input

If not, does anyone have an idea of code for the combobox of counselors to get me headed in the right direction?

Thanks again for all of you. You have saved my butt so many times.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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