#1   Report Post  
ACase
 
Posts: n/a
Default Dynamic Ranges

Hello,

I need to develop a function which uses a range. The range is dynamic based
upon a Lease Term.

Example: I have a 5 year lease - The range will encompase 5 cells (A1:E1).
I will always know the starting Cell.

Any help would be much appreciated.

thanks
ACase
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Not sure i understand the question - what do you want to know?
do you want to know how to develop a function that uses a range - if so, any
particular function
do you want to know how to create a dynamic range - if so, check out dynamic
ranges at www.contextures.com/tiptech.html

Cheers
JulieD


"ACase" wrote in message
...
Hello,

I need to develop a function which uses a range. The range is dynamic
based
upon a Lease Term.

Example: I have a 5 year lease - The range will encompase 5 cells
(A1:E1).
I will always know the starting Cell.

Any help would be much appreciated.

thanks
ACase



  #3   Report Post  
ACase
 
Posts: n/a
Default

Thanks JulieD,

Let me better explain my problem.

I have a formula.

=NPV(F75,I73:S73)+G73

The range in this formula I73:S73 covers 11 cells. The 11 represents an 11
Year lease. I do not want the user to adjust the range every time we
calculate a new lease. (Some leases are for 2 years some are for 10 years).
How can I modify this formula so that the ending cell in the range will be
based upon the number of Lease Years.

Example: IF this were a 10 year lease I would want the formula to
dynamically adjust itself accounting for only the values in the cell range
I73:R73..

Thanks Again

"JulieD" wrote:

Not sure i understand the question - what do you want to know?
do you want to know how to develop a function that uses a range - if so, any
particular function
do you want to know how to create a dynamic range - if so, check out dynamic
ranges at www.contextures.com/tiptech.html

Cheers
JulieD


"ACase" wrote in message
...
Hello,

I need to develop a function which uses a range. The range is dynamic
based
upon a Lease Term.

Example: I have a 5 year lease - The range will encompase 5 cells
(A1:E1).
I will always know the starting Cell.

Any help would be much appreciated.

thanks
ACase




  #4   Report Post  
Bob Tarburton
 
Posts: n/a
Default

You can use the offset function to define the range
the following page shows how to define a dynamic range for charts
http://www.peltiertech.com/Excel/Charts/Dynamics.html
It should work as well for your purposes

Hope this helps
Bob

On Fri, 25 Mar 2005 07:49:09 -0800, "ACase"
wrote:

Thanks JulieD,

Let me better explain my problem.

I have a formula.

=NPV(F75,I73:S73)+G73

The range in this formula I73:S73 covers 11 cells. The 11 represents an 11
Year lease. I do not want the user to adjust the range every time we
calculate a new lease. (Some leases are for 2 years some are for 10 years).
How can I modify this formula so that the ending cell in the range will be
based upon the number of Lease Years.

Example: IF this were a 10 year lease I would want the formula to
dynamically adjust itself accounting for only the values in the cell range
I73:R73..

Thanks Again

"JulieD" wrote:

Not sure i understand the question - what do you want to know?
do you want to know how to develop a function that uses a range - if so, any
particular function
do you want to know how to create a dynamic range - if so, check out dynamic
ranges at www.contextures.com/tiptech.html

Cheers
JulieD


"ACase" wrote in message
...
Hello,

I need to develop a function which uses a range. The range is dynamic
based
upon a Lease Term.

Example: I have a 5 year lease - The range will encompase 5 cells
(A1:E1).
I will always know the starting Cell.

Any help would be much appreciated.

thanks
ACase





  #5   Report Post  
Jim May
 
Posts: n/a
Default

Use of Offset Function:
If I had numbers in Cell B15:H15
In Cell D4 I enter 5

Then in Cell D6 I enter =SUM(B15:OFFSET(B15,0, D4-1))

I would get the Sum of Cells B15,C15,D15, E15 and F15.
( Only 5 -- according to Cell D4).

HTH





"Bob Tarburton" wrote in message
...
You can use the offset function to define the range
the following page shows how to define a dynamic range for charts
http://www.peltiertech.com/Excel/Charts/Dynamics.html
It should work as well for your purposes

Hope this helps
Bob

On Fri, 25 Mar 2005 07:49:09 -0800, "ACase"
wrote:

Thanks JulieD,

Let me better explain my problem.

I have a formula.

=NPV(F75,I73:S73)+G73

The range in this formula I73:S73 covers 11 cells. The 11 represents an

11
Year lease. I do not want the user to adjust the range every time we
calculate a new lease. (Some leases are for 2 years some are for 10

years).
How can I modify this formula so that the ending cell in the range will

be
based upon the number of Lease Years.

Example: IF this were a 10 year lease I would want the formula to
dynamically adjust itself accounting for only the values in the cell

range
I73:R73..

Thanks Again

"JulieD" wrote:

Not sure i understand the question - what do you want to know?
do you want to know how to develop a function that uses a range - if

so, any
particular function
do you want to know how to create a dynamic range - if so, check out

dynamic
ranges at www.contextures.com/tiptech.html

Cheers
JulieD


"ACase" wrote in message
...
Hello,

I need to develop a function which uses a range. The range is

dynamic
based
upon a Lease Term.

Example: I have a 5 year lease - The range will encompase 5 cells
(A1:E1).
I will always know the starting Cell.

Any help would be much appreciated.

thanks
ACase






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
Indirect and dynamic ranges Sam Excel Worksheet Functions 3 January 24th 05 07:01 AM
dynamic ranges Sam Excel Worksheet Functions 2 January 21st 05 07:46 PM
Dynamic Formulas with Dynamic Ranges Ralph Howarth Excel Worksheet Functions 5 January 21st 05 08:44 AM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 12:26 AM.

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"