Respostas:
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND("]",CELL("filename",A1),1))
A pasta de trabalho precisa ser salva antes que esta função funcione.
A chave da função é =CELL("filename",A1)
, que retorna uma sequência prática que inclui o caminho do arquivo, o nome do arquivo e o nome da planilha:C:\Users\john.smith\Desktop\[Test.xlsx]Sheet1
Vejo:
=RIGHT(CELL("filename"),LEN(CELL("filename"))-SEARCH("]",CELL("filename")))
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32)
A1
é opcional, não?