Copy entire row to a new row based on cell value, plus updated certain data in specific columns

TMG738

New Member
Joined
Jun 19, 2020
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet for compliance matters and would like to copy data into a new row based on cell value.

I would like to copy the row to a new row and change the Y/E date and Target Date to plus one year (so Y/E 31/12/2020 would change to Y/E 31/12/2021 and target date would change from 30/09/2021 to 30/09/2022 in the new row). At the same time keeping the data in the orginal row.

I have used VBA to move to another sheets, however it would be best to keep on one sheet.

I attach PNG of my excel file.

Thanks
 

Attachments

  • Portfolio test.PNG
    Portfolio test.PNG
    81.3 KB · Views: 8

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi, Would you like to make a copy of all available rows ? Is there any criteria which rows we have to copy if multiple rows are available ?
 
Upvote 0
Hi, Would you like to make a copy of all available rows ? Is there any criteria which rows we have to copy if multiple rows are available ?
I would like to copy the entire row (one at a time) when critieria is meet and enter in a cell in a particular column, so for example column with the heading "Completed Y/N". If Y is entered into the cell the entire row is copied to the bottom and target date and Y/E date have 1 year added to them.

Thank you
 
Upvote 0

Forum statistics

Threads
1,214,881
Messages
6,122,074
Members
449,064
Latest member
MattDRT

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