Copy and Paste Formula in a Dynamic Worksheet

chiswickbridge

Board Regular
Joined
Feb 2, 2013
Messages
130
[TABLE="width: 500"]
<tbody>[TR]
[TD]Formula[/TD]
[TD]Date1[/TD]
[TD]String[/TD]
[TD]String[/TD]
[TD]String[/TD]
[/TR]
[TR]
[TD]=aaaaaaaa[/TD]
[TD]aaaaa[/TD]
[TD]aaaaa[/TD]
[TD]aaaaa[/TD]
[TD]aaaaa[/TD]
[/TR]
[TR]
[TD]=aaaaaaaa[/TD]
[TD]bbbbb[/TD]
[TD]bbbbb[/TD]
[TD]bbbbb[/TD]
[TD]bbbbb[/TD]
[/TR]
[TR]
[TD]=aaaaaaaa[/TD]
[TD]cccccc[/TD]
[TD]ccccc[/TD]
[TD]ccccc[/TD]
[TD]ccccc[/TD]
[/TR]
[TR]
[TD]=aaaaaaaa[/TD]
[TD]ddddd[/TD]
[TD]ddddd[/TD]
[TD]ddddd[/TD]
[TD]ddddd[/TD]
[/TR]
</tbody>[/TABLE]

I have a Worksheet, starting from A1. First column contains a Formula, 2nd Column is a date and the other 3 as text.
The number of rows increases every day / week as data is fed in and reduces when the rows are deleted.

The number of rows is Dynamic but limited to 501 including the Header.

I need a macro to copy the last row ( constantly changing ), and paste till 501, including the formula of Col1 and excluding the data in other columns.

Thanks....
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Why not convert to a table?

When you add data to a table any formulas are copied to the new rows.
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,127
Members
452,381
Latest member
Nova88

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