I have The following in a table in Cell A1:B6
I have the Car (Audi BMW) listed in cell C1 and D1. And need to obtain all the names under each car. eg tom and tim would be under BMW.
Need this in a VBA code please
[TABLE="width: 500"]
<tbody>[TR]
[TD]NAme[/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]phil[/TD]
[TD]Audi[/TD]
[/TR]
[TR]
[TD]andy[/TD]
[TD]Audi[/TD]
[/TR]
[TR]
[TD]jack[/TD]
[TD]Audi[/TD]
[/TR]
[TR]
[TD]tom[/TD]
[TD]BMW[/TD]
[/TR]
[TR]
[TD]tim[/TD]
[TD]BMW[/TD]
[/TR]
</tbody>[/TABLE]
I have the Car (Audi BMW) listed in cell C1 and D1. And need to obtain all the names under each car. eg tom and tim would be under BMW.
Need this in a VBA code please
[TABLE="width: 500"]
<tbody>[TR]
[TD]NAme[/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]phil[/TD]
[TD]Audi[/TD]
[/TR]
[TR]
[TD]andy[/TD]
[TD]Audi[/TD]
[/TR]
[TR]
[TD]jack[/TD]
[TD]Audi[/TD]
[/TR]
[TR]
[TD]tom[/TD]
[TD]BMW[/TD]
[/TR]
[TR]
[TD]tim[/TD]
[TD]BMW[/TD]
[/TR]
</tbody>[/TABLE]