View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default 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!