Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tvhazlett
 
Posts: n/a
Default Subtracting Times

How can I subtract times (13:00-07:00)-(half hour lunch) and get a decimal
answer (5.5)? I would like to be able to just type a "7", for example, and
have it automatically displayed in the cell as "07:00 AM". I'm trying to set
up a company timesheet and I'd like to be able to enter information with as
few keystrokes as possible. I would appreciate any help with this. Thanks
in advance!
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
for subtracting try:
=(B1-A1-(0.5/24))*24
and format as number

For quick entries you need VBA. See:
http://www.cpearson.com/excel/DateTimeEntry.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"tvhazlett" schrieb im
Newsbeitrag ...
How can I subtract times (13:00-07:00)-(half hour lunch) and get a

decimal
answer (5.5)? I would like to be able to just type a "7", for

example, and
have it automatically displayed in the cell as "07:00 AM". I'm

trying to set
up a company timesheet and I'd like to be able to enter information

with as
few keystrokes as possible. I would appreciate any help with this.

Thanks
in advance!


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
Subtracting times [email protected] Excel Discussion (Misc queries) 1 January 12th 05 09:55 AM
Countif("between start/end times) Ian Jones Excel Discussion (Misc queries) 0 January 6th 05 06:17 PM
Adding/Averaging Times in Excel JD Excel Discussion (Misc queries) 2 January 5th 05 05:07 PM
Whats the function to count the total times a word is displayed Monk Excel Discussion (Misc queries) 3 December 10th 04 10:39 PM
subtracting times using 24 hour clock andrew pronto Excel Worksheet Functions 6 November 28th 04 02:26 AM


All times are GMT +1. The time now is 01:22 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"