Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Calculating time between two dates

In A1 enter 39101.6666666667

In B1 enter 39104.4583333333

In C1 enter =B1-A1
and you should see 2.7916666667

format A1 thru C1 as custom:
m/d/yyyy h:mm:ss
m/d/yyyy h:mm:ss
[h]:mm

and see:
1/19/2007 16:00:00 1/22/2007 11:00:00 67:00


--
Gary''s Student
gsnu200701


"Sujith" wrote:

Hi,

I am making a report in which I want the time differance between two dates.
Eg: In A1 the value is 19/01/2007 16:00:00
In B1 the value is 22/01/2007 11:00:00

A1 is responded time for an issue and B1 is resolved time.
I want the result in C1 as the time differance i.e. B1-A1. When I refered
the posts here, the formula =B1-A1 works only with MMDDYY format and does not
work with my time format which is DDMMYY.

I also want a formula to make excemption of holidays and off hours, say 20th
and 21st Jan are holidays and working hours are from 9:00 to 18:00.

Thanks,
Sujith

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 time E-QUIP Excel Worksheet Functions 3 December 27th 06 09:44 PM
Calculating Business Hours Between 2 Dates tanya216 Excel Discussion (Misc queries) 3 April 11th 06 03:22 PM
Calculating Time Past Midnight Darren Excel Worksheet Functions 6 March 13th 06 03:03 PM
How to create command button to save the dates and time Ken Vo Excel Discussion (Misc queries) 6 January 5th 06 04:18 AM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM


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