D
daniel chen
Will someone please help me with a formula.
Lets say I want cell G8 to reflect the sheetname it is in.
Thanks,
Lets say I want cell G8 to reflect the sheetname it is in.
Thanks,
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,
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,
Bob Phillips said:Daniel,
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,
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,