Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jozmoz
 
Posts: n/a
Default Formulating between worksksheets


I'm trying to formulate a cell on the second worksheet that includes a
calculation from a cell from the previous worksheet. how do I write the
formula so it knows that a cell is on the previous worksheet?


--
Jozmoz
------------------------------------------------------------------------
Jozmoz's Profile: http://www.excelforum.com/member.php...o&userid=33085
View this thread: http://www.excelforum.com/showthread...hreadid=531183

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Formulating between worksksheets

Let excel work for you.

Start your formula (I'm gonna use =sum() as the function that will be used on
the other sheet's cells):


=A1+B9+Sum(

Now use the mouse to select that range on the other sheet:
I got
=A1+B9+SUM(Sheet1!B7:B17

Then hit enter (to be prompted to let excel finish the formula)

or type the close parenthesis to continue typing the rest of your formula:

=A1+B9+SUM(Sheet1!B7:B17)+sum(q3:q99)



Jozmoz wrote:

I'm trying to formulate a cell on the second worksheet that includes a
calculation from a cell from the previous worksheet. how do I write the
formula so it knows that a cell is on the previous worksheet?

--
Jozmoz
------------------------------------------------------------------------
Jozmoz's Profile: http://www.excelforum.com/member.php...o&userid=33085
View this thread: http://www.excelforum.com/showthread...hreadid=531183


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default Formulating between worksksheets

You could use this User Defined Function.

Function PrevSheet(rg As Range)
'Enter =PrevSheet(B2) on sheet2 and you'll get B2 from sheet1.
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


Gord Dibben MS Excel MVP

On Sat, 8 Apr 2006 09:30:45 -0500, Jozmoz
wrote:


I'm trying to formulate a cell on the second worksheet that includes a
calculation from a cell from the previous worksheet. how do I write the
formula so it knows that a cell is on the previous worksheet?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help on formulating ordering Angela Excel Worksheet Functions 2 October 7th 05 08:38 PM
conditional formulating francis Excel Discussion (Misc queries) 2 September 6th 05 03:25 AM
help formulating statistical data adminassist Excel Worksheet Functions 1 December 30th 04 05:15 PM
formulating if; then; enter list striker92s Excel Worksheet Functions 1 November 18th 04 01:30 AM
formulating if; then; enter list striker92s Excel Worksheet Functions 2 November 17th 04 02:37 PM


All times are GMT +1. The time now is 03:17 PM.

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

About Us

"It's about Microsoft Excel"