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 / October 2006

Tip: Looking for answers? Try searching our database.

Work hours

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
One-Leg - 12 Oct 2006 21:53 GMT
Hello all,

I have a document where I have the name of 10 people in cells "A2" to "A11".
In cells "B2" to "B11", I have everyone start time.  In cells "C1" to "S1",
I have the different start hours during the day (8:00, 9:00, 10:00, etc...)

In cells "C2" to "S11", I would like every cells to look for the start time
in the "B" cell and add a 1 in the cells for the 8 hours of the shift...

As an example:
- if the employee in cell "A2" start time (cell "B2") is 9:00. I would like
to have a 1 in cells "D2" to "K2".
- if the employee in cell "A3" start time (cell "B3") is 13:00. I would like
to have a 1 in cells "H3" to "O3".

Hope I'm being clear enough...  If not, please let me know!!!

Thanks!!!
Bob Phillips - 12 Oct 2006 22:15 GMT
=--(AND($B2<=C1,$B2+TIME(8,0,0)>C1))

and copy across

Signature

HTH

Bob Phillips

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

> Hello all,
>
[quoted text clipped - 14 lines]
>
> Thanks!!!
One-Leg - 13 Oct 2006 13:14 GMT
It ain't working!!!

Can I send you my document so you can see what I'm trying to do???

Thanks!!!

> =--(AND($B2<=C1,$B2+TIME(8,0,0)>C1))
>
[quoted text clipped - 24 lines]
> >
> > Thanks!!!
Bob Phillips - 13 Oct 2006 13:32 GMT
No, format the data in a message and post it here.

Signature

HTH

Bob Phillips

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

> It ain't working!!!
>
[quoted text clipped - 30 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.