ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Locking range in SUM (https://www.excelbanter.com/excel-discussion-misc-queries/55263-locking-range-sum.html)

timsantiago

Locking range in SUM
 

I am trying to sum 20 columns [say SUM(A1:T1)], but would like to lock
the A1:T1 range when I insert more columns {this would bump the
original column T value out of the equation, which is fine}. Is there a
way to lock the formula, so if I add more columns, it doesn't update the
formula to read SUM(A1:U1), for example? Thanks
Tim


--
timsantiago
------------------------------------------------------------------------
timsantiago's Profile: http://www.excelforum.com/member.php...o&userid=28656
View this thread: http://www.excelforum.com/showthread...hreadid=484708


Bob Phillips

Locking range in SUM
 
=SUM(INDIRECT("A1:T1"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"timsantiago"
wrote in message
...

I am trying to sum 20 columns [say SUM(A1:T1)], but would like to lock
the A1:T1 range when I insert more columns {this would bump the
original column T value out of the equation, which is fine}. Is there a
way to lock the formula, so if I add more columns, it doesn't update the
formula to read SUM(A1:U1), for example? Thanks
Tim


--
timsantiago
------------------------------------------------------------------------
timsantiago's Profile:

http://www.excelforum.com/member.php...o&userid=28656
View this thread: http://www.excelforum.com/showthread...hreadid=484708





All times are GMT +1. The time now is 07:01 AM.

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