IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Help with Excel
I have two Excel cells containing Login date and time (Column D) and Logout
date and time (Column E). The format of each is MM/DD/YYYY HH:MM:SS xM(AM PM). I
would like to subtract the time in D from the time in E.

I tried to do a straight subtract (@sum(En-Dn))but didn't get the desired result.

Can anyone suggest the correct formula?

Thanks

Al Vitale
New Maybe use DATEVALUE and TIMEVALUE?
New Re: Help with Excel
I did a little experiment with 2 cells formatted for date and time using the type listed (in O2003) as 3/14/01 13:30 in other words date with 'military' time
I put 12/1/04 12:20 in a1 and 12/1/04 13:10 in b1
I formatted cell c1 for time using the type listed as 13:30:55
the formula in c1: =b1-a1 gave a result of 0:50:00

A
Play I Some Music w/ Papa Andy
Saturday 8 PM - 11 PM ET
All Night Rewind 11 PM - 5 PM
Reggae, African and Caribbean Music
[link|http://wxxe.org|Tune In]
New Add days for when logout is next day.
A good friend will come and bail you out of jail ... but, a true friend will be sitting next to you saying, "Damn...that was fun!"
New Re: Add days for when logout is next day.
with answer cell formatted general

you could use the int function
with
a1 12/1/04 12:20
b1 1/4/05 13:10
formula
=int((b1-a1)*24)
would give you 816 (hours)

if you needed more accuracy you could use
=((b1-a1)*1440)/60
which gives 816.8333

plain =b1-a1
gives a result of 34.03472222 (days)

A

Play I Some Music w/ Papa Andy
Saturday 8 PM - 11 PM ET
All Night Rewind 11 PM - 5 PM
Reggae, African and Caribbean Music
[link|http://wxxe.org|Tune In]
New Re: Help with Excel
Andrea,

Thank You

Al Vitale
New Andy doesn't like that. ;-)
New Re: Andy doesn't like that. ;-)
Anything that includes 'thank you' works for me


A
Play I Some Music w/ Papa Andy
Saturday 8 PM - 11 PM ET
All Night Rewind 11 PM - 5 PM
Reggae, African and Caribbean Music
[link|http://wxxe.org|Tune In]
New Thank you, Andrea Dear, I'll remember that! ;^>
New You're Welcome Charlene
Play I Some Music w/ Papa Andy
Saturday 8 PM - 11 PM ET
All Night Rewind 11 PM - 5 PM
Reggae, African and Caribbean Music
[link|http://wxxe.org|Tune In]
Expand Edited by andread Dec. 3, 2004, 11:58:08 AM EST
New His welcome charlene what?
Thangyew, thangyew. I'll be here all week.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
New TGIF!
;-)

I'll be away until Wednesday. Hold down the fort, eh?

Cheers,
Scott.
New Re: You're Welcome COMMA Charlene
C-, see me.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
New C-h k C-,
C-, is undefined
--

This guy's ahead of his time! He's using quantum programming methods: in universes where invalid data is passed to this function, it does not return. Thus you are ensured that you will only have valid data after calling it. Optimally you'd destroy the universe on failure, but computers haven't quite advanced to that level yet.

-- [link|http://thedailywtf.com/archive/2004/10/26/2920.aspx|The] Daily WTF

New What version Excel?
In 2002 I just subtract Login from Logout (En-Dn) and then format the output cell with a custom format d h:mm:ss - gives you DAYS HH:MM:SS

Should work.
A good friend will come and bail you out of jail ... but, a true friend will be sitting next to you saying, "Damn...that was fun!"
     Help with Excel - (alvitale) - (14)
         Maybe use DATEVALUE and TIMEVALUE? -NT - (Another Scott)
         Re: Help with Excel - (andread) - (11)
             Add days for when logout is next day. -NT - (jbrabeck) - (1)
                 Re: Add days for when logout is next day. - (andread)
             Re: Help with Excel - (alvitale) - (8)
                 Andy doesn't like that. ;-) -NT - (Another Scott) - (7)
                     Re: Andy doesn't like that. ;-) - (andread) - (6)
                         Thank you, Andrea Dear, I'll remember that! ;^> -NT - (CRConrad) - (5)
                             You're Welcome Charlene -NT - (andread) - (4)
                                 His welcome charlene what? - (pwhysall) - (1)
                                     TGIF! - (Another Scott)
                                 Re: You're Welcome COMMA Charlene - (pwhysall) - (1)
                                     C-h k C-, - (Arkadiy)
         What version Excel? - (jbrabeck)

This theory is not even wrong.
122 ms