![]() |
Variable Cell Value
What formula can I use to express the value of cell A(n+3) where n is a
variable. For example, if n = 4 then the cell I'm looking for is "A7". Also, in these discussions what exactly does a "volatile" solution mean vs a "nonvolatile" solution? -- Ken |
Variable Cell Value
=INDIRECT("A"&N1+3)
Volatile & non-volatile functions are discussed at http://msdn2.microsoft.com/en-us/library/aa730921.aspx, which is aimed at Excel 2007 but much applies equally to earlier versions. -- David Biddulph "Ken" wrote in message ... What formula can I use to express the value of cell A(n+3) where n is a variable. For example, if n = 4 then the cell I'm looking for is "A7". Also, in these discussions what exactly does a "volatile" solution mean vs a "nonvolatile" solution? -- Ken |
Variable Cell Value
Ken
Insert|name|define Type n in the top box in the 'refers to' box enter a cell reference (Say A1) and Click OK enter the variable value in A1 You can now refer to n in your formula anf change the vlaue of n A1 could also be a formula itself. Volatile/Non Volatile functions are as the name implies:- Now() is volatile Pi() isn't Mike "Ken" wrote: What formula can I use to express the value of cell A(n+3) where n is a variable. For example, if n = 4 then the cell I'm looking for is "A7". Also, in these discussions what exactly does a "volatile" solution mean vs a "nonvolatile" solution? -- Ken |
Variable Cell Value
Ken,
Missed the last bit. With A1 set as 4 the formula ="A"&n+3 Would return A7 Mike "Ken" wrote: What formula can I use to express the value of cell A(n+3) where n is a variable. For example, if n = 4 then the cell I'm looking for is "A7". Also, in these discussions what exactly does a "volatile" solution mean vs a "nonvolatile" solution? -- Ken |
Variable Cell Value
But if the OP wants "the value" of cell A7, then it needs the INDIRECT
function. -- David Biddulph "Mike H" wrote in message ... Ken, Missed the last bit. With A1 set as 4 the formula ="A"&n+3 Would return A7 Mike "Ken" wrote: What formula can I use to express the value of cell A(n+3) where n is a variable. For example, if n = 4 then the cell I'm looking for is "A7". Also, in these discussions what exactly does a "volatile" solution mean vs a "nonvolatile" solution? -- Ken |
All times are GMT +1. The time now is 06:52 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com