Reference to table in different workbook is inconsistent?

Xalova

Board Regular
Joined
Feb 11, 2021
Messages
71
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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
65,940
Office Version
  1. 365
Platform
  1. Windows
Try using ranges rather than structured references.
 

Forum statistics

Threads
1,148,190
Messages
5,745,246
Members
423,938
Latest member
manilaphilips

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