LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Rob Hick
 
Posts: n/a
Default

great stuff.

the CELL("Filename",INDIRECT("A1")) works perfectly to return the
reference of the calling cell.

the latter assumption is correct - so defining the name as above, then
in a cell putting =London!MonthSales works but
=INDIRECT("London!MonthSales") does not.

I tried reverting to the INDEX style syntax (great tip - thanks) but
unfortunately this doesn't work either - still getting a #REF! error.
What is even more strange is that putting
=CELL("address",London!MonthSales) returns the correct cell reference
as you say....?

There must be something in the definition of the names that can't be
resolved when the reference uses INDIRECT.

I tried putting =INDIRECT("WorksheetName") in a cell and it returns the
#REF! error - could this be the problem?

NB. WorksheetName =RIGHT(CELL("filename",INDIRECT("A1")),
LEN(CELL("filename",INDIRECT("A1")))-
FIND("]",CELL("filename",INDIRECT("A1"))))

thanks
Rob

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
INDIRECT Function and Autofill Neil Grantham Excel Worksheet Functions 1 April 21st 05 12:22 AM
indirect worksheet function in excel richard_annor Excel Worksheet Functions 1 March 6th 05 11:10 PM
INDIRECT function error Anthony Slater Excel Discussion (Misc queries) 3 February 21st 05 06:26 PM
formula referencing another workbook Steve D Excel Worksheet Functions 2 January 7th 05 09:43 PM
Can I use TODAY Function in formula without it changing the next . Tucson Guy Excel Discussion (Misc queries) 1 December 19th 04 09:47 AM


All times are GMT +1. The time now is 02:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"