Hello Everybody,
I have a business requirement to come up with a list of conflicting duties for any person who has duties assigned.
I am not able to get the logic to do this on Excel and would need some help.
Tables I have (Inputs):
1) Name and Duty
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Name[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Duty[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]duty2[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]duty3[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]duty4[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]duty5[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]duty6[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]duty7[/TD]
[/TR]
[TR]
[TD]Vince[/TD]
[TD]duty8[/TD]
[/TR]
[TR]
[TD]Vince[/TD]
[TD]duty9[/TD]
[/TR]
</tbody>[/TABLE]
2) Duty and Conflict
[TABLE="width: 500"]
<tbody>[TR]
[TD]Duty[/TD]
[TD]Conflict[/TD]
[/TR]
[TR]
[TD]duty1[/TD]
[TD]duty3[/TD]
[/TR]
[TR]
[TD]duty3[/TD]
[TD]duty1[/TD]
[/TR]
[TR]
[TD]duty5[/TD]
[TD]duty6[/TD]
[/TR]
[TR]
[TD]duty6[/TD]
[TD]duty5[/TD]
[/TR]
</tbody>[/TABLE]
Output required:
1) Name, Duty, Conflict
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Duty[/TD]
[TD]Conflict[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]duty3[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD]duty1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]duty5[/TD]
[/TR]
</tbody>[/TABLE]
I have attached a sample of the requirement. It has the input tables and the required output.
Please advice.
Warm regards.
I have a business requirement to come up with a list of conflicting duties for any person who has duties assigned.
I am not able to get the logic to do this on Excel and would need some help.
Tables I have (Inputs):
1) Name and Duty
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Name[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Duty[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]duty2[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]duty3[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]duty4[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]duty5[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]duty6[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]duty7[/TD]
[/TR]
[TR]
[TD]Vince[/TD]
[TD]duty8[/TD]
[/TR]
[TR]
[TD]Vince[/TD]
[TD]duty9[/TD]
[/TR]
</tbody>[/TABLE]
2) Duty and Conflict
[TABLE="width: 500"]
<tbody>[TR]
[TD]Duty[/TD]
[TD]Conflict[/TD]
[/TR]
[TR]
[TD]duty1[/TD]
[TD]duty3[/TD]
[/TR]
[TR]
[TD]duty3[/TD]
[TD]duty1[/TD]
[/TR]
[TR]
[TD]duty5[/TD]
[TD]duty6[/TD]
[/TR]
[TR]
[TD]duty6[/TD]
[TD]duty5[/TD]
[/TR]
</tbody>[/TABLE]
Output required:
1) Name, Duty, Conflict
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Duty[/TD]
[TD]Conflict[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]duty3[/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD]duty1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]duty6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]duty5[/TD]
[/TR]
</tbody>[/TABLE]
I have attached a sample of the requirement. It has the input tables and the required output.
Please advice.
Warm regards.