A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Method for creating formulas to reference different worksheets?



 
 
Thread Tools Display Modes
  #1  
Old April 16th, 2009, 05:49 PM posted to microsoft.public.excel.worksheet.functions
copticdred
external usenet poster
 
Posts: 1
Default Method for creating formulas to reference different worksheets?

What is the method for creating an Excel formula that references information
on the first worksheet from a second worksheet?
  #2  
Old April 16th, 2009, 05:55 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Method for creating formulas to reference different worksheets?

Hi,

This is a very simple one

=Sheet1!A1

Mike

"copticdred" wrote:

What is the method for creating an Excel formula that references information
on the first worksheet from a second worksheet?

  #3  
Old April 16th, 2009, 05:58 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Method for creating formulas to reference different worksheets?

=Sheet2!A1 to reference Sheet2 A1

--
If this post helps click Yes
---------------
Jacob Skaria


"copticdred" wrote:

What is the method for creating an Excel formula that references information
on the first worksheet from a second worksheet?

  #4  
Old April 17th, 2009, 12:39 AM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Method for creating formulas to reference different worksheets?

If you want a cascading type of reference that always references the sheet
previous............................

If you're willing to use a User Defined Function this becomes quite
easy.......

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

Example of use......................

Say you have 12 sheets, sheet1 through sheet12...........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 Thu, 16 Apr 2009 09:49:01 -0700, copticdred
wrote:

What is the method for creating an Excel formula that references information
on the first worksheet from a second worksheet?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:08 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.