LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
WT WT is offline
external usenet poster
 
Posts: 16
Default using the Cell function

I am able to aquire the name of a page with the following equasion.
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255).
And I have found that I can aquire any page name using a label rather than a
cell address which gives the page title where the select cells of the label
exist.
(Where John is the label address of cell A1:A10: on sheet2)
=MID(CELL("filename",John),FIND("]",CELL("filename",John))+1,255)
This returns "Sheet2"
I also know that you can obtain the contents of a cell using this equasion.
=CELL("Contents",A1)

Finally the question

So why can I not nest the "CELL" function to obtain the page name for a
label that is contained in a cell??
For example,
If I have a label say "John" that points to the cells A1:A10 on Sheet2 and I
want to use the page title in another equasion on Sheet1 and it's possible
that the page title can change over time. I want to be able to have the
title no matter what it might change to. So I plased the word "John" in a
cell A1 to use as a reference.
So I tried to nest the "CELL" function in this equasion but it consistantly
gives me an error although I can not find any error in the syntax. What is
wrong with this and why won't it allow nexting of the "CELL" function??

=MID(CELL("filename",CELL("contents",A1)),FIND("]",CELL("filename",CELL("contents",A1)))+1,255)


--
Thank you
 
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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
I want result of a function in the cell and not the function itsel Rana Excel Worksheet Functions 4 July 2nd 07 06:20 AM
cell displays function not value of function Gina Excel Worksheet Functions 2 November 10th 06 05:26 PM
Can function in one cell change value or function in another cell? me Excel Worksheet Functions 4 February 27th 06 01:04 PM
Hiding a function value in a cell until function used Paul Smithson Excel Worksheet Functions 1 February 25th 05 06:19 PM


All times are GMT +1. The time now is 09:04 PM.

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

About Us

"It's about Microsoft Excel"