ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   formula to lengthen named range (https://www.excelbanter.com/excel-programming/353188-formula-lengthen-named-range.html)

brianw

formula to lengthen named range
 
Hi there
excel 2003
How do I get a defined range reference to automatically change when I add
more data to it?
For example my named range is DataB. Refers to: =AllmyData!$A$1:$D$12000
I add more data to the bottom, say 50 lines, so my new reference should read
=AllmyData!$A$1:$D$12050
I have seen the fomula on this forum but just cannot find it again.

Thanks for your time

sebastienm

formula to lengthen named range
 
Hi,
Check this site:
http://www.contextures.com/xlNames01.html#Dynamic
In your case, in the menu Insert Names Define, the named range would
have to refer:
=OFFSET(AllmyData!$A$1,0,0,COUNTA(AllmyData!$A:$A) ,1)

--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"BrianW" wrote:

Hi there
excel 2003
How do I get a defined range reference to automatically change when I add
more data to it?
For example my named range is DataB. Refers to: =AllmyData!$A$1:$D$12000
I add more data to the bottom, say 50 lines, so my new reference should read
=AllmyData!$A$1:$D$12050
I have seen the fomula on this forum but just cannot find it again.

Thanks for your time


brianw

formula to lengthen named range
 
Your a gem
Thats the link I couldn't find
Your help is greatly appreciated.
Have a great Day.



"sebastienm" wrote:

Hi,
Check this site:
http://www.contextures.com/xlNames01.html#Dynamic
In your case, in the menu Insert Names Define, the named range would
have to refer:
=OFFSET(AllmyData!$A$1,0,0,COUNTA(AllmyData!$A:$A) ,1)

--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"BrianW" wrote:

Hi there
excel 2003
How do I get a defined range reference to automatically change when I add
more data to it?
For example my named range is DataB. Refers to: =AllmyData!$A$1:$D$12000
I add more data to the bottom, say 50 lines, so my new reference should read
=AllmyData!$A$1:$D$12050
I have seen the fomula on this forum but just cannot find it again.

Thanks for your time



All times are GMT +1. The time now is 03:58 PM.

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