Name Cell or Worksheet

J

JPA

Is it possible to use the function "cell" to access only the name of the
worksheet, instead of the whole path?

Formula--> =CELL("filename";A1)
Result--> C:\My Documents\[Table.xls]Sheet2

Result expected--> Sheet2
 
N

Niek Otten

=RIGHT(A1,LEN(A1)-FIND("]",A1))

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Is it possible to use the function "cell" to access only the name of the
| worksheet, instead of the whole path?
|
| Formula--> =CELL("filename";A1)
| Result--> C:\My Documents\[Table.xls]Sheet2
|
| Result expected--> Sheet2
|
 
Top