Reference a worksheet in a cell

lynxbci

Board Regular
Joined
Sep 22, 2004
Messages
201
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I have a main worksheet that pulls data from one of several other worksheets, which may not be open at that time. I would like to be able to type into cell the name of the worksheet that i wish to use. Is this possible?

E.g
In cell A1 you type worksheet1.xls
In Cell A3 the Formula ='[WORKSHEET1.xls]Sheet1'!$A$5
If i then change A1 to workseet2.xls i want the formula in A3 to change to
='[WORKSHEET2.xls]Sheet1'!$A$5

Something like = A3!Sheet1!$A$5 but this doesn't work

thanks in advance
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
=HYPERLINK("[C:\myPath\TAPv2r1.xls]Setup!$E$7","This Page")

The above link is correctly formatted to allow Excel to not only open a file but to access a specific cell on a specific tab.

Pay special attention to the punctuation/syntactical marks.

Caveat: If you have already used the menu system to create a link and then attempt entering the hyperlink function on top of it, the old link will take precedence. Since the menuing system-supported linking does not support referencing a specific tab and cell, you will continue to experience problems. The solution is to first remove the link and then use the hyperlink command.
 
Upvote 0

Forum statistics

Threads
1,222,143
Messages
6,164,171
Members
451,880
Latest member
2da

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