Copy and Paste

Double99

New Member
Joined
Jul 11, 2011
Messages
29
This is my first post.. so thankyou to everyone who's taking time out to read my post and helping me with my problem...

I need a code that copies that data from Column A into Column C, if the value in Colunm B is '1'. If the Value in Column B is '0', then it does not copy anything into Colunm C and value in cell remains blank.

This needs to work throughout the entire colunm.

Example below....

A.............B...........C

T1............1...........T1

T2............0...........

T3............1...........T3

T4............0...........

T5............1...........T5

I think it needs VBA, as I can't work out how to do this in formula form. I've never done VBA before.

Thankyou

Cris
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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