Moving external sheet to new tab in new doc

RodneyC

Active Member
Joined
Nov 4, 2021
Messages
278
Office Version
  1. 2016
Platform
  1. Windows
I have three documents I'm trying to merge into one.

Doc 1 - Has a tab named "Destination" using this code in column C that reads from doc 2, tab CallSign Lookup

=VLOOKUP(A6,'C:\Users\WorkStuff\Documents\Monthly Reporting\December\[CallSignLookup.xlsx]CallSign Lookup'!$Q:$T,4,FALSE)

All works as it is needed. I have copy/pasted this entire tab into a new tab in doc 3

Doc 2 - Data from the CallSign Lookup tab had been copy/pasted into doc 3 and given the same name "CallSign Lookup" as it currently has in doc 2.

Doc 3 - I've gone to the new "Destination" tab and where I have =VLOOKUP(A6,'C:\Users\WorkStuff\Documents\Monthly Reporting\December\[CallSignLookup.xlsx]CallSign Lookup'!$Q:$T,4,FALSE) I have replaced with

=VLOOKUP(A6'CallSign Lookup'!$Q:$T,4,FALSE)

Thinking it would read from the tab within the doc. It isn't. When I hit enter to make it work, it opens a window asking me to select the appropriate file, then tab and it changes the code to:

=IFERROR(VLOOKUP(A5,CallSign '[Lookup]CallSign Lookup'!$Q:$T,4,FALSE),"-")

and doesn't produce the result I'm expecting.

It seems I'm missing something obvious. Any ideas?


Thanks in advance
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
When I hit enter to make it work, it opens a window asking me to select the appropriate file,
This means you do not have have a sheet in the same workbook as the formula called 'CallSign Lookup' check for typos & leading/trailing spaces.
 
Upvote 0
This means you do not have have a sheet in the same workbook as the formula called 'CallSign Lookup' check for typos & leading/trailing spaces.
Thanks. I got it working.
 
Upvote 0
Glad it's sorted & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

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