Time Sheet Calculations

Mikedwi

New Member
Joined
Feb 10, 2022
Messages
6
Office Version
  1. 365
Platform
  1. MacOS
Hi folks,
I am pretty new to using excel formulas and I have tried but I can't seem to figure this one out... I am trying to do a time sheet and on Saturdays being overtime for the first 2 hours I get paid at one rate, and after the first 2 hours I get paid another rate, I am trying to figure out a formula to automatically work out my pay. So say for example on a certain Saturday I worked 10 hours, in Cell A1 I would have the hours worked (10) and in cell B1 id like it to automatically work out how much I got paid. So say for example I got paid $15 an hour for the first 2 hours and then $20 an hour for the rest of the time in Cell B1 the total would say $190 (2hrs x $15 + 8hrs x $20)
Would anyone have any thoughts on how to do this?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
A1 = 10
B1 = If ( A1 >=2 , ((A1-2)*20) + 30 ) , IF( A1 >0 , A1*15 , 0 ))
you can have the 20 & 15 rates in different cells as use those , so if the rate changes all you need to do is update the rate and not all the formulas

If you post your spreadsheet here using XL2BB , then we can add to the spreadsheet

Assume normal rate is in C1 & OT in D1
B1 = If ( A1 >=2 , ((A1-2)*D1) + (C1*2) ) , IF( A1 >0 , A1*C1 , 0 ))
 
Upvote 0
Solution
here's one way
------------
Book1
AB
1hourspay
210190
312230
414270
58150
66110
711210
Sheet1
Cell Formulas
RangeFormula
B2:B7B2=IF(A2="","",((2*15)+(A2-2)*20))
 
Upvote 0

Forum statistics

Threads
1,214,412
Messages
6,119,369
Members
448,888
Latest member
Arle8907

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