Complex Dropdown in a Cell

H0ck3y

New Member
Joined
May 12, 2019
Messages
1
I'm creating a Level of Effort Calculator. I already have some complex VBA macros that help add or delete specific data in the various tables across the worksheets in my workbook, so if VBA is required, that's no big deal.

The summary of it all is that in table1, I have a dynamic Data Validation Dropdown that allows the user to select a labor category name that is defined in table2. Table2 also has a column with each Labor Category's rate. I then have a second column in table1 that uses a VLookup to grab the selected Labor Category's rate from table2. What I would like column 3 in table1 to do is lookup in table3 the names of all engineers whose rate is less then or equal to the selected labor Category's rate.

Table3 has 3 columns. The first column has the names of our engineers. Column 2 has each engineer's hourly cost to the company and the last column has their fully burdened rate. The goal with column 3 in Table1 is to limit the user's ability to select an engineer for the job whose fully burdened rate is greater than the selected Labor Category's rate. Basically, I'd like column 3 to be a filtered data validation Dropdown.

Not sure if this is possible to do with a custom validation formula and some complex combination of MATCH and IF statements or if I will need to use some VBA code to filter the validation list. If the latter is required, is it possible to run the macro upon changing the labor category or would I have to attach the macro to a button to update the available engineers?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,224,742
Messages
6,180,685
Members
452,993
Latest member
FDARYABEE

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