How to referencing cells from another workbook using the information (text) inside the destination workbook

kevin5059

New Member
Joined
Sep 10, 2014
Messages
2
Hi to whom it may be concern,

http://i60.tinypic.com/123s8xw.jpg

Assume that I have 4 separated excel workbook files named as the following and store in directory C:\

EE3190.xlsx
EE3395.xlsx
EE3467.xlsx
EE3497.xlsx

All data are stored in "Sheet1" in the workbook files mentioned above respectively.

I would like to create a summary workbook to view all my data from various workbooks. I tried to create a Function-linksf (in the diagram) to refer the cells from other workbook. However, I did not get what i wanted. Please help.

The diagram on the right hand side shows what I get from my function after i type the formula (=linksf(A3,"3","B") in the respective cell.

='C:\[EE3190.xlsx]Sheet1'!B3 (the excel doesn't threat '=' as the formula initiator)

However, that is not something I expected. I'm looking for some output like the diagram highlighted in RED box. I know that I can link all those cells one by one using

='C:\[EE3190.xlsx]Sheet1'B3 or etc.

however I want something that can make use of the information in my Student Number column to detect the workbooks and copy the cells for me automatically, so once I change my student number column, my worksheet will refer to the filename accordingly.

Please help, thank you very much. Sorry for my english.

The link for the diagram...
http://i60.tinypic.com/123s8xw.jpg



123s8xw.jpg
 
Last edited:

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,222,441
Messages
6,166,053
Members
452,010
Latest member
triangle3

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