Copying different names from one collumn.

Vilus

New Member
Joined
Aug 10, 2017
Messages
1
Good evening everyone,

I've just started working with Excel VBE and I've ran into a problem.

I need a VBE solution to copy certain data from a collumn. For example a collumn looks like this:

Carlsberg
Carlsberg
Carlsberg
ISS A/S
ISS A/S
ISS A/S
ISS A/S
ISS A/S
ISS A/S
H. Lundbeck A/S
H. Lundbeck A/S
H. Lundbeck A/S
H. Lundbeck A/S
FLSmidth & Co.A/S

<tbody>
</tbody><colgroup><col></colgroup>

In the 2nd, 3rd and other rows there are information which has to be copied along with the name of a brand and pasted in new document or sheet.

Basically I need help figuring out how to tell VBE to differ between names in the collumn so it would copy everything what is related to Carlsberg, ISS A/S and so on and paste it to other sheet/document.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,215,107
Messages
6,123,126
Members
449,097
Latest member
mlckr

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