Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jack_mel
 
Posts: n/a
Default excel- want to format cell formula to the file name

I am using excel for invoices & billing. The file name is the same as the
invoice number. how do I format a cell to do this automatically? Is there a
formula for this? and also, I also need to calculate time: say start time is
8:00am - finish time is 11:15am, is there a formula to caculate 3.25 hours?
any help will be greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default excel- want to format cell formula to the file name

to do the time, do finish time minus start time, just make sure the
cell is formatted as H:MM (or possibly better, [H]:MM) - this would
show as hours and minutes. IF you actually need that and as a decimal,
then multiply the result by 60 * 24

Not sure what you mean by the first part of the question but hopefully
someone else does!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike McLellan
 
Posts: n/a
Default excel- want to format cell formula to the file name

In response to your time difference query, try searching this forum for 'time
difference' - there are numerous answers to the question

"jack_mel" wrote:

I am using excel for invoices & billing. The file name is the same as the
invoice number. how do I format a cell to do this automatically? Is there a
formula for this? and also, I also need to calculate time: say start time is
8:00am - finish time is 11:15am, is there a formula to caculate 3.25 hours?
any help will be greatly appreciated!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default excel- want to format cell formula to the file name

If you want to put the file name into a cell, then use:

=MID(CELL("filename",Z100),FIND("[",CELL("filename",Z100),1)+1,FIND("]",CELL("filename",Z100),1)-FIND("[",CELL("filename",Z100),1)-1)

will return something like:

Book1.xls

=MID(CELL("filename",Z100),FIND("[",CELL("filename",Z100),1)+1,FIND("]",CELL("filename",Z100),1)-FIND("[",CELL("filename",Z100),1)-5)

will return

Book1
--
Gary''s Student


"jack_mel" wrote:

I am using excel for invoices & billing. The file name is the same as the
invoice number. how do I format a cell to do this automatically? Is there a
formula for this? and also, I also need to calculate time: say start time is
8:00am - finish time is 11:15am, is there a formula to caculate 3.25 hours?
any help will be greatly appreciated!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Convert Excel 4 formula to Excel 2003 format The Gasell Excel Worksheet Functions 3 April 12th 06 05:07 PM
How do you use EXCEL formula in properties of file (cell content) chiefcook Excel Discussion (Misc queries) 1 November 10th 05 04:53 PM
Copying excel format from cell to cell Loopy Darren Excel Discussion (Misc queries) 2 April 12th 05 04:29 PM
Using Jet to read excel file returns blank for last cell - sometim Ron Excel Discussion (Misc queries) 1 December 9th 04 08:21 AM


All times are GMT +1. The time now is 08:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"