Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a workbook with many consecutive sheets (one for each day)In 3
different cells (on the same location in every sheet) there is a formula, which comes from the previous sheet. Eg: C3Tuesday='Monday!F3. How can I copy these formulas so that they autoadjust from sheet to sheet, and I dont have to do it manually. Thanks beforehand |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you're willing to use a User Defined Function.......
Function PrevSheet(rg As Range) n = Application.Caller.Parent.Index If n = 1 Then PrevSheet = CVErr(xlErrRef) ElseIf TypeName(Sheets(n - 1)) = "Chart" Then PrevSheet = CVErr(xlErrNA) Else PrevSheet = Sheets(n - 1).Range(rg.Address).Value End If End Function =PrevSheet(F3) Note: you can group the worksheets from 2 onwards and enter the formula on the activesheet. Will be entered in all sheets except first sheet. Gord Dibben MS Excel MVP On Mon, 26 May 2008 18:13:38 -0300, dimitry wrote: I have a workbook with many consecutive sheets (one for each day)In 3 different cells (on the same location in every sheet) there is a formula, which comes from the previous sheet. Eg: C3Tuesday='Monday!F3. How can I copy these formulas so that they autoadjust from sheet to sheet, and I dont have to do it manually. Thanks beforehand |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I copy a formula and the results copy from the original cell | Excel Discussion (Misc queries) | |||
copy formula down a column and have cell references change within formula | New Users to Excel | |||
Copy Formula Down Without Changing Entire Formula | Excel Discussion (Misc queries) | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
Copy formula so destination displays formula as text | Excel Discussion (Misc queries) |