I need some ideas how to copy lines which matches criteria.
I have such data:
A B C D
1 Country Brand Model Year
2 France Peugeot, Citroen (France) Car 2003
3 Germany VW, Opel, BMW (Germany) Car 2003
...
The goal is that each car brand with it's parameters would be in separate lines/
What I'd like to do is to copy line #2 to the bottom of the table and copy line #3 2 times to the bottom of the table. Also create column F
which shows the brand.
Result should look like this:
A B C D F
1 Country Brand Model Year
2 France Peugeot, Citroen (France) Car 2003 Peugeot
3 France Peugeot, Citroen (France) Car 2003 Citroen
4 Germany VW, Opel, BMW (Germany) Car 2003 VW
...
Also, I have Brand list in separate sheet.
Should I try search for a ,
or try to match those brands from list in separate sheet?
I am new with vba
so any ideas, suggestions will be appreciated!