Insert cell value from another workbook based on defined reference

Fazniro

New Member
Joined
Apr 14, 2016
Messages
10
Hi all,

I have to consolidate sales targets from multiple countries and they have all submitted/sent me their files.

The excel files they send me all look exactly the same in terms of where the numbers i need to fetch is located.
For example, worksheet named "Summary" cell A1 and cell B8.

Then i have a master file, where i have something like this:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]File Name[/TD]
[TD]Unit forecast Product1[/TD]
[TD]Unit forecast Product2[/TD]
[TD]Unit forecast Product3[/TD]
[/TR]
[TR]
[TD]United States[/TD]
[TD]US.xlsx[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]France[/TD]
[TD]FR.xlsx[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Germany[/TD]
[TD]GER.xlsx[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]cell reference:[/TD]
[TD][/TD]
[TD]A1[/TD]
[TD]B8[/TD]
[TD]AB25[/TD]
[/TR]
[TR]
[TD]Sheet name:[/TD]
[TD][/TD]
[TD]Summary[/TD]
[TD]Summary[/TD]
[TD]Objectives[/TD]
[/TR]
</tbody>[/TABLE]

I would like to tell excel: find me the cell value in file named "US.xlsx" in sheet named "Summary" in the cell that i specify here below. Thereby, i mean i specify the cell reference in the master file (as the above table display), because then i can just copy/drag the formula to the right and excel will look in the correct file, correct sheet and correct cell based on input given from the master file.

Can it be done?


best regards
Jakob
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,276
Messages
6,171,139
Members
452,381
Latest member
Nova88

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