Two Workbooks

mattpolyak

New Member
Joined
May 1, 2015
Messages
7
To simplify a previous question that got no response:

Lets say you have two workbooks. One has a value of 1 or two in Cell A1.
The second has a formula that reads: (=IF('C:\Users\Mattpolk\Desktop\[source.xlsx]Sheet1'!$A$1=2,2,IF('C:\Users\Mattpolk\Desktop\[source.xlsx]Sheet1'!$A$1=1,1,0)) in cell A1 and A2. with a sum of A1 and A2 in cell A3

In cell A2 in the first book should be the value of A3 in the second book.

I need cell A2 in this first book to change and update when I change cell A1 to 1 or 2 while workbook 2 is closed.

Is this possible?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Ok,

First if I understand you correctly book2 has the formula in cells A1 & A2 with a =sum(A1:A2) in book2 A3. and in book1 cell A2 is ='C:\Users\Mattpolk\Desktop\[destination.xlsx]Sheet1'!$A$3

if you have booth workbooks in the same directory you should not need the path and can usually just get away with the book name and sheet name cell ref. I am using 2013 and I don't have to have the second workbook open for the calculations to take place, at work we have 2010 and some security so I have to have the other book open for it to grab data.

hope this helps.
 
Upvote 0
Yes that's correct.

I have excel 2010 at work. So is there anyway around having the other books open in order for it to grab the data?
 
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,037
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top