Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DJ
 
Posts: n/a
Default Insert New Row without shifting formula

e.g. I have a formula in cell B4 that calculates data in column cells
C4 to, say, M4. (e.g. "=Sum($C4.$M4)") I then wish to insert a new C4
row, copy a new set of data into the new C4, but use the same formula
in B4 to calculate the new totals ("=Sum($C4.$M4)"). However, when I
insert the new row for C4, the formula in B4 shifts to now say
"=Sum($D4.$N4)". Is there an easy way to make this work ?

  #2   Report Post  
JMB
 
Posts: n/a
Default

Possibly:

=Sum(Indirect("$C4.$M4"))

The down side is you won't be able to copy this formula across/down and have
excel automatically change the row reference (if this formula needs to be
copied).

"DJ" wrote:

e.g. I have a formula in cell B4 that calculates data in column cells
C4 to, say, M4. (e.g. "=Sum($C4.$M4)") I then wish to insert a new C4
row, copy a new set of data into the new C4, but use the same formula
in B4 to calculate the new totals ("=Sum($C4.$M4)"). However, when I
insert the new row for C4, the formula in B4 shifts to now say
"=Sum($D4.$N4)". Is there an easy way to make this work ?


  #3   Report Post  
JMB
 
Posts: n/a
Default

Sorry - I did not notice you're summing two cells, not a range (comma vs
colon).


SUM(INDIRECT("$C4"),INDIRECT("$M4"))

"DJ" wrote:

e.g. I have a formula in cell B4 that calculates data in column cells
C4 to, say, M4. (e.g. "=Sum($C4.$M4)") I then wish to insert a new C4
row, copy a new set of data into the new C4, but use the same formula
in B4 to calculate the new totals ("=Sum($C4.$M4)"). However, when I
insert the new row for C4, the formula in B4 shifts to now say
"=Sum($D4.$N4)". Is there an easy way to make this work ?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert carriage return in the middle of a text formula to . Dave Excel Discussion (Misc queries) 2 March 17th 05 02:14 PM
insert a new cell into an existing formula Debbie Excel Discussion (Misc queries) 3 March 14th 05 06:46 PM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
How to insert easily the text of a scientific formula William ASSAL Excel Discussion (Misc queries) 5 March 1st 05 03:48 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM


All times are GMT +1. The time now is 12:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"