Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Absolute Reference Changes

I have the below formula in "sheet2" of a workbook ("Schedule" being the only
other sheet).

=IF(OR(Schedule!$A$5="Totals", Schedule!$A$4="Totals"), "",
IF(OR(Schedule!$B$4="START", NOT($C$1=""))*NOT(Schedule!$B$4="END"),
Schedule!$A$5-Schedule!$A$4, ""))

In creating this I initially used relative references so that I could copy
it over a large number of rows (10000) and have the row references update
automatically.

I then converted it to absolute references by using find/replace (eg Find: A
Replace: $A$).

I've done this over so many rows because the other sheet is a blank form and
it will be used multiple times with varying numbers of rows.

Because of this, I need to be able to insert blank rows into the middle of it.

That is where the problem arises. In the above formula, the refences
currently showing $A$5 don't appear to be absolute, they change when I insert
new rows. None of the other values do that.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Absolute Reference Changes

If you insert a new row at row 5, all references to cells in row 5 and
beyond will adjust, relative or absolute.

--
__________________________________
HTH

Bob

"ATChurch" wrote in message
...
I have the below formula in "sheet2" of a workbook ("Schedule" being the
only
other sheet).

=IF(OR(Schedule!$A$5="Totals", Schedule!$A$4="Totals"), "",
IF(OR(Schedule!$B$4="START", NOT($C$1=""))*NOT(Schedule!$B$4="END"),
Schedule!$A$5-Schedule!$A$4, ""))

In creating this I initially used relative references so that I could
copy
it over a large number of rows (10000) and have the row references update
automatically.

I then converted it to absolute references by using find/replace (eg Find:
A
Replace: $A$).

I've done this over so many rows because the other sheet is a blank form
and
it will be used multiple times with varying numbers of rows.

Because of this, I need to be able to insert blank rows into the middle of
it.

That is where the problem arises. In the above formula, the refences
currently showing $A$5 don't appear to be absolute, they change when I
insert
new rows. None of the other values do that.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Absolute Reference Changes

Yes, I see that now. Thanks.

Anyway, as is "^£%*$ typical, the next question I actually found on here
answered it for me.

I inserted INDIRECT("X#") around every cell reference.

"Bob Phillips" wrote:

If you insert a new row at row 5, all references to cells in row 5 and
beyond will adjust, relative or absolute.

--
__________________________________
HTH

Bob

"ATChurch" wrote in message
...
I have the below formula in "sheet2" of a workbook ("Schedule" being the
only
other sheet).

=IF(OR(Schedule!$A$5="Totals", Schedule!$A$4="Totals"), "",
IF(OR(Schedule!$B$4="START", NOT($C$1=""))*NOT(Schedule!$B$4="END"),
Schedule!$A$5-Schedule!$A$4, ""))

In creating this I initially used relative references so that I could
copy
it over a large number of rows (10000) and have the row references update
automatically.

I then converted it to absolute references by using find/replace (eg Find:
A
Replace: $A$).

I've done this over so many rows because the other sheet is a blank form
and
it will be used multiple times with varying numbers of rows.

Because of this, I need to be able to insert blank rows into the middle of
it.

That is where the problem arises. In the above formula, the refences
currently showing $A$5 don't appear to be absolute, they change when I
insert
new rows. None of the other values do that.




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
absolute reference Rene Charts and Charting in Excel 1 January 19th 09 01:18 PM
Absolute cell reference will not remain absolute. Mike K Excel Worksheet Functions 1 October 8th 08 07:12 PM
Absolute Reference (again) LCC Jon-Kun Excel Discussion (Misc queries) 3 December 17th 07 04:45 PM
what is absolute reference suicidal Excel Discussion (Misc queries) 4 April 10th 07 12:54 PM
Absolute Reference Rebecca Excel Discussion (Misc queries) 4 August 30th 06 01:36 PM


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