Macro - how to add 4 cells from the row above + lower 4 cells from another row - and copy the formulas of the first 3 cells?

filipealves1973

New Member
Joined
Apr 14, 2020
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello all

Thought i was good at excel.... but this is a bit dauting for me.

So - having this table:

2001 um 100 10 10
2002 dois 200 20 20
2003 tres 300 30 30

I need a macro that allows me to do this:

2001 um 100 10 10
um 100 10 10
2002 dois 200 20 20
2003 tres 300 30 30

Basically:
- Add 4 cells down
- copy the 4 cells from the row above
- keep the formulas and format

and to be able to do this with a keystroke...

Being honest - i know that this needs to be done with VBA.... But still do ideia...

Thanks to all
Filipe
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
• Do you want to do for every row of original data?
• Do you want to insert a whole new row or just move the data in columns A:E down?
• You want to copy B1:E1 and paste to A2:D2. Correct?
• How many rows of data do you have?
• In which row does the data start
 
Upvote 0

Forum statistics

Threads
1,215,004
Messages
6,122,659
Members
449,091
Latest member
peppernaut

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