Dynamic Column Data

jaqkar

New Member
Joined
Apr 15, 2005
Messages
6
Hi

Been looking at dynamic ranges for populating a column with data in another sheet but not sure if it is what I need.

Is there another way of getting the data in sheet1 col-A to sheet2 col-B dynamicaly and with automatic expansion to that if I add a row to sheet1 it will reflect in sheet2? I would idealy like for sheet2 col-A to mirror sheet1 col-B exactly with formatting etc.

Thanks in advance.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Can you not copy the entire column?

Code:
Worksheets("Sheet1").Columns("A:A").Copy
Worksheets("Sheet2").Columns("B:B").PasteSpecial
Application.CutCopyMode = False
 
Upvote 0
If a new row gets added to sheet1 I don't really wanna copy and paste as there will be a number of records and columns.
 
Upvote 0
Try this in Sheet 2, Cell B1, then drag the formula down the column:

=IF(Sheet1!A1="","",Sheet1!A1)

This is saying if Sheet1 Cell A1 is blank, then make Sheet2 Cell B1 blank. Otherwise, make Sheet2 Cell B1 = value in Sheet1 Cell A1.

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

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