Formula in Distinct Workbook

ccastaldi

New Member
Joined
Apr 28, 2006
Messages
20
Is it possible to make a formula (that contains references from anorther workbook) work, without opening the refered file? If there's no solution for that, how do I check if a workbook is already opened?

tks
Cesar
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,723
It depends on what the formula is. What is the formula exactly?
 

ccastaldi

New Member
Joined
Apr 28, 2006
Messages
20
The formula is:

=SUMPRODUCT((('[MileHigh LiveBook.xls]Trades'!B2:B1000)=$B$4)*(('[MileHigh LiveBook.xls]Trades'!E2:E1000)=$A$4)*(('[MileHigh LiveBook.xls]Trades'!K2:K1000)>0);('[MileHigh LiveBook.xls]Trades'!K2:K1000))/$C$4*1

The question is about making this formula work, without opening the file 'MileHigh LiveBook.xls'.
 

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459
Try,

=SUMPRODUCT(--('[MileHigh LiveBook.xls]Trades'!B2:B1000=$B$4),--('[MileHigh LiveBook.xls]Trades'!E2:E1000=$A$4),--('[MileHigh LiveBook.xls]Trades'!K2:K1000 > 0),'[MileHigh LiveBook.xls]Trades'!K2:K1000)/$C$4
 

Forum statistics

Threads
1,176,445
Messages
5,903,143
Members
435,010
Latest member
bench205

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