LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Figuring time worked, and then separating it into regular time

Might help if I posted them.

In day 7 of week 1, add

=MIN(SUMPRODUCT(ROUND((D12:D18-C12:C18-G12:G18)*96,0)/96),2+TIME(8,0,0))

and

=MAX(0,SUMPRODUCT(ROUND((D12:D18-C12:C18-G12:G18)*96,0)/96)-(2+TIME(8,0,0)))

and copy/paste to day 7 of week 2.

One question here though is the week 56 hours or 40?

--
HTH

Bob Phillips

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

"Bob Phillips" wrote in message
...
Don,

Rather than calculate on a daily basis, is it okay just to run a weekly
total, for regular and overtime hours? That would be a lot simpler.

--
HTH

Bob Phillips

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

"Don" wrote in message
...
Bob,

Since you seem to be the only one helping me, and by the looks of it
everyone else, thanks again. You were right about my formulas. And

yours
worked almost perfectly when I first used them. 3 seconds later after
formatting the cells the way you told me to, it worked perfectly.

Problem is there is something I was not told to compensate for until

earlier
today. And don't ask me why they want this change, but they do. I will

try
and make this quick and simple to save on reading time.

What the time sheet does right now.
8 AM - 4:30 PM Half an hour lunch = 8 hours 0 overtime
8 AM - 5 PM Half an hour lunch = 8 hours and ½ overtime
8 AM - 4 PM Half an hour lunch = 7 ½ hours 0 overtime

What they are asking for.
8 AM - 4:30 PM Half an hour lunch = 8 hours 0 overtime
8 AM - 5 PM Half an hour lunch = 8 hours 0 overtime
8 AM - 4 PM Half an hour lunch = 8 hours 0 overtime

They want any overtime from one day to fill voids where they worked

fewer
hours to make up for overtime. This could be the day after or at the

end
of
the week when they make-up for the overtime. To add to this problem,

this
has to work bi-weekly timesheet. So if someone does work over 40 hours

one
week, overtime will not spill into the next weeks empty spots. Incase

the
person is on vacation or sick. So on a timesheet with 14 spots for

hours
worked, the top 7 can not interfere with the bottom 7, but still

auto-sum
at
the end.

BTW: Sorry I keep throwing things out there bit by bit, but these people
can't seem to finish a thought.





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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



All times are GMT +1. The time now is 09:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"