Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=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 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sum cells based on a row variable and seperate column variable | Excel Worksheet Functions | |||
Adding the same cell in different worksheets. Can that cell be variable? | Excel Worksheet Functions | |||
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? | Excel Worksheet Functions | |||
Linking a cell to another workbook cell based on a variable name | Excel Discussion (Misc queries) | |||
set value of variable from cell | Excel Discussion (Misc queries) |