Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Auto-adjusting Formulas

I created a balance sheet where column A is date formatted, column B is
general formatted, and columns C & D are both currency formatted. Line one
of the sheet does not contain any formulas, so that the beginning balance can
be adjusted.

My formula starts in cell D2, and is filled down the remainder of column D
in the worksheet. D2 formula is as follows: =IF(ISBLANK(C2),"",D1-C2)
D3 formula reads: =IF(ISBLANK(C3),"",D2-C3)
....and so on down the remainder of column D cells.

The problem is, once data is entered, if a line in the worksheet is deleted,
the following error occurs: #REF! (shows in all column D cells following
the deleted line). When the uppermost error cell is clicked on to review the
formula, the formula shows: =IF(ISBLANK(C3),"",#REF!-C3)
If the subsequent column D cells with the #REF! error are clicked on to
review their formulas, there is no #REF! within those formulas.

Any help is greatly appreciated!

--
Nick B.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Auto-adjusting Formulas

The solution is not to delete a row in your sheet !!

Suppose you delete row 10 - the formulae above this are not affected,
but the formula that was in row 11 would refer to a cell in row 10,
and when you delete that row this formula has lost the cell reference:
hence the #REF error. Subsequent formulae are trying to add onto the
previous row, but as this now contains an error then the cells further
down the sheet will also show the error, even though the formulae
themselves are not in error.

Hope this helps (to describe the problem).

Pete

On Aug 19, 10:51*pm, Nick B. wrote:
I created a balance sheet where column A is date formatted, column B is
general formatted, and columns C & D are both currency formatted. *Line one
of the sheet does not contain any formulas, so that the beginning balance can
be adjusted.

My formula starts in cell D2, and is filled down the remainder of column D
in the worksheet. *D2 formula is as follows: *=IF(ISBLANK(C2),"",D1-C2)
D3 formula reads: *=IF(ISBLANK(C3),"",D2-C3)
...and so on down the remainder of column D cells.

The problem is, once data is entered, if a line in the worksheet is deleted,
the following error occurs: *#REF! (shows in *all column D cells following
the deleted line). *When the uppermost error cell is clicked on to review the
formula, the formula shows: *=IF(ISBLANK(C3),"",#REF!-C3)
If the subsequent column D cells with the #REF! error are clicked on to
review their formulas, there is no #REF! within those formulas.

Any help is greatly appreciated!

--
Nick B.


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
auto adjusting for calculation when a row is added [email protected] Excel Discussion (Misc queries) 0 June 1st 08 10:09 PM
Auto Adjusting Text Boxes? Jae New Users to Excel 1 August 12th 05 04:38 AM
Auto Adjusting Text Box Jae Excel Discussion (Misc queries) 0 August 11th 05 06:19 PM
Auto Adjusting # of rows between 2 worksheets Kevin McKellar Excel Worksheet Functions 4 December 30th 04 03:57 PM
Auto adjusting # rows between 2 worksheets kevin mckellar New Users to Excel 1 December 30th 04 03:01 PM


All times are GMT +1. The time now is 09:19 AM.

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"