Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Formula Help - Time Difference in Days, Hours Mins & Seconds

I would like to calculate Time Difference in Days, Hours Mins & Seconds.

My Dates are 1/24/06 12:10:14 AM & 1/27/06 2:10:14 PM . I need a help with the excel formula





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula Help - Time Difference in Days, Hours Mins & Seconds


If your start time/date is in A1 and end time/date in B1 you can simpl
use

=B1-A1

and format as

d \d\a\y\s hh:mm:ss

to show in format like

4 days 12:34:56

this is limited to time periods up to 32 days (because days sets bac
to zero after 31

--
daddylongleg
-----------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...fo&userid=3048
View this thread: http://www.excelforum.com/showthread.php?threadid=50509

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Formula Help - Time Difference in Days, Hours Mins & Seconds

A1: Start Date/time
A2: End Date/Time

=A2-A1
format the cell as dd hh:mm:ss

as long as your difference doesn't exceed 30 days, this should work.

--
Regards,
Tom Ogilvy


"Shashi Bhosale" wrote in message
...
I would like to calculate Time Difference in Days, Hours Mins & Seconds.

My Dates are 1/24/06 12:10:14 AM & 1/27/06 2:10:14 PM . I need a help with
the excel formula






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
Difference in Days, Hours, Minutes and Seconds Pumpkin Excel Discussion (Misc queries) 15 January 19th 09 12:25 PM
How Do I Get The Difference In Hours and Mins medicom06 Excel Worksheet Functions 4 August 12th 05 03:06 AM
Help! I am stuck calculating Days, Hours, Mins please help OB1 Excel Worksheet Functions 2 November 15th 04 06:14 PM
Help! I am stuck calculating Days, Hours, Mins please help OB1 Excel Worksheet Functions 3 November 15th 04 05:17 PM
Help! I am stuck calculating Days, Hours, Mins please help OB1 Excel Worksheet Functions 2 November 15th 04 05:17 PM


All times are GMT +1. The time now is 09:09 AM.

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"