Wednesday, December 03, 2008   
  Search   
 
Register  Login  
Forums  
     Minimize  

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  


 
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Excel  Linking of excel files
Previous Previous
 
Next Next
New Post 10/1/2008 5:04 PM
User is offline Sachin Juneja
1 posts
Member


Linking of excel files 

I have been referred a problem from one of my collegue. She is required to work in multiple excel files and uses linkages between files to consolidate data between different excel files.

It could be as simple as a case of 2 + 3 = 5 (Figures of 2 and 3 are lying in 2 seperate files and being consolidated in a third file through a sum formula).

Now when she inserts some additional rows or columns in one of the first 2 files which contains the base data, the cell reference number changes for the data.

The problem is that the new cell reference is sometimes updated in the formula and sometimes not (in the consolidated statement).

Could this problem be to do with that all 3 files need to kept opened while making changes in one of the files ? It is sometimes very difficult to remember the list of all the files that are cross linked like this, so it becomes a big practical constraint. What can be the best way to handle/minimise such issues in excel ?

Thanks for your reply in advance

 

 
New Post 10/1/2008 5:27 PM
User is offline Ashish Mathur
89 posts
www.ashishmathur.com
Member




Re: Linking of excel files 

Hi,

Let’s say you have 3 workbooks – A, B and C.  C is the consolidated workbook which sums up figures from workbook A and B.
 
First of all, when working with multiple workbooks, links in C will get updated (if any change is made in A and/or B), provided the link in C to A and/or B is upto 255 characters.  Characters beyond 255 (this limit has been relaxed in Excel 2007) are truncated and therefore links may not work as expected unless A and B are also opened.  Therefore your problem is well understood.
 
Also, to update links in C, one would have to press F2 in the respective cells in C.  This obviously is not a working solution.
 
Possible Solution/Workaround
 
This is what you could do:
 
1.       Open all the files which are cross linked (A, B and C);
2.       In Excel 2003, go to File > Save workspace and give it a suitable name (say consolidation);
 
Now what has happened is that you have created a “workspace” file which stores the layout of all the open workbooks.  Whenever you want to open C, then instead of double clicking on C, double click on the Consolidation file.  You would notice that all three files would open up and therefore any changes made in A and B would be reflected in C.  Please also note that the workspace file named Consolidation only stores the layout of the individual files and nothing else.  Therefore, if you want to mail the individual workbooks to somebody, I suggest that you also mail the workspace file with instructions that he must double click on the workspace file.
 
Also, please note that some Excel functions such as SUMIF(), COUNTIF() do not work when workbooks are closed – you will get an error.  When you open the individual worksheets i.e. base data sheets, the result would appear.  Therefore the File > Workspace method could come to our rescue.
 
Hope this helps.  Please let me know how this works for you.

For Microsoft Excel trainings in India, please visit http://ashishmathur.com/training.aspx

Regards,

Ashish Mathur - View Ashish Mathur's profile on LinkedIn
Microsoft Excel MVP
www.ashishmathur.com

 
Previous Previous
 
Next Next
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Excel  Linking of excel files


   Get Your Own E-Mail Account @MeraWindows.com Minimize  
New Page 1 New Page 1
Show your cool quotient with @merawindows.com email account