Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
A Khan
 
Posts: n/a
Default Subtracting two times in hh:mm:ss format

I need to subtract two times that are in hh:mm:ss format and they occur on
different dates. Example:
Time 1:
03/22/2005 19:09:47
Time 2:
03/23/2005 01:02:51
Result = Time 2 - Time 1

I've tried different things but I keep getting #VALUE! in the result cell.
Any help would be appreciated.

Thanks.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

=ABS(MOD(B1,1)-MOD(A1,1))

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to subtract two times that are in hh:mm:ss format

and they occur on
different dates. Example:
Time 1:
03/22/2005 19:09:47
Time 2:
03/23/2005 01:02:51
Result = Time 2 - Time 1

I've tried different things but I keep getting #VALUE!

in the result cell.
Any help would be appreciated.

Thanks.
.

  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

=ABS(MOD(B1,1)-MOD(A1,1))

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to subtract two times that are in hh:mm:ss format

and they occur on
different dates. Example:
Time 1:
03/22/2005 19:09:47
Time 2:
03/23/2005 01:02:51
Result = Time 2 - Time 1

I've tried different things but I keep getting #VALUE!

in the result cell.
Any help would be appreciated.

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
Subtracting Times with Strang Format carl Excel Worksheet Functions 4 February 14th 05 07:55 PM
Subtracting times [email protected] Excel Discussion (Misc queries) 1 January 12th 05 09:55 AM
Subtracting Times tvhazlett Excel Worksheet Functions 1 November 29th 04 05:05 PM
Subtracting time in date format Collcat Excel Worksheet Functions 1 November 10th 04 09:40 PM
Subtracting time in date format Collcat Excel Worksheet Functions 1 November 10th 04 04:45 PM


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