Copy rows and add column per month

Status
Not open for further replies.

wikus

Active Member
Joined
May 2, 2010
Messages
318
Office Version
  1. 365
I am desperate and would appreciate any help.
The first row of a lease must be copied per month until there is a amendment. Then that row must be copied until 2024M7.
There can be more than one amendment so each time the date changes that row must be copied further.
A column must be added indicating the year and month.
Thank you very much.

1706245105121.png


Quote Reply
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Try the formula in cell D10 and onwards :

Excel Formula:
=YEAR(C10)&"M"&IF((MONTH(C10)+COUNTIF($B$10:$B10,B10)-1)>12,(MONTH(C10)+COUNTIF($B$10:$B10,B10)-1)-12,(MONTH(C10)+COUNTIF($B$10:$B10,B10)-1))
 
Upvote 0
Duplicate to: Copy rows until specific date, add time column.

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,071
Messages
6,122,963
Members
449,094
Latest member
Anshu121

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