Dynamic data validation list to exclude values selected in the previous cell on the same row

UrosV

New Member
Joined
Mar 8, 2009
Messages
3
Hi everyone, this seemed like a simple problem but I'm struggling to see a simple solution. Basically I have a 'Project tracker' spreadsheet that contains two people resource columns. One is titled 'Project Lead' and the other 'Project Support'. The validation list for both of these is based on the same list of names. There can only be one lead, but we can have more than one support. However, the lead cannot be also listed as support for the same project. To keep data unique to row, I added a vba code to allow for more than one entry in the support column separated by a commas. All of the entries are based off of the same data validation list. My problem is for each row to restrict the list to names that are not listed in Lead and also exclude those already selected in Support. But this needs to reset when new entry is made in a new row. See below for the simplified example of what I currently have.
[TABLE="width: 468"]
<tbody>[TR]
[TD][TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]PROJECT[/TD]
[TD]LEAD[/TD]
[TD]SUPPORT[/TD]
[/TR]
[TR]
[TD]myproject A[/TD]
[TD]Josh[/TD]
[TD]Adam, Brett[/TD]
[/TR]
[TR]
[TD]myproject B[/TD]
[TD]Adam[/TD]
[TD]Josh, Brett, Jack[/TD]
[/TR]
[TR]
[TD]myproject C[/TD]
[TD]Jack[/TD]
[TD]Adam, Josh[/TD]
[/TR]
[TR]
[TD]myproject D[/TD]
[TD]Brett[/TD]
[TD]Josh[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="class: outer_border, width: 200, align: left"]
<tbody>[TR]
[TD]Project Resources List[/TD]
[/TR]
[TR]
[TD]Adam[/TD]
[/TR]
[TR]
[TD]Brett[/TD]
[/TR]
[TR]
[TD]Josh[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[/TR]
</tbody>[/TABLE]






Almost all solutions I have been able to find, focus on excluding values along a column range. This however requires that the list be 'calculated' from scracth for each row. Any ideas?

Thanks

Uros
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,225,628
Messages
6,186,106
Members
453,337
Latest member
fiaz ahmad

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