SOLVED

Linking Entire Sheet to another Worksheet

%3CLINGO-SUB%20id%3D%22lingo-sub-2840034%22%20slang%3D%22en-US%22%3ELinking%20Entire%20Sheet%20to%20another%20Worksheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2840034%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20externally%20link%20an%20entire%20spreadsheet%20to%20another%20spreadsheet.%20Example%3A%20I%20want%20all%20of%20the%20data%20on%20Sheet1%20to%20be%20on%20Sheet2.%20I%20also%20want%20Sheet2%20to%20auto-update%20when%20Sheet1%20does.%20However%2C%20I%20do%20want%20this%20externally%20linked%2C%20so%20it%20will%20be%20from%20a%20sheet%20in%20one%20workbook%20to%20a%20sheet%20in%20another.%20I%20don't%20want%20to%20have%20to%20manually%20update%20the%20information%20by%20selecting%20the%20specific%20cells%20which%20is%20what%20every%20website%20I%20checked%20so%20far%20has%20you%20do.%20You'll%20see%20how%20I%20bypassed%20that%20originally%20in%20the%20below%20formula.%20I%20also%20tried%20a%20dynamic%20link%20with%20a%20query%20but%20I%20don't%20want%20the%20data%20as%20a%20table%20since%20that%20doesn't%20fit%20the%20aesthetic.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20succeeded%20with%20this%20on%20one%20tab%20in%20my%20Global%20Forecast%20Workbook%20linking%20it%20to%20the%20TW%20Cash%20Forecast%20Mar%2026%2021%20Workbook%20with%20the%20USD%20Sheet%20using%20the%20following%20formula%20in%20the%20A1%20cell%20of%20the%20tab%20I%20want%20the%20information%20to%20appear%20on%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3D'TW%20Cash%20forecast%20Mar%2026''21.xlsx'!USD%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20then%20tried%20the%20below%20similar%20formula%20on%20another%20tab%20in%20the%20Global%20Forecast%20Workbook%20and%20get%20the%20%23NAME%3F%20error.%20I%20cannot%20figure%20out%20why%20this%20happening.%20Does%20anyone%20know%3F%3C%2FP%3E%3CP%3EHere's%20the%20link%20formula%20to%20a%20different%20workbook%20and%20worksheet%20that%20is%20not%20working%3A%3C%2FP%3E%3CP%3E%3D'CF%20US%2021.xlsx'!CashFlowForecast%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20appreciate%20any%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2840034%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2845915%22%20slang%3D%22en-US%22%3ERe%3A%20Linking%20Entire%20Sheet%20to%20another%20Worksheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2845915%22%20slang%3D%22en-US%22%3EThe%20formula%20depends%20on%20the%20presence%20of%20a%20range%20name%20in%20the%20workbook%20you%20are%20linking%20to.%3CBR%20%2F%3EIf%20I%20may%20ask%3A%20What%20is%20wrong%20with%20having%20it%20in%20a%20table%3F%20Tables%20have%20huge%20advantages.%20Do%20you%20know%20you%20can%20change%20the%20formatting%20of%20the%20table%20by%20choosing%20a%20different%20table%20style%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2848306%22%20slang%3D%22en-US%22%3ERe%3A%20Linking%20Entire%20Sheet%20to%20another%20Worksheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2848306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20responding.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20I%20know%20it%20depends%20on%20a%20range%20name.%20Do%20you%20know%20the%20US%20CF%2021%20range%20name%20would%20not%20have%20worked%20when%20the%20other%20did%20work%3F%20All%20of%20the%20characters%20are%20correct%20in%20the%20stated%20names.%20There%20is%20nothing%20missing%20or%20added.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20want%20to%20use%20a%20table%20for%20two%20reasons.%20First%2C%20the%20information%20is%20not%20simply%20a%20data%20set%2C%20it%20is%20the%20final%20presentation%20of%20data%20that%20is%20being%20pulled%20from%20data%20sets.%20Second%2C%20the%20document%20is%20for%20aesthetics%20and%20not%20manipulation.%20It%20will%20be%20used%20by%20the%20Executives%20of%20the%20company%20to%20view%20for%20information%20only.%20I%20have%20played%20with%20different%20table%20styles%20and%20they%20don't%20do%20the%20job%20I%20want.%20If%20I%20have%20to%20turn%20to%20a%20query%2C%20I%20may%2C%20it%20just%20isn't%20doing%20what%20I%20want%20it%20to.%20Unlike%20the%20successful%20formula%20I%20mentioned%20above.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

 

I am trying to externally link an entire spreadsheet to another spreadsheet. Example: I want all of the data on Sheet1 to be on Sheet2. I also want Sheet2 to auto-update when Sheet1 does. However, I do want this externally linked, so it will be from a sheet in one workbook to a sheet in another. I don't want to have to manually update the information by selecting the specific cells which is what every website I checked so far has you do. You'll see how I bypassed that originally in the below formula. I also tried a dynamic link with a query but I don't want the data as a table since that doesn't fit the aesthetic.

 

