Name Cell or Worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
=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
|
 
Back
Top