copying data based on the condition

subh_xl

New Member
Joined
Jun 21, 2012
Messages
3
hi all,
this is my first post and i am new to excel macros.
i have some difficulties please help me to get through it.

in Sheet 1 i have four columns

ID name last_name
1 A B
2 B C
1 A B

what i need in second sheet is data of ID 1 only.
Please let me know the solutions.

Thanks in Advance.
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

jeremypyle

Board Regular
Joined
May 30, 2011
Messages
166
Please explain a bit what you mean. What do you want to go into the second sheet?

1 A B?

Or something else?
 

jeremypyle

Board Regular
Joined
May 30, 2011
Messages
166
In Sheet2, what do you want to go into each cell?

For example, what result do you want in a1, b1, c1, a2, b2, c2, a3, b3, c3? If you tell me this it will help
 

subh_xl

New Member
Joined
Jun 21, 2012
Messages
3
Sorry for not providing the data porperly.

in Sheet 2 i want all athe information of ID1.

Id name last_name
1 A B
1 A B

I hope now i am able to express the problem.
 

subh_xl

New Member
Joined
Jun 21, 2012
Messages
3
Sorry for not providing the data porperly.

in Sheet 2 i want all athe information of ID1.

Id name last_name
1 A B
1 A B

I hope now i am able to express the problem
 

Watch MrExcel Video

Forum statistics

Threads
1,122,371
Messages
5,595,782
Members
414,020
Latest member
Meghdad

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
Top