Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Skid
 
Posts: n/a
Default Relative Formulae between worksheets

I have a series of worksheets within a workbook and want to advance a date by
7 on each work sheet. The date is in Cell A1 in worksheet 1 and on worksheet
2 I have the formula ='Sheet1'!A1+7. When I copy and past this into worksheet
3 it does not change the formula to ='Sheet2'!A1+7 but retains the origianl
sheet reference. Is there any way of achieving what I want or am I going to
have to change the fromula on each worksheet manually? I am currently using
Excell 2003.
--
Skid
  #2   Report Post  
Jim Rech
 
Posts: n/a
Default Relative Formulae between worksheets

References between worksheets are always absolute in Excel so you'll have to
edit the formula. You could use a macro to make entering the date formula
simpler though. For instance, select A1 on the new sheet and run this:

Sub EnterDate()
Dim ShtIdx As Integer
ShtIdx = ActiveSheet.Index
If ShtIdx 1 Then
With ActiveCell
.Formula = "=" & Worksheets(ShtIdx - 1).Range(.Address) _
.Address(False, False, , True) & "+7"
End With
End If
End Sub


--
Jim
"Skid" wrote in message
...
|I have a series of worksheets within a workbook and want to advance a date
by
| 7 on each work sheet. The date is in Cell A1 in worksheet 1 and on
worksheet
| 2 I have the formula ='Sheet1'!A1+7. When I copy and past this into
worksheet
| 3 it does not change the formula to ='Sheet2'!A1+7 but retains the
origianl
| sheet reference. Is there any way of achieving what I want or am I going
to
| have to change the fromula on each worksheet manually? I am currently
using
| Excell 2003.
| --
| Skid


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
Change to formulae Emma Hope Excel Worksheet Functions 3 September 5th 05 09:16 PM
Changing a Link Mid-way Across Worksheets Frosty Excel Worksheet Functions 0 August 25th 05 12:03 AM
Define list of worksheets Judy Ward Excel Worksheet Functions 4 June 15th 05 09:44 PM
Relative goes absolute between worksheets in data sort! Kevryl Excel Discussion (Misc queries) 6 January 20th 05 05:01 AM
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 10:05 PM


All times are GMT +1. The time now is 02:58 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"