#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Keeping Cells linked

Hi,
I have two worksheets containing data with each column totalled seperately
in the last row, also, each sheets totals are linked to the other sheet so
that the two totals can then be added together. I regularly have to add or
delete a row or rows from one or the other sheet which then throws the link
out. Is there a way I can make each sheet total after removing/adding rows
without having to change the link formula each time?
Thx
Kev
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 180
Default Keeping Cells linked

If there's nothing in the columns you're totalling except the data and a
non-numeric header, you could use sum formulas on the totals sheet. That is,
instead of =Detail!C40, use =sum(Detail!C:C)/2 (divide by two to account for
the fact that the total is at the bottom of each detail column).
Another way would be to add a blank cell below each column of figures,
include the blank row in the sum, and always insert a cell before the blank
cell. If your data is in C2:C39, calculate your sum in C41 as =sum(c2:c40).
To add another entry, click in C40 then insert cells (shift cells down).
That will adjust your sum function's cell reference to c2:c41, and should
also adjust the link to point to c42.

"kevhatch" wrote:

Hi,
I have two worksheets containing data with each column totalled seperately
in the last row, also, each sheets totals are linked to the other sheet so
that the two totals can then be added together. I regularly have to add or
delete a row or rows from one or the other sheet which then throws the link
out. Is there a way I can make each sheet total after removing/adding rows
without having to change the link formula each time?
Thx
Kev

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default Keeping Cells linked

Hi hevhatch,
you are experiencing a common user crisis wherein after building the data
file in worksheet(s) and been linked together...maintaining it becomes a user
problem..

bpeltzer's suggestion is a good one...
try also another ways
1. open all the linked workbooks when you are doing updates on your data,
dont delete the row containing the sum formula. Before making changes, try to
click the Auditing toolbar "trace dependents" to see if your data are being
referred by which workbooks...also visit EditLinks to see the workbooks that
are dependent or been utilized by the current open workbook(s)...
2. try to put the column sum on the top row(s) eg. ROW(1) in this case u
don't need to open all the linked files, altogether. e.g. A1=sum(A10:A20000)
3. It will be better to put all your sheets under one workbook to avoid the
above 2 suggestions.
regards
--
*****
birds of the same feather flock together..



"kevhatch" wrote:

Hi,
I have two worksheets containing data with each column totalled seperately
in the last row, also, each sheets totals are linked to the other sheet so
that the two totals can then be added together. I regularly have to add or
delete a row or rows from one or the other sheet which then throws the link
out. Is there a way I can make each sheet total after removing/adding rows
without having to change the link formula each time?
Thx
Kev

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
zero's in linked cells luckeyme Excel Discussion (Misc queries) 3 January 10th 07 10:17 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
quick way to copy-paste a formula linked to cells in another file iniakupake Excel Worksheet Functions 2 September 26th 05 03:56 AM
Show cells have been read - linked ufo_pilot Excel Discussion (Misc queries) 0 August 5th 05 04:22 PM
Update linked cells within a workbook??? Chance224 Links and Linking in Excel 4 January 21st 05 06:33 PM


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