Link a part of external source to a cell

NilsYan

New Member
Joined
Jan 9, 2017
Messages
15
Hello,

I have several excel files with the same structure, and these files' names being country names (Portugal, Spain, Greece, etc.). In a separate file (File Output) I would like to return the Cell F4 from Sheet 1 of all these files into column B. In File Output, I have the names of countries in column A, and I would like to link the formulas of column B to column A cells and drag down. For example, Cell B4 = Desktop\[April2019 Portugal.xlsx]Sheet1'!$F$4. Instead of "Portugal" I would like to have "cell A4", so that it reads Cell B4 = Desktop\[April2019 "Cell A4".xlsx]Sheet1'!$F$4

Thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,215,819
Messages
6,127,049
Members
449,356
Latest member
tstapleton67

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