ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Keeping Formula variable constant when adding new column (https://www.excelbanter.com/excel-discussion-misc-queries/223212-keeping-formula-variable-constant-when-adding-new-column.html)

Marissa

Keeping Formula variable constant when adding new column
 
I have a worksheet where I need to maintain totals from each previous week
and track changes from week to week. For example: The current week's totals
reside in column G. Previous week's totals reside in column Q. I have a
calculation in Column H to track the changes from Column Q to G. A column is
inserted each week to replace the data in Column Q. When I insert the new
column to replace the data in Column Q the variable in Column H changes to
account for the movement. So instead of having =G5 - Q5 in Cell H5 when the
new column is inserted the formula in H5 changes to =G5-R5. Is there a way
to keep the formula constant to G5-Q5? Thank you!

David Biddulph[_2_]

Keeping Formula variable constant when adding new column
 
=G5 - INDIRECT("Q5")
--
David Biddulph

"Marissa" wrote in message
...
I have a worksheet where I need to maintain totals from each previous week
and track changes from week to week. For example: The current week's
totals
reside in column G. Previous week's totals reside in column Q. I have a
calculation in Column H to track the changes from Column Q to G. A column
is
inserted each week to replace the data in Column Q. When I insert the new
column to replace the data in Column Q the variable in Column H changes to
account for the movement. So instead of having =G5 - Q5 in Cell H5 when
the
new column is inserted the formula in H5 changes to =G5-R5. Is there a
way
to keep the formula constant to G5-Q5? Thank you!




Marissa

Keeping Formula variable constant when adding new column
 
Thank you!!!

"David Biddulph" wrote:

=G5 - INDIRECT("Q5")
--
David Biddulph

"Marissa" wrote in message
...
I have a worksheet where I need to maintain totals from each previous week
and track changes from week to week. For example: The current week's
totals
reside in column G. Previous week's totals reside in column Q. I have a
calculation in Column H to track the changes from Column Q to G. A column
is
inserted each week to replace the data in Column Q. When I insert the new
column to replace the data in Column Q the variable in Column H changes to
account for the movement. So instead of having =G5 - Q5 in Cell H5 when
the
new column is inserted the formula in H5 changes to =G5-R5. Is there a
way
to keep the formula constant to G5-Q5? Thank you!






All times are GMT +1. The time now is 05:47 PM.

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