Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-02-2009, 03:12 AM
casper v casper v is offline
Registered User
 
Join Date: 02 Jul 2009
Location: denmark
MS Office Version:Excel 2003
Posts: 1
casper v is becoming part of the community
Question Help with calc time in certain periods

Please Register to Remove these Ads

Hi, my first post here - hope you guys can help me as I'm really lost here.

I need to make a excel sheet where I can keep track of a how many hours(or mins) a person is at work during a 24h day/week, with different saleries depending on different times of the day and if it's weekend or not.

The tricky part for me, is that I need to keep track of how many hours a person is working between 06:00-17:59 and how many are not (ie. between 18:00-05:59).
Also, I need to keep in take into account if it's between 06:00 saturday morning to 05:59 monday morning, then it needs to be calculated seperately as well. If this can be solved with a dropdown to indicate if it's weekend or not, that's fine with me

I've tried to do this with a =IF(AND statement, but I'm not a programmer and I'm completly at a loss here

So far what I came up with is a statement that checks if the meeting time is between 06:00 and 17:59 - but it's like I need a whole different level to take everything into account.

=IF(AND(B5>=0,25;B5<0,75);(C5-B5)+(("23:59"-D5)+"00:01")+((E5-"00:01")+"00:01");0)
(The 0,25 I found equals 06:00 and 0,75 equals 18:00)

Are there any who can help me?

Best regards,
Casper

Last edited by casper v; 07-02-2009 at 03:15 AM.
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump