Dates

charly1

Board Regular
Joined
Jul 18, 2023
Messages
87
Office Version
  1. 365
Platform
  1. Windows
Hi all.
I am relatively new to Excel, so despite the feeling that my q may be quite simple, Ime still finding it tricky to work it out alone. Any help would be greatly appreciated.
I have a table that lists in one column the date and time [in the same cell] of when a specific worker clocked in, and then in the adjacent column, the date and time of when he clocked out.
I have already created a couple of adjacent columns that work out the amount of hours minutes and seconds that each session actually took.
On the last column i am trying to write formula that will work out how much the worker is to be paid for that piece of work. My problem is that the wages vary, and although standard pay is 50 dollars per hour, work that was performed from Friday morning 6am until Sunday 6am gets paid 70 dollars per hour.
How would i write a formula, that works out the amount of money the worker is to be paid, taking into account when the work was performed.

Thank you so much for any help in advance!

numbegan workended workhoursminutesseconds50 per hour pay
1
2
3
4
5
6
7
8
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
My problem is that the wages vary, and although standard pay is 50 dollars per hour, work that was performed from Friday morning 6am until Sunday 6am gets paid 70 dollars per hour.
How would i write a formula, that works out the amount of money the worker is to be paid, taking into account when the work was performed.
You better do 2 things
Add a column that gives total time work in Hours-minutes in Decimals

Second, We can add IF function in wages formula using Weekday.Intl function where Friday to Sunday morning gets paid @ 70/hour and for rest @50/hour

Only challenge would be where an employee starts either before Friday 6 am or works after Sunday 6 am in one go...

Rather than giving a blank table, give some actual data to work with and give solution. Also Share any such data with any of the challenges I have mentioned (if any) to find a solution
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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