Here is the scenerio, I need to figure out what formula to use to calculate the breakdown of 84 Total Hrs down to Reg Hrs, OT Hrs & DT Hrs. Anything over 40 Hrs in a week is OT and any hours worked on Sunday only is considered DT.
Here is the scenerio, I need to figure out what formula to use to calculate the breakdown of 84 Total Hrs down to Reg Hrs, OT Hrs & DT Hrs. Anything over 40 Hrs in a week is OT and any hours worked on Sunday only is considered DT.
Not really enough info there KoolKat,
What does your spreadsheet look like? Here is an example of how I would do it..
Column A has the days, B has the hours
Lets say week starts on Monday and cell A1 has the first day of the week and cell B1 has the hours for that 1st day...
Monday - 14
Tuesday - 12
Wednesday - 12
Thursday - 12
Friday - 12
Saturday - 12
Sunday - 10
So 84 total hours.
Cell D1 contains the total hours in the week
Cell D2 contains the Regular Hours formula
Cell D3 contains the OT hours formula
Cell D4 contains the DT hours formula
Total Hours (Cell D1) Formula: "= Sum(B1:B7)"
Regular Hours (Cell D2) Formula:"= MIN(40,SUM(B1:B7))"
(will show hours but will not exceed 40)
OT Hours (Cell D3) Formula: "=D1-D2-D4"
DT Hours (Cell D4) Formula: "=B7"
Hope that helps.
John
KoolKat
Welcome to Exceltip forum
Please take a couple of minutes and read the Forum Rules
Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.
This thread has been moved to Worksheet Functions forum
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
Thanks, I will give that a try
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks