Add row and copy some data when a cell = "value"

dusoldk

New Member
Joined
Apr 4, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I created the worksheet below to keep track of actions on a project punchlist. What I want to do is if column G is set to "New Task" I want to add a line under that line, copying column A - D. If it is set to "Closed" I want that line (and all associated lines above) to close and shade all cells.
No.Open DateOpened ByItem DescriptionCurrent Action Item HolderCurrent Action ItemClosed or New Action
1
2
3
4
5
6
7
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
We can not see which column is column G? and A-D?
It is better that you can input some sample data, for "before" and "after" the code run.
 
Upvote 0
Sorry I cut it off. I attached an example of what I would like to accomplish
1680712350801.png

1680712385816.png

Thanks
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,979
Members
449,200
Latest member
Jamil ahmed

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