Copy Template from one sheet to another based on condition

Negi1984

Board Regular
Joined
May 6, 2011
Messages
198
Hi All,

I have 2 sheets :
1) Details : Contains all the data.
2) Dummy Template : Contains standard list of data which needs to copy from this sheet to Detail sheet

Logic :- 1) Check minimum lowest date in Details sheet in Posting date( column I). and identify that lowest date weeks Monday date.
Now we need to copy paste the template from Dummy Template sheets by repeating Point 1 Mondays date till Current weeks Mondays Date.

For Example : Minimum Date in Details sheets is 03-DEc-18, now we calculate Monday on this week and which is same 03-Dec-18.

Now we copy all the row from range A2:AJ17 and paste in Details sheets in bottom of last records. At Posting date will be start from 03-Dec-18. then repeat copy paste same rows A2:AJ17 till current week.

Sample file is in below given link

https://1drv.ms/x/s!Ap80Ku6M2Tw5gUOYV-OcgcvjfFU_

Thanks in advance for your valuable support.

Regards,
Rajender
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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