JJohnson07
New Member
- Joined
- Aug 28, 2017
- Messages
- 2
I am using Excel 10. If I have multiple reps that have scheduled visits, and the scheduled visits I want to track are identified with the numbers 2-51. How do I identify the missing visits according to the rep? I have found a few great VBAs for the missing numbers, have not found a solution tying the missing numbers to the rep's name. I would greatly appreciate any support! Below is an example of the data:
[TABLE="width: 250"]
<tbody>[TR]
[TD]Reps
[/TD]
[TD]Visit
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]Beth
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Beth
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Beth
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]7
[/TD]
[/TR]
</tbody>[/TABLE]
The output I need is as follows:
[TABLE="width: 250"]
<tbody>[TR]
[TD]Jim[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Josh[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Josh[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 250"]
<tbody>[TR]
[TD]Reps
[/TD]
[TD]Visit
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Jim
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]Beth
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Beth
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Beth
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Josh
[/TD]
[TD]7
[/TD]
[/TR]
</tbody>[/TABLE]
The output I need is as follows:
[TABLE="width: 250"]
<tbody>[TR]
[TD]Jim[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Josh[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Josh[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]