ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Insert rows without effecting formulas (https://www.excelbanter.com/excel-worksheet-functions/157665-insert-rows-without-effecting-formulas.html)

[email protected]

Insert rows without effecting formulas
 
Column A contains employee numbers, column B contains numbers that
correspond to each employee.
In column C are numbers that come from another source and should match
up to those numbers in column B. In column D is the formula B-D. All
columns are in employee number order but sometimes I need to insert a
cell in column C to synchronise the rows - but when I do this it
upsets the formula in column D.

How can I change the formula in column D so that it always deducts
column B from D irrespective of how many cells I insert in column C?

Thanks


Roger Govier[_3_]

Insert rows without effecting formulas
 
Hi Gavin

One way
=INDEX(B:B,ROW())-INDEX(C:C,ROW())


--
Regards
Roger Govier



wrote in message
ps.com...
Column A contains employee numbers, column B contains numbers that
correspond to each employee.
In column C are numbers that come from another source and should match
up to those numbers in column B. In column D is the formula B-D. All
columns are in employee number order but sometimes I need to insert a
cell in column C to synchronise the rows - but when I do this it
upsets the formula in column D.

How can I change the formula in column D so that it always deducts
column B from D irrespective of how many cells I insert in column C?

Thanks





All times are GMT +1. The time now is 04:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com