I have got 2 files saved on my Desktop, let's call them:
- Master File;
- Slave File x*;
x - I want to be able to create x copies of this file.
For now by using formula Index, Match and I'm pulling data from tables in Slave File which are connected to the Master File by Power Query.
Master File got data -> Slave File (Power Query) transfers it into tables -> pull content using Index, Match.
Problem:
I want to share this file to my team but when I copy folder which includes both files, to the shared drive it says that it is looking for my Master File saved on my desktop. In perfect world I want to all my teammates got both files (or x copies of Slave File) wherever they want to have them.
Example:
- Teammate 1:
Saved Master File in Folder A;
Saved 10 copies of Slave File in Folder A;
- Teammate 2:
Saved Master File in Folder B;
Saved 5 copies of Slave File in Folder B.
Teammate 1 and 2 both will update Master File but with different data, it depends on what they need and want to copy in it.
Solution:
I want them to be able to update their copy of Master File and then their copy of Slave File to be able to pull data from their Master File no matter where it is saved.
What I tried:
I googled that I can change parameters in Power Query but I definitely did it wrong since nothing changed. I also found INDIRECT formula but after 34 attempts to implement it to my formula, I gave up.
=(INDEX(Tab_Name1[[Table1]:[Table1]],MATCH(1,($B$2=Tab_Name1[[Table2]:[Table2]])(C$4=Tab_Name1[[Table3]:[Table3]])($A5=Tab_Name1[[Table4]:[Table4]]),0))
Extra Note:
I'm trying to avoid using VBA solutions as far as it is possible.
INDIRECT
-formula is often a pretty good way to go about things - just keep in mind that you need to have the workbooks that you are referring to open when you refresh the data. This is true for any direct references to external notebooks in excel. Have you tried keeping the "Slave File" and "Master File" open at the same time when implementing theINDIRECT
-formula? – PrebsusINDIRECT
function on a resultant table from a Power Query connection in one of your workbooks (Slave or Master), you can certainly do that. May I as, what is going on in yourMATCH
-formula above, particularly the use of=
inside the match function? What are you trying to accomplish with this? – Prebsus