Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Huston - 19 Apr 2007 19:05 GMT
I am having a problem with calculating time.  I can calculate the difference
in hours over midnight, but what I can't do is not get a value to appear
when I have only put in one number...For instance.   I put in the time I
start, and in my hours it shows midnight minus those hours without me
putting in an ending value for hours worked..  Is there anyway to get this
to show an error if they only put in a start time and no quit time?
Hopefully this makes sense to someone out there.   Any information anyone
can give would be helpful.

Thanks
JE McGimpsey - 19 Apr 2007 19:08 GMT
One way:

Say start time is in A1 and quit time in B1. Then

   =IF(A1="","",IF(B1="","No Quit Time Specified",MOD(B1-A1,1)))

> I am having a problem with calculating time.  I can calculate the difference
> in hours over midnight, but what I can't do is not get a value to appear
[quoted text clipped - 6 lines]
>
> Thanks
Huston - 19 Apr 2007 19:17 GMT
If I want to add multiple columns?  I am using A1 through D1. They want time
in morning, time out lunch, time back lunch, and time quitting.

> One way:
>
[quoted text clipped - 14 lines]
>>
>> Thanks
JE McGimpsey - 19 Apr 2007 19:41 GMT
One way:

   =IF(A1="","",IF(COUNT(B1:D1)=3,MOD(D1-C1,1)+MOD(B1-A1,1),"Error"))

> If I want to add multiple columns?  I am using A1 through D1. They want time
> in morning, time out lunch, time back lunch, and time quitting.
[quoted text clipped - 17 lines]
> >>
> >> Thanks
Huston - 19 Apr 2007 19:52 GMT
Much better than the way I did it.... Thanks again

> One way:
>
[quoted text clipped - 25 lines]
>> >>
>> >> Thanks
Huston - 19 Apr 2007 19:46 GMT
Figured it out.... Thank you for your help.

> One way:
>
[quoted text clipped - 14 lines]
>>
>> Thanks

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.