Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old June 3rd 09, 07:51 AM posted to microsoft.public.excel.newusers
Jon Jon is offline
external usenet poster
 
First recorded activity by ExcelBanter: Sep 2006
Posts: 183
Default Time problem

I would like to create a formula that does the following:

A2 - Time from
B2 - Time to
C2 - Break duration (mins, hours)
D2 = A2 - B2 - C2

The problem is that I can't find a way to subtract the duration (C2).

  #2   Report Post  
Old June 3rd 09, 08:38 AM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2007
Posts: 2,059
Default Time problem

"Jon" wrote:
I would like to create a formula that does the following:
A2 - Time from
B2 - Time to
C2 - Break duration (mins, hours)
D2 = A2 - B2 - C2


That should be B2 - A2 - C2, assuming that "time from" is start time and
"time to" is end time.


The problem is that I can't find a way to subtract the duration (C2).


If everything is entered in consistent units, it should be straight-forward.
Unfortunately, you neglect to say how the numbers in A2, B2 and C2 are
entered. Always provide a complete numerical example, show formulas exactly
as they are entered (copy-and-paste), show the results you get, and explain
what results you want, using the numerical example. For example:

A2: May 31, 2009 1:00 pm
B2: Jun 1, 2009 1:00 am
C2: 1:30
D2: =B2-A2-C2

When you format D2 with Custom format [h]:mm, the result is displayed as
10:30 (10h 30m).



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
Time Problem Thurlow Excel Worksheet Functions 6 September 4th 07 05:04 PM
Time Function Problem caldog Excel Worksheet Functions 3 November 9th 06 12:03 PM
Time problem - Help please sawagashi Excel Discussion (Misc queries) 7 November 18th 05 10:15 PM
Time Problem B. Baumgartner Excel Discussion (Misc queries) 2 June 30th 05 09:05 PM
Problem with time calc Tom Excel Worksheet Functions 2 November 6th 04 12:04 PM


All times are GMT +1. The time now is 12:25 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017