Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Calculating/displaying elapsed time TOTALS

I need some help resolving a calculation formula and/or display in Excel 2003.

I need to keep track of actual time worked on a project for variuos clients
and total that time.

I enter the start time in column B (display format is hh:mm:ss) and the
finish time in Column C (display format is hh:mm:ss).

Depending in a code entered in column A, the elapsed time is displayed in
either column D, E or F.

I calculate the elapsed time using the formula =(($Cn-$bn)+($Cn<$Bn)) where
n is the relevant row. The result is correctly calculated and is displayed
in the format hh:mm:ss

I wanted to be able to calculate the total time for each Category (Columns
D, E, and F) but using the =SUM($dn:$dx) where n is the starting row and x is
the ending row.

Here is where I come unstuck as the total hours simply do NOT add correctly
if the total hours exceed 24!

I also wanted to sum the totals of Columns D, E, and F but encounter the
same problem.

Can anyone suggest a solution to my problem?

Thanks very much (in anticipation).


D. Bruce
USAOz Services

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Calculating/displaying elapsed time TOTALS

Format the cells with the formulas as [h]:mm.

The brackets [ ] keep the hours from rolling over into days.

For example:

A1 = 20:00 (h:mm)
A2 = 5:00 (h:mm)

=SUM(A1:A2) = 1:00

This is because at 24:00 hours the total time rolls over into a day. If you
formatted that cell as GENERAL you'd see the true value is 1.041667 which is
the decimal equivalent of 1 day 1 hour or 25:00.

With the formula cell formatted as [h]:mm the result is 25:00.

--
Biff
Microsoft Excel MVP


"USAOz" wrote in message
...
I need some help resolving a calculation formula and/or display in Excel
2003.

I need to keep track of actual time worked on a project for variuos
clients
and total that time.

I enter the start time in column B (display format is hh:mm:ss) and the
finish time in Column C (display format is hh:mm:ss).

Depending in a code entered in column A, the elapsed time is displayed in
either column D, E or F.

I calculate the elapsed time using the formula =(($Cn-$bn)+($Cn<$Bn))
where
n is the relevant row. The result is correctly calculated and is
displayed
in the format hh:mm:ss

I wanted to be able to calculate the total time for each Category (Columns
D, E, and F) but using the =SUM($dn:$dx) where n is the starting row and x
is
the ending row.

Here is where I come unstuck as the total hours simply do NOT add
correctly
if the total hours exceed 24!

I also wanted to sum the totals of Columns D, E, and F but encounter the
same problem.

Can anyone suggest a solution to my problem?

Thanks very much (in anticipation).


D. Bruce
USAOz Services


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Calculating/displaying elapsed time TOTALS

Thank you VERY much for an accurate and speedy response! You're a LEGEND!

"T. Valko" wrote:

Format the cells with the formulas as [h]:mm.

The brackets [ ] keep the hours from rolling over into days.

For example:

A1 = 20:00 (h:mm)
A2 = 5:00 (h:mm)

=SUM(A1:A2) = 1:00

This is because at 24:00 hours the total time rolls over into a day. If you
formatted that cell as GENERAL you'd see the true value is 1.041667 which is
the decimal equivalent of 1 day 1 hour or 25:00.

With the formula cell formatted as [h]:mm the result is 25:00.

--
Biff
Microsoft Excel MVP


"USAOz" wrote in message
...
I need some help resolving a calculation formula and/or display in Excel
2003.

I need to keep track of actual time worked on a project for variuos
clients
and total that time.

I enter the start time in column B (display format is hh:mm:ss) and the
finish time in Column C (display format is hh:mm:ss).

Depending in a code entered in column A, the elapsed time is displayed in
either column D, E or F.

I calculate the elapsed time using the formula =(($Cn-$bn)+($Cn<$Bn))
where
n is the relevant row. The result is correctly calculated and is
displayed
in the format hh:mm:ss

I wanted to be able to calculate the total time for each Category (Columns
D, E, and F) but using the =SUM($dn:$dx) where n is the starting row and x
is
the ending row.

Here is where I come unstuck as the total hours simply do NOT add
correctly
if the total hours exceed 24!

I also wanted to sum the totals of Columns D, E, and F but encounter the
same problem.

Can anyone suggest a solution to my problem?

Thanks very much (in anticipation).


D. Bruce
USAOz Services



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Calculating/displaying elapsed time TOTALS

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"USAOz" wrote in message
...
Thank you VERY much for an accurate and speedy response! You're a LEGEND!

"T. Valko" wrote:

Format the cells with the formulas as [h]:mm.

The brackets [ ] keep the hours from rolling over into days.

For example:

A1 = 20:00 (h:mm)
A2 = 5:00 (h:mm)

=SUM(A1:A2) = 1:00

This is because at 24:00 hours the total time rolls over into a day. If
you
formatted that cell as GENERAL you'd see the true value is 1.041667 which
is
the decimal equivalent of 1 day 1 hour or 25:00.

With the formula cell formatted as [h]:mm the result is 25:00.

--
Biff
Microsoft Excel MVP


"USAOz" wrote in message
...
I need some help resolving a calculation formula and/or display in Excel
2003.

I need to keep track of actual time worked on a project for variuos
clients
and total that time.

I enter the start time in column B (display format is hh:mm:ss) and the
finish time in Column C (display format is hh:mm:ss).

Depending in a code entered in column A, the elapsed time is displayed
in
either column D, E or F.

I calculate the elapsed time using the formula =(($Cn-$bn)+($Cn<$Bn))
where
n is the relevant row. The result is correctly calculated and is
displayed
in the format hh:mm:ss

I wanted to be able to calculate the total time for each Category
(Columns
D, E, and F) but using the =SUM($dn:$dx) where n is the starting row
and x
is
the ending row.

Here is where I come unstuck as the total hours simply do NOT add
correctly
if the total hours exceed 24!

I also wanted to sum the totals of Columns D, E, and F but encounter
the
same problem.

Can anyone suggest a solution to my problem?

Thanks very much (in anticipation).


D. Bruce
USAOz Services





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
Calculating elapsed days and hours LauriS Excel Discussion (Misc queries) 4 August 25th 06 05:40 AM
Calculating elapsed time tele2002 Excel Discussion (Misc queries) 2 December 22nd 05 05:47 PM
Calculating Time elapsed bhomer Excel Worksheet Functions 1 November 21st 05 01:16 PM
Calculating elapsed time andoh Excel Worksheet Functions 5 November 17th 05 11:31 AM
Calculating a rate for elapsed time? Keith Excel Discussion (Misc queries) 8 May 18th 05 09:14 PM


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