Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brandt
 
Posts: n/a
Default Flexible Cell Reference

To explain this I will use the R1C1 notation, but I would need to implement
it in A1 reference style.

Is there a way to make a "flexible" cell reference such that I could have a
value in A1 such as 3 and then have a cell reference somewhere else in the
sheet that was something like =R[-2]C[x] where the "x" is referenced to cell
A1? So, combining two different reference styles (please forgive me), the
formula would look something like =R[-2]C[$A$1].

The reason I would like to do this, if it helps explain my question, is that
I would like to predict the development costs for some land that will be
developed. So if I am going to sell 5 lots in August then the development
costs for that will occur 3,4, or 5 months earlier (which I will have in A1)
and I would like to be able to view the effects of longer or shorter
development times by simply changing cell A1. So if development costs are
$30,000 per lot, then the formula for development costs for a particular
month (looking at projected lot sales x number of months into the future)
would be =R[-2]C[$A$1]*30000 where A1 contains the number for x. Again,
sorry for the mixing of reference systems, but it seems to be the best way to
explain.

Thanks
  #2   Report Post  
bj
 
Posts: n/a
Default

look at the indirect function in Help.
It describes fairly well what you want to do.

"Brandt" wrote:

To explain this I will use the R1C1 notation, but I would need to implement
it in A1 reference style.

Is there a way to make a "flexible" cell reference such that I could have a
value in A1 such as 3 and then have a cell reference somewhere else in the
sheet that was something like =R[-2]C[x] where the "x" is referenced to cell
A1? So, combining two different reference styles (please forgive me), the
formula would look something like =R[-2]C[$A$1].

The reason I would like to do this, if it helps explain my question, is that
I would like to predict the development costs for some land that will be
developed. So if I am going to sell 5 lots in August then the development
costs for that will occur 3,4, or 5 months earlier (which I will have in A1)
and I would like to be able to view the effects of longer or shorter
development times by simply changing cell A1. So if development costs are
$30,000 per lot, then the formula for development costs for a particular
month (looking at projected lot sales x number of months into the future)
would be =R[-2]C[$A$1]*30000 where A1 contains the number for x. Again,
sorry for the mixing of reference systems, but it seems to be the best way to
explain.

Thanks

  #3   Report Post  
Brandt
 
Posts: n/a
Default

Thanks bj, that is what I want to do. I guess I should have called it a
indirect cell reference. The only thing thing that still troubles me is
this: I can easily vary the row using the indirect worksheet function, such
as =INDIRECT("D"&(ROW()+$A$1)) but how do I vary the column? How can I get
the reference of the COLUMN() function into a letter? What I need to do is
=INDIRECT(&(COLUMN()+$A$1)&(ROW()-1)). Any Ideas?

"bj" wrote:

look at the indirect function in Help.
It describes fairly well what you want to do.

"Brandt" wrote:

To explain this I will use the R1C1 notation, but I would need to implement
it in A1 reference style.

Is there a way to make a "flexible" cell reference such that I could have a
value in A1 such as 3 and then have a cell reference somewhere else in the
sheet that was something like =R[-2]C[x] where the "x" is referenced to cell
A1? So, combining two different reference styles (please forgive me), the
formula would look something like =R[-2]C[$A$1].

The reason I would like to do this, if it helps explain my question, is that
I would like to predict the development costs for some land that will be
developed. So if I am going to sell 5 lots in August then the development
costs for that will occur 3,4, or 5 months earlier (which I will have in A1)
and I would like to be able to view the effects of longer or shorter
development times by simply changing cell A1. So if development costs are
$30,000 per lot, then the formula for development costs for a particular
month (looking at projected lot sales x number of months into the future)
would be =R[-2]C[$A$1]*30000 where A1 contains the number for x. Again,
sorry for the mixing of reference systems, but it seems to be the best way to
explain.

Thanks

  #4   Report Post  
bj
 
Posts: n/a
Default

With the indirect statement
= indirect(A1&A2)
if you entered "D" in cell A1 and 3 in Cell A2
the indirect statement would give the value in cell D3

It is starting to sound as though the offset function might work better for
you than the indirect. Please check the help section and see if this is close.





"Brandt" wrote:

Thanks bj, that is what I want to do. I guess I should have called it a
indirect cell reference. The only thing thing that still troubles me is
this: I can easily vary the row using the indirect worksheet function, such
as =INDIRECT("D"&(ROW()+$A$1)) but how do I vary the column? How can I get
the reference of the COLUMN() function into a letter? What I need to do is
=INDIRECT(&(COLUMN()+$A$1)&(ROW()-1)). Any Ideas?

"bj" wrote:

look at the indirect function in Help.
It describes fairly well what you want to do.

"Brandt" wrote:

