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?
 

Some videos you may like

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Drrellik

Well-known Member
Joined
Apr 29, 2013
Messages
770
Office Version
  1. 365
  2. 2016
  3. 2013
  4. 2011
  5. 2010
Platform
  1. Windows
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.
 

mattpolyak

New Member
Joined
May 1, 2015
Messages
7
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?
 

Watch MrExcel Video

Forum statistics

Threads
1,123,259
Messages
5,600,575
Members
414,390
Latest member
plimbu

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
Top