Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default calculation with hours and minutes - input of negative values

hi there,
i can calculate and, since i use the 1904 format for it, also with negative
values.
but still it is not possible to give an input of f.e. -50:00:00 means minus
50 hrs.
any solution for it?
regards
michael

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default calculation with hours and minutes - input of negative values

=-(INT(50/24)+TIME(50,0,0))
or
=-INT(50/24)-TIME(50,0,0)

works ok for me.

But it's pretty ugly!

MichaelMichael wrote:

hi there,
i can calculate and, since i use the 1904 format for it, also with negative
values.
but still it is not possible to give an input of f.e. -50:00:00 means minus
50 hrs.
any solution for it?
regards
michael

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default calculation with hours and minutes - input of negative values

Thanks,
it works (after I found the german translation - english doesn't work with
this 2003 any more), but it is still not useful for endusers.
I use now f.e.

A1 = input cell, format [h]:mm
A2 = empty
A3 = A2-A1
A3 cell format is [h]:mm

but it is not very nice for using, because you cannot use one cell for + and
- values as the user just likes to put in the needed hours.
But it is possible, to use as a workaround.
Regards
Michael


"Dave Peterson" wrote:

=-(INT(50/24)+TIME(50,0,0))
or
=-INT(50/24)-TIME(50,0,0)

works ok for me.

But it's pretty ugly!

MichaelMichael wrote:

hi there,
i can calculate and, since i use the 1904 format for it, also with negative
values.
but still it is not possible to give an input of f.e. -50:00:00 means minus
50 hrs.
any solution for it?
regards
michael

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


--

Dave Peterson

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
Adding hours and minutes Patrick Excel Worksheet Functions 16 June 18th 08 09:24 PM
how do i show negative time in hours minutes john tyler Excel Worksheet Functions 0 March 6th 06 08:47 PM
Need to convert hours and minutes to hours and tenths. MikeC Excel Discussion (Misc queries) 2 February 9th 06 06:22 PM
adding rows of hours and minutes to get a total Tipps Excel Worksheet Functions 1 November 4th 05 07:03 PM
How do I add/subtract hours and minutes when some values exceed 2. lhasalass Excel Discussion (Misc queries) 2 May 25th 05 04:50 PM


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