Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Folks,
I have a sheet which takes values from a second sheet on a weekly basis. Sheet 1 has a cell with a reference to a particular cell in sheet 2. for example sheet1 A5 = sheet2 b7 D5 = sheet2 b14 is there a ay I can simply reference the reference foumula and add 7 or do i have to hardcode each reference? Hpoe this makes sense. Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This may be what you want.
A UDF (User Defined Function). Put this in Module1: Public Function Func1(rng1 As Range) Func1 = Range(rng1.Formula).Offset(7, 0).Value End Function ' Dave D-C and this in D5: =Func1(A5) Stephen wrote: Hi Folks, I have a sheet which takes values from a second sheet on a weekly basis. Sheet 1 has a cell with a reference to a particular cell in sheet 2. for example sheet1 A5 = sheet2 b7 D5 = sheet2 b14 is there a ay I can simply reference the reference foumula and add 7 or do i have to hardcode each reference? Hpoe this makes sense. Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Nesting a sheet name reference within a cell reference??? | Excel Discussion (Misc queries) | |||
Changing sheet reference to cell reference | Excel Worksheet Functions | |||
Using an offset formula for the reference in a relative reference | Excel Worksheet Functions | |||
Formulas that reference cells that reference another cell | Excel Discussion (Misc queries) | |||
Row reference increment but preserve column reference | Excel Worksheet Functions |