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 Calculate toal hours

Need to calculate total hours of two different date & time & difference
between day & time.
e.g A1= 8/15/2008 22:30
B1=8/20/2008 22:33
Output=?

Thanks in Advance


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Calculate toal hours

Try

=B1-A1

format as [hh]:mm

Mike

"Vinu" wrote:

Need to calculate total hours of two different date & time & difference
between day & time.
e.g A1= 8/15/2008 22:30
B1=8/20/2008 22:33
Output=?

Thanks in Advance


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Calculate toal hours

=B1-A1

format as [h]:mm

--


Regards,


Peo Sjoblom

"Vinu" wrote in message
...
Need to calculate total hours of two different date & time & difference
between day & time.
e.g A1= 8/15/2008 22:30
B1=8/20/2008 22:33
Output=?

Thanks in Advance




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

=B1-A1, and format as [h]:mm, if you want the output as hours and minutes in
Excel time format.
=(B1-A1)*24, and format as number or general, if you want decimal hours.
--
David Biddulph

"Vinu" wrote in message
...
Need to calculate total hours of two different date & time & difference
between day & time.
e.g A1= 8/15/2008 22:30
B1=8/20/2008 22:33
Output=?

Thanks in Advance




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Calculate toal hours

hi David,
Can you please help me in below example
e.9 A1= 8/15/2008 22:30 Open time
B1=8/20/2008 22:33 end time
need to find total hours time spent in minutes if it is beyond the SLA fo
4hrs in minutes.it would say false.
please provide me the soultion at the earliest.
"David Biddulph" wrote:

=B1-A1, and format as [h]:mm, if you want the output as hours and minutes in
Excel time format.
=(B1-A1)*24, and format as number or general, if you want decimal hours.
--
David Biddulph

"Vinu" wrote in message
...
Need to calculate total hours of two different date & time & difference
between day & time.
e.g A1= 8/15/2008 22:30
B1=8/20/2008 22:33
Output=?

Thanks in Advance







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Calculate toal hours

If you want to convert hours to minutes, multiply by 60.
If you want to test a value against a constant, and produce a result
depending on that test, use the IF function; details of the syntax of the
IF function are available in Excel help.
--
David Biddulph

"Vinu" wrote in message
...
hi David,
Can you please help me in below example
e.9 A1= 8/15/2008 22:30 Open time
B1=8/20/2008 22:33 end time
need to find total hours time spent in minutes if it is beyond the SLA fo
4hrs in minutes.it would say false.
please provide me the soultion at the earliest.
"David Biddulph" wrote:

=B1-A1, and format as [h]:mm, if you want the output as hours and minutes
in
Excel time format.
=(B1-A1)*24, and format as number or general, if you want decimal hours.
--
David Biddulph

"Vinu" wrote in message
...
Need to calculate total hours of two different date & time &
difference
between day & time.
e.g A1= 8/15/2008 22:30
B1=8/20/2008 22:33
Output=?

Thanks in Advance







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
How to keep a running toal Jazzman Excel Discussion (Misc queries) 1 April 21st 08 03:16 AM
Drivers Hours Timesheet - Calculate Hours Worked on Weekly Basis Graham Excel Discussion (Misc queries) 2 January 28th 07 08:40 PM
calculate hours Caveman Excel Discussion (Misc queries) 1 May 29th 06 11:52 PM
How to calculate hours? cheryl Excel Worksheet Functions 6 August 2nd 05 08:20 AM
calculate hours Sunny Excel Discussion (Misc queries) 2 February 21st 05 05:51 PM


All times are GMT +1. The time now is 04:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"