Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#359392 - 17/08/2013 14:54 Excel help
petteri
addict

Registered: 02/08/2004
Posts: 434
Loc: Helsinki, Finland
So being a total Excel novice I'm reaching out to the Empeggbbs brain trust for some help. I have what I think is a trivial problem that I'm hoping someone here can help with.

I trying to create a shift schedule for work and I want to calculate the total hours worked for the week. Here is what I have, as an example:

Quote:
Crewmember Sunday Monday Tuesday Wednesday Thursday Friday Saturday Hours
FT1 12:00 20:00 12:00 20:00 12:00 20:00 12:00 20:00 12:00 20:00 40.00
FT2 12:00 20:00 12:00 20:00 12:00 20:00 12:00 20:00 12:00 20:00 40.00


That is start time and end time in 24HR format.

The formula for the weekly total is:

Quote:
=INT((C4-B4+E4-D4+G4-F4+I4-H4+K4-J4+M4-L4+O4-N4)*24)


However if I have 00:00 as a shift end it's giving me a error, or more exactly a incorrect total of -100.00

Any suggestions? Apologies for the bad formatting above, not sure how to clean that up. frown

Top
#359393 - 17/08/2013 18:09 Re: Excel help [Re: petteri]
MarkH
member

Registered: 06/04/2000
Posts: 158
You need to denote midnight shift ends as 24:00 rather than 00:00. (And 1am / 2am etc finishes as 25:00 / 26:00 and so on).

Top
#359396 - 17/08/2013 20:22 Re: Excel help [Re: MarkH]
petteri
addict

Registered: 02/08/2004
Posts: 434
Loc: Helsinki, Finland
That's it! Thank you!!

Top
#361105 - 26/02/2014 15:52 Re: Excel help [Re: petteri]
petteri
addict

Registered: 02/08/2004
Posts: 434
Loc: Helsinki, Finland
Bringing up a thread from the past. I'm again working on the same project and I've gotten in over my head, again!

I'm really going way past what I need for this project, but if I'm going in on this I might as well go for broke and try and learn something along the way.

I'm trying to get this to calculate not only the hours per shift, and per week, which I've already managed, but to also calculate how many people are working any given shift. I'd like to make this 'future proof' or at least as close as I can to that.

Here's what I've got so far. Here's a link to the file in question, hosted on my OneDrive.

Execl file found here

Any suggestions?

Top