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
 

Some videos you may like

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

footoo

Well-known Member
Joined
Sep 21, 2016
Messages
3,206
Office Version
  1. 2016
Platform
  1. Windows
• 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
 

Watch MrExcel Video

Forum statistics

Threads
1,127,723
Messages
5,626,505
Members
416,187
Latest member
L_D18

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
Top