Time sheet project

Russk68

Well-known Member
Joined
May 1, 2006
Messages
589
Office Version
  1. 365
Platform
  1. MacOS
Hi All!
I appreciate anyone that even just reads this and wants to give me advise on where to go if this is too much to ask.

Each row is a day.
Rule 1. The first 10 hrs at x1 pay.
Rule 2. After 10 hrs is x1.5 pay (up to 16hrs)
Rule 3. After 16 hrs is x2 pay
Rule 4. After 40 hrs is x1.5

Formulas in are greatly appreciatedAG:AH
The gray area are the results that I need from the white grid and are shown as an example.

Here's the rules:
The formula can start in the 2nd row down. The first row will just be = as 40 hrs can't be exceeded in 1 day. (A few times I felt like it came close)
Rows in AG are never >10
The sum of AG is never >40

I'll try to explain the desired results in the gray area.
AD61 sums X60:Z61 (1st 2 days) and if it's <40 then 10. (>40 explained below)
AE61 sums X60:Z61 and if it's <40 then Y61.
(Day 2 did not work past 40hrs so 10hrs of x1 and didn't work more than 10 hrs so no x1.5)

AD62 sums X60:Z62 (1st 3 days =38hrs so far) Same rules but worked 18hrs. AE62= Rule 2.
The x2 column is only used for hrs worked and is not need for anything else here.
(Day 3 did not work past 40hrs but exceeded Rule 2&3

AD63 is where the fun begins.
AD63 sums the first 4 days = 52 hrs. (Sum X60:Z63>40)
AD63 is only allowing 2 hrs as not to exceed a 40hr week.
AE63 calculates the remainder of the hrs.
AD64 can no longer show any hrs per Rule4.
After AE calculates a remainder from AD, the rest of AE sums x1 and x1.5 rows.
(Day 4 exceeded 40 hrs. The 2nd hr reached the 40hr ot rule so 2 hrs of x1 and the remaining 8hrs get added to the 4 hrs of x1.5)

I send this off with hesitation as I'm not sure if I explained this well and get people annoyed.
I'm embarrassed to say how long I have been trying to sole this.
Thank you in advance



FLTS1.8.xlsm
XYZADAEAGAH
58Desired Manual ResultsNeed formulas here
59x1x1.5x2x1x1.5x1x1.5
601000100
611000100
621062106
631040212
64100010
65104014
66104014
John Ellar
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
try this

Book1
XYZADAE
58Desired Manual Results
59x1x1.5x2x1x1.5
601000100
611000100
621062106
631040212
641000010
651040014
661040014
Sheet2
Cell Formulas
RangeFormula
AD60:AE60AD60=X60
AD61:AD66AD61=MAX(0,MIN(10,40-SUM($X$60:Z60)))
AE61:AE66AE61=IF(SUM($X$60:Z61)>40,SUM($X$60:Z61)-SUM($X$60:Z60)-AD61,Y61)
 
Upvote 0
Solution
Hi All!
I appreciate anyone that even just reads this and wants to give me advise on where to go if this is too much to ask.

Each row is a day.
Rule 1. The first 10 hrs at x1 pay.
Rule 2. After 10 hrs is x1.5 pay (up to 16hrs)
Rule 3. After 16 hrs is x2 pay
Rule 4. After 40 hrs is x1.5

Formulas in are greatly appreciatedAG:AH
The gray area are the results that I need from the white grid and are shown as an example.

Here's the rules:
The formula can start in the 2nd row down. The first row will just be = as 40 hrs can't be exceeded in 1 day. (A few times I felt like it came close)
Rows in AG are never >10
The sum of AG is never >40

I'll try to explain the desired results in the gray area.
AD61 sums X60:Z61 (1st 2 days) and if it's <40 then 10. (>40 explained below)
AE61 sums X60:Z61 and if it's <40 then Y61.
(Day 2 did not work past 40hrs so 10hrs of x1 and didn't work more than 10 hrs so no x1.5)

AD62 sums X60:Z62 (1st 3 days =38hrs so far) Same rules but worked 18hrs. AE62= Rule 2.
The x2 column is only used for hrs worked and is not need for anything else here.
(Day 3 did not work past 40hrs but exceeded Rule 2&3

AD63 is where the fun begins.
AD63 sums the first 4 days = 52 hrs. (Sum X60:Z63>40)
AD63 is only allowing 2 hrs as not to exceed a 40hr week.
AE63 calculates the remainder of the hrs.
AD64 can no longer show any hrs per Rule4.
After AE calculates a remainder from AD, the rest of AE sums x1 and x1.5 rows.
(Day 4 exceeded 40 hrs. The 2nd hr reached the 40hr ot rule so 2 hrs of x1 and the remaining 8hrs get added to the 4 hrs of x1.5)

I send this off with hesitation as I'm not sure if I explained this well and get people annoyed.
I'm embarrassed to say how long I have been trying to sole this.
Thank you in advance



FLTS1.8.xlsm
XYZADAEAGAH
58Desired Manual ResultsNeed formulas here
59x1x1.5x2x1x1.5x1x1.5
601000100
611000100
621062106
631040212
64100010
65104014
66104014
John Ellar
 
Upvote 0
Hi Alan
I'm not sure if I'm more impressed that you understood my instructions or by your solution.
I can't tell you how long I spent on this and all the helper cells I had going on.
THANK YOU!!!!!!!!!!!!!! times MC^2
Russ
 
Upvote 0
Hi Alan
I'm not sure if I'm more impressed that you understood my instructions or by your solution.
I can't tell you how long I spent on this and all the helper cells I had going on.
THANK YOU!!!!!!!!!!!!!! times MC^2
Russ
you're welcome
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top