Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
when inserting a file name in a cell how do you remove file type
this is the formula I am using, but I would like for the file type "xls" on
the end not to be there =MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1) |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
when inserting a file name in a cell how do you remove file type
You could just subtract 5 from the end of your formula instead of 1.
=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-5) HTH, Elkar "mikecarpenter21" wrote: this is the formula I am using, but I would like for the file type "xls" on the end not to be there =MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Saved *.csv file gives SYLK file type warning upon Excel 2003 open | Excel Discussion (Misc queries) | |||
Saving worksheet in new file with date AND cell value as file name | Excel Discussion (Misc queries) | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
excel cell lookup file on harddrive | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |