Two Workbooks

mattpolyak

New Member
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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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.

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?

Replies
1
Views
178
Replies
3
Views
323
Replies
5
Views
489
Replies
2
Views
235
Replies
6
Views
601

1,218,837
Messages
6,144,755
Members
450,567
Latest member
Mplz

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.

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

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