Total dollar amount if hours are over 40.

mcjohnson3211

New Member
Joined
Sep 6, 2023
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Thanks in advance. I'm running into another formula I can't figure out through my research.

I'm doing timekeeping using Excel. And I need only to total the amounts that are over 40 hours. But the rates of each role are different, so once the total of a team goes over 40 hours, I need to total the cost of hours for everything over 40. I hope that makes sense.

1694796733947.png

Team RoleDateHoursHour Fee
Solution Manager
9/1/2023​
0.5​
$ 100.00Role Hourly RateHourly RateMonthly Total Hours
Solution Architect
9/1/2023​
1​
$ 200.00Account Manager$ 150
0​
Delivery Manager
9/1/2023​
0.25​
$ 37.50Account Director$ 185
0​
Solution Architect
9/4/2023​
0.5​
$ 100.00Solution Architect$ 200
5​
Solution Architect
9/4/2023​
1.5​
$ 300.00Solution Manager$ 200
2​
Solution Architect
9/4/2023​
0.5​
$ 100.00Database Developer$ 225
0​
Delivery Manager
9/5/2023​
0.5​
$ 75.00Software Engineer$ 225
0​
Delivery Manager
9/5/2023​
1.5​
$ 225.00Campaign Developer$ 125
0.08​
Solution Manager
9/6/2023​
1​
$ 200.00Deliverability Specialist$ 175
0​
Delivery Manager
9/6/2023​
1.25​
$ 187.50Analytics Manager$ 175
0​
Delivery Manager
9/6/2023​
0.5​
$ 75.00Strategy Manager$ 175
0​
Data Services
9/6/2023​
0.58​
$ 101.50Delivery Manager$ 150
9.25​
Campaign Developer
9/6/2023​
0.08​
$ 10.00Data Services$ 175
1.33​
Solution Manager
9/7/2023​
0.5​
$ 100.00
Solution Architect
9/7/2023​
1​
$ 200.00Total for Highlighted in blue
16.25​
Solution Architect
9/7/2023​
0.5​
$ 100.00Total if over 40 hours
-23.75​
Delivery Manager
9/7/2023​
1.5​
$ 225.00Cost if over 40 hours
Delivery Manager
9/7/2023​
0.5​
$ 75.00
Data Services
9/7/2023​
0.17​
$ 29.75
Delivery Manager
9/8/2023​
0.75​
$ 112.50
Delivery Manager
9/8/2023​
1.5​
$ 225.00
Data Services
9/8/2023​
0.58​
$ 101.50
Delivery Manager
9/13/2023​
0.5​
$ 75.00
Delivery Manager
9/13/2023​
0.5​
$ 75.00
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
How do you determine which rate to apply for the overage. (i am assuming all roles are in one team).
If not I do not understand your data. Can you please give a hand calculated expected result of when a team or role goes over 40 hours?
 
Upvote 0
So, the people highlighted in blue are one team we only charge for going over 40 hours. Everyone else I will be charging no matter the amount of hours. So, if I need to, I can break those up into two groups. i.e., Team 1 (highlighted in blue), Team 2 (everyone else).
 
Upvote 0
So, the people highlighted in blue are one team we only charge for going over 40 hours. Everyone else I will be charging no matter the amount of hours. So, if I need to, I can break those up into two groups. i.e., Team 1 (highlighted in blue), Team 2 (everyone else).
Sorry... So, the people highlighted in blue are the only people we need to charge if the hours go over 40 hours.
 
Upvote 0
Okay. So, the rate makes no difference. Do you just want a number of hours? So we can ignore anything to do with hourly rates?

try this then:

