LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MB MB is offline
external usenet poster
 
Posts: 53
Default Calculating Time

The data I have is imported into Excel as:

A1 A2
LOG_OFF 10/13/2009 09:50:45 AM
LOG_ON 10/13/2009 10:00:18 AM
CO_Incoming 10/13/2009 10:34:15 AM
CO_Incoming 10/13/2009 10:15:39 AM
LOG_OFF 10/13/2009 10:15:54 AM
LOG_ON 10/13/2009 10:27:13 AM
WRAP_ON 10/13/2009 10:34:45 AM
WRAP_OFF 10/13/2009 10:34:47 AM

Date and time are in the same cell (A2). How do I calculate total time off
between each LOG_OFF and LOG_ON? I used =INT(D8-D7)&"d
"&TEXT(MOD((D8-D7),1),"h:mm:ss"), but it doesn't apply to each row (I'm
guessing I need an IIF formula?). Also, the result is "Od 0:00:04" (for
example). I'll need the result to not include the "Od."

I'm using Excel 2007.

Thank you so much.

--
MB
 
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 with Date/Time checking in formula cmatera Excel Worksheet Functions 2 August 11th 08 01:38 PM
Calculating Regular time, overtime and double time Brian Smith Excel Worksheet Functions 5 November 9th 07 10:32 PM
calculating timesheet, time-in/time-out = total hours & minutes, . Steve Lindsay Excel Worksheet Functions 13 November 8th 06 03:45 PM
Calculating effective time from start/end date+time Stefan Stridh Excel Worksheet Functions 8 November 27th 04 03:50 PM


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