I succeeded with this on one tab in my Global Forecast Workbook linking it to the TW Cash Forecast Mar 26 21 Workbook with the USD Sheet using the following formula in the A1 cell of the tab I want the information to appear on: 

='TW Cash forecast Mar 26''21.xlsx'!USD

 

I then tried the below similar formula on another tab in the Global Forecast Workbook and get the #NAME? error. I cannot figure out why this happening. Does anyone know?

Here's the link formula to a different workbook and worksheet that is not working:

='CF US 21.xlsx'!CashFlowForecast

 

I appreciate any help.

15 Replies
The formula depends on the presence of a range name in the workbook you are linking to.
If I may ask: What is wrong with having it in a table? Tables have huge advantages. Do you know you can change the formatting of the table by choosing a different table style?

@Jan Karel Pieterse 

 

Thank you for responding.

 

Yes, I know it depends on a range name. Do you know the US CF 21 range name would not have worked when the other did work? All of the characters are correct in the stated names. There is nothing missing or added. 

 

I don't want to use a table for two reasons. First, the information is not simply a data set, it is the final presentation of data that is being pulled from data sets. Second, the document is for aesthetics and not manipulation. It will be used by the Executives of the company to view for information only. I have played with different table styles and they don't do the job I want. If I have to turn to a query, I may, it just isn't doing what I want it to. Unlike the successful formula I mentioned above. 

@ToddListon 

 

something is missing in your narrative, you forgot to mention if both workbooks were open or closed or if TW Cash forecast Mar 26''21.xlsx was open or closed and CF US 21.xlsx' was open or closed.  Test again this time both files closed and see if both formula works.

Separate the logic I would say: presentation is a different process than getting in the data. So get the data in using a query (into a table or directly feeding a pivottable or whatever you need), then use other techniques within the file to create a nice presentation sheet.
Ah, thank you for asking for the clarification. Originally I tried all configurations, both open, both closed, one open/one closed. And none work. I tried again just now, just in case. When closed I get the full file extension built into the formula, and double checked to make sure that was correct as well.
Okay, thank you for the recommendation.

@ToddListon 

 

it should work when both files are opened or closed, here's a sample screen shot of one that works:

Yea_So_0-1634325815729.png

look at the formula bar

 

Ah, yes. I see what you are sharing. And I see how the formula works there. Thank you.

The difference with the formula you shared and what I shared is the specific cell references. You have here an external reference to a workbook->worksheet->specific cells. I am trying to just reference Workbook->worksheet without the cells. I want the entire worksheet. And like I mentioned above, I got it to work with one workbook and worksheet, but not the other. I don't know why only one is working.

I can get it to work when I reference specific cells. It works every time. As soon as I try to only reference the worksheet in the US CF 21 workbook, the formula no longer works.

@ToddListon 

 

So the question for you to ask and logically thinking about it is, how would excel know which specific value you want returned if you're only referencing the entire workbook/worksheet/cell address (column or row or both)?

 

Excel is a triangulation equation calculation tool. Let's talk about this concept in a form of analogy.

 

Think of the geography of New York city as a worksheet, Avenues are columns and Streets are rows.

 

If I gave you a map of New York City and instruct you to deliver a package to someone in New York (you are excel engine in this example and New York is the worksheet in this example) so I gave you a package (value) and gave you a map of the worksheet without telling you the specific cell address of where to drop that value (package) off how are you going to know where to drop the package in New York City?

 

Its the same with excel.

I can get behind this analogy, and I see the logic. While I get that excel may need the triangulation like you mentioned, what I don't understand is again, why did it work for me once but not twice to only reference the workbook/worksheet without any columns or rows.

In my original question I said that I only referenced the TW Cash Forecast Mar 26 21 Workbook with the USD Sheet using the following formula in the A1 cell of the tab I want the information to appear on, and it worked.
='TW Cash forecast Mar 26''21.xlsx'!USD

But then when I then tried the below similar formula referencing a different workbook and worksheet I get the #NAME? error.
Here's the link formula to a different workbook and worksheet that is not working:
='CF US 21.xlsx'!CashFlowForecast

So I was able to get one formula to work without the specific cell address but not the other. I don't understand why excel would allow one, but not the other. And like I said, I tried both with both workbooks open and closed to no success.

If I had failed on getting either to work I would assume that I excel required a specific cell address for external referencing to work. But since one of two works, and continues to work regardless of me erasing and rewriting the formula or opening and closing the workbook, I am led to believe that excel allows this type of external referencing, I just have something else wrong.
best response confirmed by ToddListon (New Contributor)
Solution

@ToddListon 

 

You stated: I get the #NAME? error.

check this place:

Yea_So_0-1634328353618.png

check the name manager, maybe the range for the formula that worked is defined there, while the other is not.

I missed checking that... A huge chunk of the sheet was defined with a name. So that was the answer. Thank you for sticking with me on this.

@ToddListon 

 

excel already told you where to look, you just weren't listening to it. lol

Yeah, I'm just new enough to the errors to not understand what should have been clear. lol

@ToddListon 

 

Thank you for marking the answer, other users with the same scenario questions will now be able to search the community to find their answer.

 

Have a great week!

 

cheers