Book1
ABCDEFGHI
1Team RoleDateHours
2Solution ManagerHourly Capped Team9/1/20230.5Role Hourly RateMonthly Total Hours
3Solution ArchitectHourly Capped Team9/1/20231.0Account ManagerHourly Capped Team0
4Delivery ManagerHourly Capped Team9/1/20230.3Account DirectorHourly Capped Team0
5Solution ArchitectHourly Capped Team9/4/20230.5Solution ArchitectHourly Capped Team38.5
6Solution ArchitectHourly Capped Team9/4/202335.0Solution ManagerHourly Capped Team2
7Solution ArchitectHourly Capped Team9/4/20230.5Database Developer0
8Delivery ManagerHourly Capped Team9/5/20230.5Software Engineer0
9Delivery ManagerHourly Capped Team9/5/20231.5Campaign Developer0.08
10Solution ManagerHourly Capped Team9/6/20231.0Deliverability Specialist0
11Delivery ManagerHourly Capped Team9/6/202345.0Analytics Manager0
12Delivery ManagerHourly Capped Team9/6/20230.5Strategy Manager0
13Data Services9/6/2023100.0Delivery ManagerHourly Capped Team53
14Campaign Developer9/6/20230.1Data Services100.75
15Solution ManagerHourly Capped Team9/7/20230.5
16Solution ArchitectHourly Capped Team9/7/20231.0Hourly Capped Team TotalHourly Capped Team93.5
17Solution ArchitectHourly Capped Team9/7/20230.5Total over 40 hours53.5
18Delivery ManagerHourly Capped Team9/7/20231.5
19Delivery ManagerHourly Capped Team9/7/20230.5
20Data Services9/7/20230.2
21Delivery ManagerHourly Capped Team9/8/20230.8
22Delivery ManagerHourly Capped Team9/8/20231.5
23Data Services9/8/20230.6
24Delivery ManagerHourly Capped Team9/13/20230.5
25Delivery ManagerHourly Capped Team9/13/20230.5
26
mcjohnson3211
Cell Formulas
RangeFormula
I3:I14I3=SUMIF($A$2:$A$25,G3,$D$2:$D$25)
I16I16=SUMIF($B$2:$B$25,H16,$D$2:$D$25)
I17I17=IF(I16>40,I16-40,"")
 
Last edited:
Upvote 0
Okay. So, the rate makes no difference. Do you just want a number of hours? So we can ignore anything to do with hourly rates?
Well, the rates do matter. I need to total the cost of Team 1 once 40 hours have been reached. I will need to total Team 2 for anything above 0.
 
Upvote 0
with what you've given you cannot total team 1 payment since you have no rules on how to allocate the wage to the overage.

as I asked earlier... please give a hand calculation of what you expect for the payment for the hours over 40 of team 1.
 
Upvote 0
Sorry, I tried downloading the minisheet addon but it didn't work. I think my company has protection against it. But, I'm using a VLOOKUP to get the cost of the hours in column E.

=VLOOKUP(B2,$H$3:$I$14,2,0)*D2
 
Upvote 0
with what you've given you cannot total team 1 payment since you have no rules on how to allocate the wage to the overage.

as I asked earlier... please give a hand calculation of what you expect for the payment for the hours over 40 of team 1.

So I have updated the data to add more numbers to get us beyond the 40 hours.
The total now is 48 hours (8 over).

2 hours over of Solution Architect = $400
1 hours over of Deliver Manager = $150
5 hours over of Account Manager = $750
Totaling Cost = $1,300

Team RoleDateHoursHour Fee
Delivery Manager
9/1/2023​
0.25​
$ 37.50Role Hourly RateHourly RateMonthly Total Hours
Solution Architect
9/1/2023​
1​
$ 200.00Team 1
Solution Architect
9/4/2023​
1.5​
$ 300.00Account Manager$ 150
8​
Solution Architect
9/4/2023​
0.5​
$ 100.00Account Director$ 185
0​
Account Manager
9/5/2023​
0.5​
$ 75.00Solution Architect$ 200
23​
Account Manager
9/5/2023​
0.5​
$ 75.00Solution Manager$ 200
1​
Delivery Manager
9/5/2023​
1.5​
$ 225.00Delivery Manager$ 150
16​
Delivery Manager
9/5/2023​
0.5​
$ 75.00Team 2
0​
Account Manager
9/6/2023​
0.5​
$ 75.00Database Developer$ 225
0​
Account Manager
9/6/2023​
0.5​
$ 75.00Software Engineer$ 225
0​
Solution Manager
9/6/2023​
1​
$ 200.00Campaign Developer$ 125
0​
Delivery Manager
9/6/2023​
1.25​
$ 187.50Deliverability Specialist$ 175
0​
Delivery Manager
9/6/2023​
0.5​
$ 75.00Analytics Manager$ 175
0​
Delivery Manager
9/7/2023​
1.5​
$ 225.00Strategy Manager$ 175
0​
Delivery Manager
9/7/2023​
0.5​
$ 75.00Data Services$ 175
0​
Solution Architect
9/7/2023​
1​
$ 200.00
Delivery Manager
9/8/2023​
1.5​
$ 225.00Total for Highlighted in blue
48​
Delivery Manager
9/11/2023​
1.5​
$ 225.00Total if over 40 hours
8​
Delivery Manager
9/12/2023​
0.75​
$ 112.50Cost if over 40 hours
Delivery Manager
9/13/2023​
0.5​
$ 75.00
Account Manager
9/13/2023​
0.5​
$ 75.00
Delivery Manager
9/13/2023​
0.75​
$ 112.50
Delivery Manager
9/13/2023​
0.5​
$ 75.00
Delivery Manager
9/13/2023​
1​
$ 150.00
Account Manager
9/14/2023​
0.5​
$ 75.00
Delivery Manager
9/14/2023​
2​
$ 300.00
Delivery Manager
9/15/2023​
0.5​
$ 75.00
Solution Architect
9/15/2023​
19​
$ 3,800.00
Delivery Manager
9/15/2023​
1​
$ 150.00
Account Manager
9/15/2023​
5​
$ 750.00
 
