Calculate overtime in Excel

novaislam

New Member
Joined
Jan 2, 2018
Messages
1
Hello People!
I am working on an excel sheet which will calculate attendance, as well as overtime. Our policy is- if the overtime is less than an hour, we don't pay for it, if it is more, then the employee get paid.
Now I want something which will keep the value in column A, if it is less than an hour, and keep it on column B if the value is 60 minutes or above.
How can I do that?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
So i assume you have an overtime column (say Column C) and its in minutes

Then in column A you can use =IF(C2<60,C2/60,""), this will give the value in hours or simply =IF(C2<60,C2,"") for minutes or =IF(C2<60,C2/60,0)
Column B, =IF(C2>=60,C2/60,"") or =IF(C2>=60,C2,"") in minutes or =IF(C2>=60,C2/60,0) to place a Zero in the cell when the criteria is not met rather than using a blank
 
Upvote 0

Forum statistics

Threads
1,215,040
Messages
6,122,806
Members
449,095
Latest member
m_smith_solihull

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