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

Hello out there!

I have a simple time calcution in Excel and for some reason when the time
contains minutes to does not calculate right. Here's an example.

Start Time End Time Total Hours
8:00 AM 4:20 PM 8.33

the calculation is =(E26-D26)*24

It should have come out to 8.20 but came out to 8.33. Can someone help!

Thanks.
--
Selma
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Calculating time

By multiplying the formula with 24 you are converting the result into
decimal hours, so 8.33 means 8 and 1/3 hours, or 8 hrs and 20 mins. If
you want it to be displayed as 8:20, then format the cell as time and
change the formula to:

=E26-D26

Hope this helps.

Pete

On Jan 15, 1:22*am, Pastor Selma
wrote:
Hello out there!

I have a simple time calcution in Excel and for some reason when the time
contains minutes to does not calculate right. *Here's an example.

Start Time *End Time *Total Hours
8:00 AM 4:20 PM 8.33

the calculation is =(E26-D26)*24

It should have come out to 8.20 but came out to 8.33. *Can someone help!

Thanks.
--
Selma


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

Well....the problem is, that 8.33 is the correct answer.

you need to format your end cell as time, otherwise it will end with
this result.
20 minutes is a third of an hour, your cell displays with hundreds and
a third of one hundred is .33

Right click on your cell, format cells, go to custom and enter [h]:mm

hth

Carlo

On Jan 15, 10:22*am, Pastor Selma
wrote:
Hello out there!

I have a simple time calcution in Excel and for some reason when the time
contains minutes to does not calculate right. *Here's an example.

Start Time *End Time *Total Hours
8:00 AM 4:20 PM 8.33

the calculation is =(E26-D26)*24

It should have come out to 8.20 but came out to 8.33. *Can someone help!

Thanks.
--
Selma


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

Carlo forgot to tell you that in that case you'll also want to remove the
multiplication by 24.
--
David Biddulph

"carlo" wrote in message
...
Well....the problem is, that 8.33 is the correct answer.

you need to format your end cell as time, otherwise it will end with
this result.
20 minutes is a third of an hour, your cell displays with hundreds and
a third of one hundred is .33

Right click on your cell, format cells, go to custom and enter [h]:mm

hth

Carlo

On Jan 15, 10:22 am, Pastor Selma
wrote:
Hello out there!

I have a simple time calcution in Excel and for some reason when the time
contains minutes to does not calculate right. Here's an example.

Start Time End Time Total Hours
8:00 AM 4:20 PM 8.33

the calculation is =(E26-D26)*24

It should have come out to 8.20 but came out to 8.33. Can someone help!

Thanks.
--
Selma



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default Calculating time

yepp

David is right.....actually didn't forget....just didn't look at your
formula.
Sorry about that.
Thanks for pointing it out David and Pete.

Cheers
Carlo

On Jan 15, 5:43*pm, "David Biddulph" <groups [at] biddulph.org.uk
wrote:
Carlo forgot to tell you that in that case you'll also want to remove the
multiplication by 24.
--
David Biddulph

"carlo" wrote in message

...
Well....the problem is, that 8.33 is the correct answer.

you need to format your end cell as time, otherwise it will end with
this result.
20 minutes is a third of an hour, your cell displays with hundreds and
a third of one hundred is .33

Right click on your cell, format cells, go to custom and enter [h]:mm

hth

Carlo

On Jan 15, 10:22 am, Pastor Selma



wrote:
Hello out there!


I have a simple time calcution in Excel and for some reason when the time
contains minutes to does not calculate right. Here's an example.


Start Time End Time Total Hours
8:00 AM 4:20 PM 8.33


the calculation is =(E26-D26)*24


It should have come out to 8.20 but came out to 8.33. Can someone help!


Thanks.
--
Selma- Hide quoted text -


- Show quoted text -


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 Regular time, overtime and double time Brian Smith Excel Worksheet Functions 5 November 9th 07 10:32 PM
Calculating time without using time functions... Ian R Excel Worksheet Functions 4 August 26th 07 02:08 PM
calculating timesheet, time-in/time-out = total hours & minutes, . Steve Lindsay Excel Worksheet Functions 13 November 8th 06 03:45 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Calculating effective time from start/end date+time Stefan Stridh Excel Worksheet Functions 8 November 27th 04 03:50 PM


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