Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a few worksheets that I do my budgeting and bills on. Is there a way
to reference by ending balance on a previous worksheet? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If the ending balance is the *last* numeric value in a certain column...
Say your ending balance is the last numeric value in sheet1 column A: =LOOKUP(1E100,Sheet1!A:A) -- Biff Microsoft Excel MVP "endless_thoughts17" wrote in message ... I have a few worksheets that I do my budgeting and bills on. Is there a way to reference by ending balance on a previous worksheet? |
#3
![]()
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 Say you have 13 sheets, sheet1 through sheet13...........sheet names don't matter. In sheet1 you have a formula in A10 =SUM(A1:A9) Select second sheet and SHIFT + Click last sheet In active sheet A10 enter =SUM(PrevSheet(A10),A1:A9) Ungroup the sheets. Each A10 will have the sum of the previous sheet's A10 plus the sum of the current sheet's A1:A9 Gord Dibben MS Excel MVP On Fri, 25 Jan 2008 10:36:01 -0800, endless_thoughts17 wrote: I have a few worksheets that I do my budgeting and bills on. Is there a way to reference by ending balance on a previous worksheet? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
reference cell from previous worksheet without "naming" worksheet | Excel Worksheet Functions | |||
Reference Previous Worksheet Built-in Function | Excel Worksheet Functions | |||
reference to previous cell (always) | Excel Discussion (Misc queries) | |||
need formula to reference a cell in previous worksheet | Excel Worksheet Functions | |||
How to reference to the previous worksheet regardless of title? | Excel Worksheet Functions |