Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SUPERNAM
 
Posts: n/a
Default How can I calculate hours in a Hourly schedule in Excel?

I have a schedule as
From To From To
7:30 AM 4:00 PM 8:00 AM 4:00 PM

What formula do I use to get the result 16.5?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default How can I calculate hours in a Hourly schedule in Excel?

Hi

One way
=MOD(B1-A1,1)+MOD(D1-C1,1)
format the cell with the result as [h]:mm as this will allow it to sum
past 24 hours if necessary.
Using the MOD function in this way, will also deal with any cases where
end time is less than start time (e.g. from 4:00 PM today through till
8:30 AM tomorrow)

--
Regards

Roger Govier


"SUPERNAM" wrote in message
...
I have a schedule as
From To From To
7:30 AM 4:00 PM 8:00 AM 4:00 PM

What formula do I use to get the result 16.5?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default How can I calculate hours in a Hourly schedule in Excel?

=(B2-A2)+(D2-C2)

will give 16:30. If you want it as decimal, just multiply by 24.

--

HTH

RP

"SUPERNAM" wrote in message
...
I have a schedule as
From To From To
7:30 AM 4:00 PM 8:00 AM 4:00 PM

What formula do I use to get the result 16.5?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary L Brown
 
Posts: n/a
Default How can I calculate hours in a Hourly schedule in Excel?

((4:00 PM - 7:30 AM)+(4:00 PM - 8:00 AM))*24

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"SUPERNAM" wrote:

I have a schedule as
From To From To
7:30 AM 4:00 PM 8:00 AM 4:00 PM

What formula do I use to get the result 16.5?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SUPERNAM
 
Posts: n/a
Default How can I calculate hours in a Hourly schedule in Excel?

Thanks very much

"Roger Govier" wrote:

Hi

One way
=MOD(B1-A1,1)+MOD(D1-C1,1)
format the cell with the result as [h]:mm as this will allow it to sum
past 24 hours if necessary.
Using the MOD function in this way, will also deal with any cases where
end time is less than start time (e.g. from 4:00 PM today through till
8:30 AM tomorrow)

--
Regards

Roger Govier


"SUPERNAM" wrote in message
...
I have a schedule as
From To From To
7:30 AM 4:00 PM 8:00 AM 4:00 PM

What formula do I use to get the result 16.5?

Thanks






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SUPERNAM
 
Posts: n/a
Default How can I calculate hours in a Hourly schedule in Excel?

Thanks

"Bob Phillips" wrote:

=(B2-A2)+(D2-C2)

will give 16:30. If you want it as decimal, just multiply by 24.

--

HTH

RP

"SUPERNAM" wrote in message
...
I have a schedule as
From To From To
7:30 AM 4:00 PM 8:00 AM 4:00 PM

What formula do I use to get the result 16.5?

Thanks




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SUPERNAM
 
Posts: n/a
Default How can I calculate hours in a Hourly schedule in Excel?

Thanks

"Gary L Brown" wrote:

((4:00 PM - 7:30 AM)+(4:00 PM - 8:00 AM))*24

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"SUPERNAM" wrote:

I have a schedule as
From To From To
7:30 AM 4:00 PM 8:00 AM 4:00 PM

What formula do I use to get the result 16.5?

Thanks

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
Excel should calculate exponentials properly (right to left) expatrie Excel Worksheet Functions 5 April 26th 06 08:34 AM
How do I calculate hours in Excel Dragonrana New Users to Excel 3 November 1st 05 06:40 PM
excel [HHHHH]:mm add subtract hours mins inc lnegative mexico Excel Worksheet Functions 0 July 5th 05 05:45 PM
HOW DO I CALCULATE TIME IN A TIME SHEET FOR EXCEL RAFAEL New Users to Excel 1 June 26th 05 11:32 PM
How can I make an Employment Schedule that Tabulates hours worked. Alicia Excel Worksheet Functions 1 December 27th 04 03:07 AM


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