Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default Problem with time formula

I am building a spreadsheet that show a start time and a finish time. I then
want it to calculate how much over the allotted time was used if any. I use
the formula (a2-a1)-30. 30 minutes are the allotted minutes so it looks right
that this formula would give me the correct amount of minutes over. I get the
###### error message on this and I can't find a way to get it to give me the
correct time. If I take the -30 out of the equation it will give me the
total time. I can I get the total time minus the 30 minutes?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default Problem with time formula

"Gary" wrote:
I use the formula (a2-a1)-30


Use:

(a2-a1) - 30/24

assuming that A2 and A1 are entered in the form hh:mm or hh:mm:ss. In those
cases, time in hours is stored as a fraction of a day.


----- original message -----

"Gary" wrote in message
...
I am building a spreadsheet that show a start time and a finish time. I
then
want it to calculate how much over the allotted time was used if any. I
use
the formula (a2-a1)-30. 30 minutes are the allotted minutes so it looks
right
that this formula would give me the correct amount of minutes over. I get
the
###### error message on this and I can't find a way to get it to give me
the
correct time. If I take the -30 out of the equation it will give me the
total time. I can I get the total time minus the 30 minutes?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 140
Default Problem with time formula

This should work....

Format columns A,B,C,D for Time(13:40 format or whatever)
in A1 put "0:30"
in B1 put starttime("0:00" format)
in C1 put stoptime("0:00" format)
in D1 put "=C1-B1-A1"

Dennis

"Gary" wrote in message
...
I am building a spreadsheet that show a start time and a finish time. I
then
want it to calculate how much over the allotted time was used if any. I
use
the formula (a2-a1)-30. 30 minutes are the allotted minutes so it looks
right
that this formula would give me the correct amount of minutes over. I get
the
###### error message on this and I can't find a way to get it to give me
the
correct time. If I take the -30 out of the equation it will give me the
total time. I can I get the total time minus the 30 minutes?


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
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
Time problem - Help please sawagashi Excel Discussion (Misc queries) 7 November 18th 05 10:15 PM
Time Date Formula Problem Oowf Excel Worksheet Functions 2 June 1st 05 06:01 PM


All times are GMT +1. The time now is 08:51 AM.

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"