Deleting/Adding Rows without affecting formula

Mykazi

New Member
Joined
Sep 2, 2014
Messages
13
Office Version
  1. 2010
Platform
  1. Windows
I have the following formula in column J (formula could be better I know):
=IF(I35<>"EOM",IF(D35>0,J34,J34+G35+(H35/1507.5)-F35-E35),J34)

1) From time to time, I need to delete a row. When I do so now, obviously it gives me #REF in all cells of column J beneath the deleted row. How can I fix this by having all cells beneath the deleted row automatically reference itself to the new above cell.

2) Also, when adding a new row, can I have the formula in column J automatically appear in that new cell?

Thank you. (How do you upload images here?? It would have made this so much easier)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
You need to upload file to a net storage area then provide a link to the file.
Better to post (dummy) spreadsheets than images otherwise we have to enter your data all over again to test.
 
Upvote 0

Forum statistics

Threads
1,225,071
Messages
6,182,692
Members
453,132
Latest member
nsnodgrass73

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