Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

reference work sheet name by using a formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
worksheet reference by label - 12 Feb 2008 20:30 GMT
I have multiple sheets.  Instead of using the harcode sheet name and the
reference cell in that sheet, is there a way to refer to the worksheet name
using a label.

I want to copy a value from sheet named "XYZ" cell "F5" to my current Sheet1
cell "A2".

Usual way is cell "A2" in Sheet1 would contain the ='XYZ'!$F$5.

Can I have a cell "A1" in Sheet1 with the value XYZ.  Then my formula would
refer to that cell "A1".  example =A1!F5
Teethless mama - 12 Feb 2008 20:40 GMT
=INDIRECT(A1&"!F5")

> I have multiple sheets.  Instead of using the harcode sheet name and the
> reference cell in that sheet, is there a way to refer to the worksheet name
[quoted text clipped - 7 lines]
> Can I have a cell "A1" in Sheet1 with the value XYZ.  Then my formula would
> refer to that cell "A1".  example =A1!F5
Tyro - 12 Feb 2008 20:40 GMT
If A1 contains XYZ  you can use in A2:

=INDIRECT(A1&"!F5) to get the value from XYZ!F5

Tyro

>I have multiple sheets.  Instead of using the harcode sheet name and the
> reference cell in that sheet, is there a way to refer to the worksheet
[quoted text clipped - 10 lines]
> would
> refer to that cell "A1".  example =A1!F5
Tyro - 12 Feb 2008 20:45 GMT
Correction:

=INDIRECT(A1&"!F5") to get the value from XYZ!F5

> If A1 contains XYZ  you can use in A2:
>
[quoted text clipped - 16 lines]
>> would
>> refer to that cell "A1".  example =A1!F5
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.