ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to fix an array or range (https://www.excelbanter.com/excel-discussion-misc-queries/176462-how-fix-array-range.html)

Delboy

How to fix an array or range
 
I want to fix a range e.g. =sum(a6:a70) so that when i delete a row at the
top of the range and add a row at the bottom the formula points to the same
cell references i.e. the range does not change and stays at a6:a70.

Similarly, if a cell on another worksheet points to this range e.g.
=AVERAGE(a6:a:70) this reference stays the same after the deletion and
addition of a row at the top and bottom of the range

Bernard Liengme

How to fix an array or range
 
Try =SUM(INDIRECT("A6:A70"))
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"delboy" wrote in message
...
I want to fix a range e.g. =sum(a6:a70) so that when i delete a row at the
top of the range and add a row at the bottom the formula points to the
same
cell references i.e. the range does not change and stays at a6:a70.

Similarly, if a cell on another worksheet points to this range e.g.
=AVERAGE(a6:a:70) this reference stays the same after the deletion and
addition of a row at the top and bottom of the range





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

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