Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mal
 
Posts: n/a
Default How do I refer a Range to a Cell

I have a range of cells that is ever increasing.
I also have a number of formula that refer to the range.
To save changing the formula every time the range increases in size, I was
wanting to have a single reference cell that I could change to reference the
extent of the range.
For example:-
Range b1:B5
size of the range increases to B1:b10
I want to put in cell A1, a reference "10" that I can increase as the range
increases and without having to change the separate formula that refer to
the range.
So the forhula would be something like =B1:B(value(a1).
Any help appreciated.
Thanks,
Mal


  #2   Report Post  
Vasant Nanavati
 
Posts: n/a
Default

For example:

=SUM(INDIRECT("B1:B"&A1))

--

Vasant

"Mal" wrote in message
...
I have a range of cells that is ever increasing.
I also have a number of formula that refer to the range.
To save changing the formula every time the range increases in size, I was
wanting to have a single reference cell that I could change to reference

the
extent of the range.
For example:-
Range b1:B5
size of the range increases to B1:b10
I want to put in cell A1, a reference "10" that I can increase as the

range
increases and without having to change the separate formula that refer to
the range.
So the forhula would be something like =B1:B(value(a1).
Any help appreciated.
Thanks,
Mal




  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Instead of doing it that way, just create a dynamic named range.
Instructions are he

http://contextures.com/xlNames01.html#Dynamic

Biff

"Mal" wrote in message
...
I have a range of cells that is ever increasing.
I also have a number of formula that refer to the range.
To save changing the formula every time the range increases in size, I was
wanting to have a single reference cell that I could change to reference
the extent of the range.
For example:-
Range b1:B5
size of the range increases to B1:b10
I want to put in cell A1, a reference "10" that I can increase as the
range increases and without having to change the separate formula that
refer to the range.
So the forhula would be something like =B1:B(value(a1).
Any help appreciated.
Thanks,
Mal




  #4   Report Post  
JMB
 
Posts: n/a
Default

i'm sure getting tired of explorer telling me "we're sorry....unable to
service request."

you could also set up a dynamic named range if you go to
Insert/Names/Define, enter a name for your table and the following formula.
This will define a table for a column of numbers in column B of Sheet1 (as
long as that's the only data in column B).

=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!B:B),1)

"Mal" wrote:

I have a range of cells that is ever increasing.
I also have a number of formula that refer to the range.
To save changing the formula every time the range increases in size, I was
wanting to have a single reference cell that I could change to reference the
extent of the range.
For example:-
Range b1:B5
size of the range increases to B1:b10
I want to put in cell A1, a reference "10" that I can increase as the range
increases and without having to change the separate formula that refer to
the range.
So the forhula would be something like =B1:B(value(a1).
Any help appreciated.
Thanks,
Mal



  #5   Report Post  
Biff
 
Posts: n/a
Default

Hi!

i'm sure getting tired of explorer telling me "we're sorry....unable to
service request."


That's the "new and improved" CDO!

I used to like the "old" version but this new one is totally laughable. What
a horrible design!

Biff

"JMB" wrote in message
...
i'm sure getting tired of explorer telling me "we're sorry....unable to
service request."

you could also set up a dynamic named range if you go to
Insert/Names/Define, enter a name for your table and the following
formula.
This will define a table for a column of numbers in column B of Sheet1 (as
long as that's the only data in column B).

=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!B:B),1)

"Mal" wrote:

I have a range of cells that is ever increasing.
I also have a number of formula that refer to the range.
To save changing the formula every time the range increases in size, I
was
wanting to have a single reference cell that I could change to reference
the
extent of the range.
For example:-
Range b1:B5
size of the range increases to B1:b10
I want to put in cell A1, a reference "10" that I can increase as the
range
increases and without having to change the separate formula that refer to
the range.
So the forhula would be something like =B1:B(value(a1).
Any help appreciated.
Thanks,
Mal







  #6   Report Post  
JMB
 
Posts: n/a
Default

if nothing else, it's predictable. I hate typing in a response, clicking
post, then losing the whole thing and having to start over. sorry for
getting off topic.

"Biff" wrote:

Hi!

i'm sure getting tired of explorer telling me "we're sorry....unable to
service request."


That's the "new and improved" CDO!

I used to like the "old" version but this new one is totally laughable. What
a horrible design!

Biff

"JMB" wrote in message
...
i'm sure getting tired of explorer telling me "we're sorry....unable to
service request."

you could also set up a dynamic named range if you go to
Insert/Names/Define, enter a name for your table and the following
formula.
This will define a table for a column of numbers in column B of Sheet1 (as
long as that's the only data in column B).

=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!B:B),1)

"Mal" wrote:

I have a range of cells that is ever increasing.
I also have a number of formula that refer to the range.
To save changing the formula every time the range increases in size, I
was
wanting to have a single reference cell that I could change to reference
the
extent of the range.
For example:-
Range b1:B5
size of the range increases to B1:b10
I want to put in cell A1, a reference "10" that I can increase as the
range
increases and without having to change the separate formula that refer to
the range.
So the forhula would be something like =B1:B(value(a1).
Any help appreciated.
Thanks,
Mal






  #7   Report Post  
Mal
 
Posts: n/a
Default

Thanks people. Problem solved.
Mal

"Mal" wrote in message
...
I have a range of cells that is ever increasing.
I also have a number of formula that refer to the range.
To save changing the formula every time the range increases in size, I was
wanting to have a single reference cell that I could change to reference
the extent of the range.
For example:-
Range b1:B5
size of the range increases to B1:b10
I want to put in cell A1, a reference "10" that I can increase as the
range increases and without having to change the separate formula that
refer to the range.
So the forhula would be something like =B1:B(value(a1).
Any help appreciated.
Thanks,
Mal




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
Picking up the last non-empty cell in a given range zhj23 Excel Discussion (Misc queries) 4 June 1st 05 12:34 AM
How can I assign a range starting cell based on a variable locati. feman007 Excel Worksheet Functions 3 March 9th 05 11:40 PM
Refer to sheet name specified in other cell Marko Pinteric Excel Discussion (Misc queries) 2 March 4th 05 09:13 AM
Grabbing the last Non-empty cell in a range Arlen Excel Discussion (Misc queries) 2 January 22nd 05 05:15 PM
Cell range in Excel Joe Sadusky Excel Discussion (Misc queries) 1 January 16th 05 01:14 AM


All times are GMT +1. The time now is 04:11 PM.

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

About Us

"It's about Microsoft Excel"