Upvote 0
So I have updated the data to add more numbers to get us beyond the 40 hours.
The total now is 48 hours (8 over).

2 hours over of Solution Architect = $400
1 hours over of Deliver Manager = $150
5 hours over of Account Manager = $750
Totaling Cost = $1,300

Team RoleDateHoursHour Fee
Delivery Manager
9/1/2023​
0.25​
$ 37.50Role Hourly RateHourly RateMonthly Total Hours
Solution Architect
9/1/2023​
1​
$ 200.00Team 1
Solution Architect
9/4/2023​
1.5​
$ 300.00Account Manager$ 150
8​
Solution Architect
9/4/2023​
0.5​
$ 100.00Account Director$ 185
0​
Account Manager
9/5/2023​
0.5​
$ 75.00Solution Architect$ 200
23​
Account Manager
9/5/2023​
0.5​
$ 75.00Solution Manager$ 200
1​
Delivery Manager
9/5/2023​
1.5​
$ 225.00Delivery Manager$ 150
16​
Delivery Manager
9/5/2023​
0.5​
$ 75.00Team 2
0​
Account Manager
9/6/2023​
0.5​
$ 75.00Database Developer$ 225
0​
Account Manager
9/6/2023​
0.5​
$ 75.00Software Engineer$ 225
0​
Solution Manager
9/6/2023​
1​
$ 200.00Campaign Developer$ 125
0​
Delivery Manager
9/6/2023​
1.25​
$ 187.50Deliverability Specialist$ 175
0​
Delivery Manager
9/6/2023​
0.5​
$ 75.00Analytics Manager$ 175
0​
Delivery Manager
9/7/2023​
1.5​
$ 225.00Strategy Manager$ 175
0​
Delivery Manager
9/7/2023​
0.5​
$ 75.00Data Services$ 175
0​
Solution Architect
9/7/2023​
1​
$ 200.00
Delivery Manager
9/8/2023​
1.5​
$ 225.00Total for Highlighted in blue
48​
Delivery Manager
9/11/2023​
1.5​
$ 225.00Total if over 40 hours
8​
Delivery Manager
9/12/2023​
0.75​
$ 112.50Cost if over 40 hours
Delivery Manager
9/13/2023​
0.5​
$ 75.00
Account Manager
9/13/2023​
0.5​
$ 75.00
Delivery Manager
9/13/2023​
0.75​
$ 112.50
Delivery Manager
9/13/2023​
0.5​
$ 75.00
Delivery Manager
9/13/2023​
1​
$ 150.00
Account Manager
9/14/2023​
0.5​
$ 75.00
Delivery Manager
9/14/2023​
2​
$ 300.00
Delivery Manager
9/15/2023​
0.5​
$ 75.00
Solution Architect
9/15/2023​
19​
$ 3,800.00
Delivery Manager
9/15/2023​
1​
$ 150.00
Account Manager
9/15/2023​
5​
$ 750.00
So, who's 8 hours is the overtime? Or do you want a weighted average?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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