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 / March 2006

Tip: Looking for answers? Try searching our database.

Indirect Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sandy - 20 Mar 2006 18:16 GMT
Hello
I understand that a full path is not necessary for a reference, but for
discussion and illustration, say it does...
In AJ5 =LEFT(CELL("Filename",A1),FIND("-",CELL("filename",A1))+1)
and evalutes to c:\Mypath\Myfile - (with spaces before and after -)  
In AG3 "Expenses 2005"
When using fx to step through the formula  
=INDIRECT("'"&AJ5&AG3&".xls]Sheet1'!$AG$7")  AJ58 evaluates to
'''c:\Mypath\Myfile - Expenses 2005.xls]Sheet1'!$AG$7 (Unsure if they are
double quotes or singles) and =INDIRECT(&AJ5&AG3&".xls]Sheet1'!$AG$7")  
evaluates to ''c:\Mypath\Myfile - Expenses 2005.xls]Sheet1'!$AG$7.  I am
trying to get the evaluation to be 'C:\Mypath\Myfile - Expenses
2005.xls]Sheet1'!$AG$7 as a valid reference.
I hope this post wasnt too confusing
Thanks!!
Duke Carey - 20 Mar 2006 19:41 GMT
Looks like you are missing the "[" in front of Myfile

> Hello
> I understand that a full path is not necessary for a reference, but for
[quoted text clipped - 11 lines]
> I hope this post wasnt too confusing
> Thanks!!
Sandy - 21 Mar 2006 15:41 GMT
Thanks for pointing out the typo----but it is still evaluating wth the extra
qoutes instead of just a single qoute.

> Looks like you are missing the "[" in front of Myfile
>
[quoted text clipped - 13 lines]
> > I hope this post wasnt too confusing
> > Thanks!!
 
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



©2009 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.