=MID(CELL("filename",$A$1),FIND("[",CELL("filename",$A$1))+1;FIND("]",CELL("
filename",$A$1))-FIND("[",CELL("filename",$A$1))-1)
returns workbooks name
=MID(CELL("filename";$A$1);FIND("]";CELL("filename";$A$1))+1;99)
returns worksheets name
Thank you very much, Arvi
I think it's typo-error
I have to replace all the ";" with ","
Arvi Laanemets said:
Hi
=MID(CELL("filename",$A$1),FIND("[",CELL("filename",$A$1))+1;FIND("]",CELL("
filename",$A$1))-FIND("[",CELL("filename",$A$1))-1)
returns workbooks name
=MID(CELL("filename";$A$1);FIND("]";CELL("filename";$A$1))+1;99)
returns worksheets name
Arvi Laanemets
daniel chen said:
Will someone please help me with a formula.
Lets say I want cell G8 to reflect the sheetname it is in.
Thanks,
It is not a typo to Arvi. In Europe, Excel uses semi-colon as the separator
in functions, whereas most of the rest of the world (including the UK) uses
comma.
--
HTH
RP
(remove nothere from the email address if mailing direct)
daniel chen said:
Thank you very much, Arvi
I think it's typo-error
I have to replace all the ";" with ","
Arvi Laanemets said:
Hi
=MID(CELL("filename",$A$1),FIND("[",CELL("filename",$A$1))+1;FIND("]",CELL("
filename",$A$1))-FIND("[",CELL("filename",$A$1))-1)
returns workbooks name
=MID(CELL("filename";$A$1);FIND("]";CELL("filename";$A$1))+1;99)
returns worksheets name
Arvi Laanemets
daniel chen said:
Will someone please help me with a formula.
Lets say I want cell G8 to reflect the sheetname it is in.
Thanks,
It is not a typo to Arvi. In Europe, Excel uses semi-colon as the
separator
in functions, whereas most of the rest of the world (including the UK)
uses
comma.
--
HTH
RP
(remove nothere from the email address if mailing direct)
daniel chen said:
Thank you very much, Arvi
I think it's typo-error
I have to replace all the ";" with ","
Arvi Laanemets said:
Hi
=MID(CELL("filename",$A$1),FIND("[",CELL("filename",$A$1))+1;FIND("]",CELL("
filename",$A$1))-FIND("[",CELL("filename",$A$1))-1)
returns workbooks name
=MID(CELL("filename";$A$1);FIND("]";CELL("filename";$A$1))+1;99)
returns worksheets name
Arvi Laanemets
Will someone please help me with a formula.
Lets say I want cell G8 to reflect the sheetname it is in.
Thanks,
Sorry, but I forgot to replace them in second formula myself!
Arvi Laanemets
daniel chen said:
Thank you very much, Arvi
I think it's typo-error
I have to replace all the ";" with ","
Arvi Laanemets said:
Hi
=MID(CELL("filename",$A$1),FIND("[",CELL("filename",$A$1))+1;FIND("]",CELL("
filename",$A$1))-FIND("[",CELL("filename",$A$1))-1)
returns workbooks name
=MID(CELL("filename";$A$1);FIND("]";CELL("filename";$A$1))+1;99)
returns worksheets name
Arvi Laanemets
daniel chen said:
Will someone please help me with a formula.
Lets say I want cell G8 to reflect the sheetname it is in.
Thanks,
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.