Reference to table in different workbook is inconsistent?

Xalova

Board Regular
Joined
Feb 11, 2021
Messages
80
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
So... basicly what the title says.

I have a formula which lets me filter values from a huge table as a database. the formula is as follows:
Excel Formula:
=LET(Advanced,
IFS(F2<>"",SEARCH(F2,'Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[Lieferant]),H2<>"",SEARCH(H2,'Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[Artikel-Nr.]),J2<>"",SEARCH(J2,'Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[Material]),L2<>"",SEARCH(L2,'Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[Kategorie]),N2<>"",SEARCH(N2,'Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[Norm])),

FilterName,
FILTER('Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[#Data],ISNUMBER(SEARCH(C2,'Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[Name]&'Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[Synonym, Beschreibung A+L])*IF(ISERR(Advanced)=FALSE,1,Advanced)),

"keine Artikel vorhanden"),IF(FilterName=0,"-",FilterName))

that works as long as i have the databasefile open. But i need it to be independent from eachother. i thought that maybe the filter function causes the problem. So i thought only reference the table in the other workbook.
with
Excel Formula:
='C:\Users\t.schroeder\Desktop\btry\Verbrauchsmaterialien Datenbank (work in progress).xlsm'!Verbrauchsmaterial[#Data]

as soon as i close the workbook "Verbrauchsmateirlien Datenbank (work in progress)" i get a ref error. Why is it and how do i fix it?
 
Last edited:

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try using ranges rather than structured references.
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,541
Latest member
iparraguirre89

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