To explain this I will use the R1C1 notation, but I would need to implement
it in A1 reference style.

Is there a way to make a "flexible" cell reference such that I could have a
value in A1 such as 3 and then have a cell reference somewhere else in the
sheet that was something like =R[-2]C[x] where the "x" is referenced to cell
A1? So, combining two different reference styles (please forgive me), the
formula would look something like =R[-2]C[$A$1].

The reason I would like to do this, if it helps explain my question, is that
I would like to predict the development costs for some land that will be
developed. So if I am going to sell 5 lots in August then the development
costs for that will occur 3,4, or 5 months earlier (which I will have in A1)
and I would like to be able to view the effects of longer or shorter
development times by simply changing cell A1. So if development costs are
$30,000 per lot, then the formula for development costs for a particular
month (looking at projected lot sales x number of months into the future)
would be =R[-2]C[$A$1]*30000 where A1 contains the number for x. Again,
sorry for the mixing of reference systems, but it seems to be the best way to
explain.

Thanks

  #5   Report Post  
Brandt
 
Posts: n/a
Default

bj,

that was EXACTLY what I was looking for. Thank You!


"bj" wrote:

With the indirect statement
= indirect(A1&A2)
if you entered "D" in cell A1 and 3 in Cell A2
the indirect statement would give the value in cell D3

It is starting to sound as though the offset function might work better for
you than the indirect. Please check the help section and see if this is close.





"Brandt" wrote:

Thanks bj, that is what I want to do. I guess I should have called it a
indirect cell reference. The only thing thing that still troubles me is
this: I can easily vary the row using the indirect worksheet function, such
as =INDIRECT("D"&(ROW()+$A$1)) but how do I vary the column? How can I get
the reference of the COLUMN() function into a letter? What I need to do is
=INDIRECT(&(COLUMN()+$A$1)&(ROW()-1)). Any Ideas?

"bj" wrote:

look at the indirect function in Help.
It describes fairly well what you want to do.

"Brandt" wrote:

To explain this I will use the R1C1 notation, but I would need to implement
it in A1 reference style.

Is there a way to make a "flexible" cell reference such that I could have a
value in A1 such as 3 and then have a cell reference somewhere else in the
sheet that was something like =R[-2]C[x] where the "x" is referenced to cell
A1? So, combining two different reference styles (please forgive me), the
formula would look something like =R[-2]C[$A$1].

The reason I would like to do this, if it helps explain my question, is that
I would like to predict the development costs for some land that will be
developed. So if I am going to sell 5 lots in August then the development
costs for that will occur 3,4, or 5 months earlier (which I will have in A1)
and I would like to be able to view the effects of longer or shorter
development times by simply changing cell A1. So if development costs are
$30,000 per lot, then the formula for development costs for a particular
month (looking at projected lot sales x number of months into the future)
would be =R[-2]C[$A$1]*30000 where A1 contains the number for x. Again,
sorry for the mixing of reference systems, but it seems to be the best way to
explain.

Thanks



  #6   Report Post  
TomHinkle
 
Posts: n/a
Default

I got to be honest, you lost me a little..

BUT look up 'data tables' it's a feature in excel pretty much designed for
that purpose.. you can have data tables with 1,2 & 3 variable parameters for
what if analysis..

"Brandt" wrote:

To explain this I will use the R1C1 notation, but I would need to implement
it in A1 reference style.

Is there a way to make a "flexible" cell reference such that I could have a
value in A1 such as 3 and then have a cell reference somewhere else in the
sheet that was something like =R[-2]C[x] where the "x" is referenced to cell
A1? So, combining two different reference styles (please forgive me), the
formula would look something like =R[-2]C[$A$1].

The reason I would like to do this, if it helps explain my question, is that
I would like to predict the development costs for some land that will be
developed. So if I am going to sell 5 lots in August then the development
costs for that will occur 3,4, or 5 months earlier (which I will have in A1)
and I would like to be able to view the effects of longer or shorter
development times by simply changing cell A1. So if development costs are
$30,000 per lot, then the formula for development costs for a particular
month (looking at projected lot sales x number of months into the future)
would be =R[-2]C[$A$1]*30000 where A1 contains the number for x. Again,
sorry for the mixing of reference systems, but it seems to be the best way to
explain.

Thanks

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
reference cell value from fixed column with variable row bob z Excel Discussion (Misc queries) 0 May 23rd 05 11:30 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Formula with text and reference to a date cell [email protected] Excel Discussion (Misc queries) 1 January 11th 05 08:15 AM
Using the results from two seperate cells to create cell reference DarrenWood Excel Worksheet Functions 2 November 14th 04 10:35 PM


All times are GMT +1. The time now is 08:47 PM.

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

About Us

"It's about Microsoft Excel"