PC Review


Reply
Thread Tools Rate Thread

Calculating Sleep

 
 
CarlM
Guest
Posts: n/a
 
      3rd Aug 2006

Hey

So Im making a log to keep track of things, and I want to calculate m
sleep, but I don't want to have to write the date each time,

Went to Sleep: 23:00
Woke Up: , 09:00

So I just want to go down and write the times but if I do that the dat
for the second time is assumed as the same day not the next day. The
when I go to calculate my total with a simple =D15-C15 it calculates

08/03/06 23:00
08/03/06 09:00

NOT

08/03/06 23:00
08/04/06 09:00

any help would be apprieciated.

Car

--
Carl
-----------------------------------------------------------------------
CarlM's Profile: http://www.excelforum.com/member.php...fo&userid=3705
View this thread: http://www.excelforum.com/showthread.php?threadid=56779

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      3rd Aug 2006
Maybe a formula like

=IF(B2<B1,A1+1,A1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"CarlM" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Hey
>
> So Im making a log to keep track of things, and I want to calculate my
> sleep, but I don't want to have to write the date each time,
>
> Went to Sleep: 23:00
> Woke Up: , 09:00
>
> So I just want to go down and write the times but if I do that the date
> for the second time is assumed as the same day not the next day. Then
> when I go to calculate my total with a simple =D15-C15 it calculates
>
> 08/03/06 23:00
> 08/03/06 09:00
>
> NOT
>
> 08/03/06 23:00
> 08/04/06 09:00
>
> any help would be apprieciated.
>
> Carl
>
>
> --
> CarlM
> ------------------------------------------------------------------------
> CarlM's Profile:

http://www.excelforum.com/member.php...o&userid=37059
> View this thread: http://www.excelforum.com/showthread...hreadid=567790
>



 
Reply With Quote
 
CarlM
Guest
Posts: n/a
 
      3rd Aug 2006

Sorry its probably quite hard to interpret, but I dont want to have th
dates at all, just the times, but it to be like this without the date
showing or me having to change them (I enter the date of the curren
day at the start of the log)

08/03/06 23:00
08/04/06 09:00

Sorry if it was hard to interpret

Car

--
Carl
-----------------------------------------------------------------------
CarlM's Profile: http://www.excelforum.com/member.php...fo&userid=3705
View this thread: http://www.excelforum.com/showthread.php?threadid=56779

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      3rd Aug 2006
Now you have completely lost me.

What will you enter, and what do you want to see?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"CarlM" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Sorry its probably quite hard to interpret, but I dont want to have the
> dates at all, just the times, but it to be like this without the dates
> showing or me having to change them (I enter the date of the current
> day at the start of the log)
>
> 08/03/06 23:00
> 08/04/06 09:00
>
> Sorry if it was hard to interpret
>
> Carl
>
>
> --
> CarlM
> ------------------------------------------------------------------------
> CarlM's Profile:

http://www.excelforum.com/member.php...o&userid=37059
> View this thread: http://www.excelforum.com/showthread...hreadid=567790
>



 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      3rd Aug 2006
try
=d15+1-c15

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"CarlM" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Hey
>
> So Im making a log to keep track of things, and I want to calculate my
> sleep, but I don't want to have to write the date each time,
>
> Went to Sleep: 23:00
> Woke Up: , 09:00
>
> So I just want to go down and write the times but if I do that the date
> for the second time is assumed as the same day not the next day. Then
> when I go to calculate my total with a simple =D15-C15 it calculates
>
> 08/03/06 23:00
> 08/03/06 09:00
>
> NOT
>
> 08/03/06 23:00
> 08/04/06 09:00
>
> any help would be apprieciated.
>
> Carl
>
>
> --
> CarlM
> ------------------------------------------------------------------------
> CarlM's Profile:
> http://www.excelforum.com/member.php...o&userid=37059
> View this thread: http://www.excelforum.com/showthread...hreadid=567790
>



 
Reply With Quote
 
SteveW
Guest
Posts: n/a
 
      3rd Aug 2006
or even
=if(D15<C15,D15+1-C15,D15-C15)

just in case you have a nap during the day
(or like me work nights)

Steve

On Thu, 03 Aug 2006 13:17:55 +0100, Don Guillett
<(E-Mail Removed)> wrote:

> try
> =d15+1-c15
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sleep mode - Computer does not got to sleep Franz Windows Vista General Discussion 6 10th Dec 2009 01:03 AM
No Auto Sleep - Manual Sleep OK Nigel Molesworth Windows Vista General Discussion 7 14th Jan 2008 12:00 AM
Wont sleep, cant sleep psychman Windows XP Basics 2 5th May 2007 10:45 AM
Calculating recurring date in following month, calculating # days in that period Walterius Microsoft Excel Worksheet Functions 6 5th Jun 2005 12:21 AM
CALCULATING WORKSHEETS (INCLUDING AGE CALCULATING SHEETS) FOR DOWNLOADING, GREAT FOR PENSIONS/LIFE INSURANCE CALCULATIONS! RICHARD Microsoft Excel Programming 0 15th Mar 2005 02:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:34 PM.