 # Calculating Total Pay, Based on Hours Worked Per Day and Hourly Rates

Problem:

Listed in columns A & B are the times an employee signed in and out of work each day.
Column C contains the rate per hour for that particular day.
We want to calculate the employee's total pay.

Solution 1:

To calculate the number of hours worked per day, enter the following formula in column D:
=B2-A2+(A2>B2)
Then calculate the pay per day by entering the following formula in column E:
=C2*D2*24
Finally, use the SUM function as shown in the following formula to sum the results from column E:
=SUM(E2:E7)

## Users are saying about us...

1. Rasoul Khoshravan

What is the meaning of (A2>B2) in the first equation?

2. Hi,
I need to calculate per hour salary.? What should be the format of time in A1 and A2 cell, where A1 is time in and A2 is time out respectively. there difference will be in B1 cell.My hourly salary is 430.. i cant calculate my hourly salary...it giving me wrong answer.. can you help me regarding this matter.? bcz when I multiply 430 with the total hours worked , i am getting wrong answer.

3. No comment

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.