Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Calculating time and negative time

Hi, I am trying to work out hours to carry over to the next period. They
could be negative hours. I have been having difficulty with the TOTAL and am
currently using the ABS formulae. I have changed the calculation formula to
1904 date system.

I have 2 questions:

Q1: What formula do I use to calculate B5?
Q2: If B5 is a negative when I link cell to next sheet will B3 calculate
negative number correctly?

B
Balance of hours brought forward from previous period 1
14:10:00
Total Hours worked in current Period 2 49:40:00
TOTAL formula: ABS(B1+B2) 3 63:50:00
Contracted Hours for Period (fortnight) 4 70:00:00
Balance of hours carried to next period 5
?

Would really appreciate some help - have been reading the discussion board
and trying different methods for hours!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default Calculating time and negative time

If =ABS(B1+B2) does what you want in B3, then it is not clear what you are
trying to accomplish.

Otherwise, I would assume that 70 hours per fortnight were contracted, and
if less were worked, then the carryover should be negative and would be taken
off the total in the next period. That interpretation would make the formulas
=B1+B2
in B3, and
=B3-B4
in B5.

Jerry

"Josh UK" wrote:

Hi, I am trying to work out hours to carry over to the next period. They
could be negative hours. I have been having difficulty with the TOTAL and am
currently using the ABS formulae. I have changed the calculation formula to
1904 date system.

I have 2 questions:

Q1: What formula do I use to calculate B5?
Q2: If B5 is a negative when I link cell to next sheet will B3 calculate
negative number correctly?

B
Balance of hours brought forward from previous period 1
14:10:00
Total Hours worked in current Period 2 49:40:00
TOTAL formula: ABS(B1+B2) 3 63:50:00
Contracted Hours for Period (fortnight) 4 70:00:00
Balance of hours carried to next period 5
?

Would really appreciate some help - have been reading the discussion board
and trying different methods for hours!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default Calculating time and negative time

You've taken the first step by changing to the 1904 date system (caution -
can create confusion if you use it with information from other workbooks
using the 1900 date system).

Format the column where your times are kept (B) as Time and choose the
option I see in my list as 37:30:55
Then just treat them normally be sure to enter at least the minutes part,
70:00 will give you 70 hours, but just 70 will show 1680 (70 days * 24 hours)

B
1 14:10:00
2 49:40:50
3 =SUM(B1:B2) or =B1+B2 displays 63:50:00
4 70:00:00
5 =B4-B3 (displays 6:10:00)

or another scenario:
B
1 14:10:00
2 65:40:50
3 =SUM(B1:B2) or =B1+B2 displays 79:50:00
4 70:00:00
5 =B4-B3 (displays -9:50:00)


"Josh UK" wrote:

Hi, I am trying to work out hours to carry over to the next period. They
could be negative hours. I have been having difficulty with the TOTAL and am
currently using the ABS formulae. I have changed the calculation formula to
1904 date system.

I have 2 questions:

Q1: What formula do I use to calculate B5?
Q2: If B5 is a negative when I link cell to next sheet will B3 calculate
negative number correctly?

B
Balance of hours brought forward from previous period 1
14:10:00
Total Hours worked in current Period 2 49:40:00
TOTAL formula: ABS(B1+B2) 3 63:50:00
Contracted Hours for Period (fortnight) 4 70:00:00
Balance of hours carried to next period 5
?

Would really appreciate some help - have been reading the discussion board
and trying different methods for hours!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Calculating time and negative time

Thanks - The problem was inconsistent formatiing from one shee to the next.

"JLatham" wrote:

You've taken the first step by changing to the 1904 date system (caution -
can create confusion if you use it with information from other workbooks
using the 1900 date system).

Format the column where your times are kept (B) as Time and choose the
option I see in my list as 37:30:55
Then just treat them normally be sure to enter at least the minutes part,
70:00 will give you 70 hours, but just 70 will show 1680 (70 days * 24 hours)

B
1 14:10:00
2 49:40:50
3 =SUM(B1:B2) or =B1+B2 displays 63:50:00
4 70:00:00
5 =B4-B3 (displays 6:10:00)

or another scenario:
B
1 14:10:00
2 65:40:50
3 =SUM(B1:B2) or =B1+B2 displays 79:50:00
4 70:00:00
5 =B4-B3 (displays -9:50:00)


"Josh UK" wrote:

Hi, I am trying to work out hours to carry over to the next period. They
could be negative hours. I have been having difficulty with the TOTAL and am
currently using the ABS formulae. I have changed the calculation formula to
1904 date system.

I have 2 questions:

Q1: What formula do I use to calculate B5?
Q2: If B5 is a negative when I link cell to next sheet will B3 calculate
negative number correctly?

B
Balance of hours brought forward from previous period 1
14:10:00
Total Hours worked in current Period 2 49:40:00
TOTAL formula: ABS(B1+B2) 3 63:50:00
Contracted Hours for Period (fortnight) 4 70:00:00
Balance of hours carried to next period 5
?

Would really appreciate some help - have been reading the discussion board
and trying different methods for hours!


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
Displaying negative time in excel Six Sigma Blackbelt Excel Worksheet Functions 5 November 10th 06 10:42 PM
What is the formula to display a negative time results? Robluc65 Excel Worksheet Functions 1 October 14th 05 11:15 PM
Calculating Time Values in Excel STELFOXJ Excel Worksheet Functions 0 September 13th 05 02:33 PM
Calculating negative time. Brian Excel Discussion (Misc queries) 4 April 7th 05 08:37 PM
Calculating negative time & creating scrol bars for fixed size txt box. Jonathan hill via OfficeKB.com Excel Discussion (Misc queries) 4 February 12th 05 02:08 AM


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