Archive of Mr Excel Message Board
Back to General Excel archive index
Back to archive home
Linking 2 Excel files with similar dataPosted by L Wolf on January 19, 2002 6:43 PM
I would like to know if it is possible to somehow connect 2 Excel files saved in the same directory to be linked, so when one is edited - the other one is also updated.
Re: Linking 2 Excel files with similar dataPosted by Robb on January 19, 2002 7:41 PM
You could do it by creating links between cells in the two files. To di this:
- Open both workbooks
- Activate the workbook you want automatically updated ie. the one that will
not be edited by the operator
- Select a cell you want to link
- Type =
- Activate the other workbook
- Select the cell you want to link and hit "enter"
- You will return to the first workbook and the selected cell will
contain the reference e.g. =[FirstBook.xls]Sheet1!$A$11
- Repeat for each cell you want to link
- If you want to, you could include references in formulae, say if you wanted
half the value, you would do as above then add /2 to get
or maybe multiply the vales of two cells e.g.
There are a many ways to utilise these references, hope this gives you some ideas.
With this method, if both workbooks are open, the values will update as you go, if not, the
new values will update next time you open the linked workbook.
Re: Linking 2 Excel files with similar dataPosted by L Wolf on January 19, 2002 8:05 PM
I will try that and I'll let you know if I was successful.
This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our online store
to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.