Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula to find filename
Hi
I have a file path, say C:\MY Files\Media\Test.doc I am sure there is a excel cell formula which can return the name of the file (ie "Test.doc") no matter how many directories or the lenght of the address any ideas thanks -- Kevin |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula to find filename
=CELL("filename",A1)
"Kevin" wrote: Hi I have a file path, say C:\MY Files\Media\Test.doc I am sure there is a excel cell formula which can return the name of the file (ie "Test.doc") no matter how many directories or the lenght of the address any ideas thanks -- Kevin |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula to find filename
see bottom of the page of this reference - http://www.cpearson.com/excel/excelF.htm
May be what you are looking for. This will return "MyBook.xls" I have a file path, say C:\MY Files\Media\Test.doc I am sure there is a excel cell formula which can return the name of the file (ie "Test.doc") no matter how many directories or the lenght of the address |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula to find filename
what if the formula is reading a filepath in another cell ie I do not want
the file name of the existing file the formula is written in -- Kevin "tiptoe" wrote: see bottom of the page of this reference - http://www.cpearson.com/excel/excelF.htm May be what you are looking for. This will return "MyBook.xls" I have a file path, say C:\MY Files\Media\Test.doc I am sure there is a excel cell formula which can return the name of the file (ie "Test.doc") no matter how many directories or the lenght of the address |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using Range().Formula with a Filename & Path | Excel Discussion (Misc queries) | |||
Filename in a formula generated automatically? | Excel Discussion (Misc queries) | |||
set filename to <filename-date on open | Excel Worksheet Functions | |||
Referencing a filename in a formula | Excel Discussion (Misc queries) | |||
how to use a cell to enter a filename in a formula | Excel Worksheet Functions |