Inserting Rows with formulas automatically populated from the row above

brose99

New Member
Joined
Jun 16, 2018
Messages
35
I'm sure this is a simple fix, but I am trying to insert rows in an excel spreadsheet and I want the row I insert to automatically populate the same formula from the row above it.

For example:

In cell N6, I have =IF(C6="@",E6,0)
In cell N7, I have =IF(C7="@",E7,0)

Now if I insert an entire row between N6 and N7, I get a blank row with no formula.

N6 =IF(C6="@",E6,0)
N7 *blank*
N8 =IF(C8="@",E8,0)

I want the same formula to populate between the two cells when I insert a row without having to copy & paste or dragging it down or creating a table. I need to cut out a step.

N6 =IF(C6="@",E6,0)
N7 =IF(C7="@",E7,0)
N8 =IF(C8="@",E8,0)

Any help?

Thanks in advance!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
without having to copy & paste or dragging it down or creating a table.
By eliminating those methods, you're only left with vba. There is no option to do it automatically.
 
Upvote 0

Forum statistics

Threads
1,215,062
Messages
6,122,923
Members
449,094
Latest member
teemeren

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