Forum Discussion
MASB70
Apr 17, 2022Copper Contributor
Function that calculates salaries depending on the IN and OUT time
Hi everyone, I am looking for a dynamic formula that can calculate work schedules. Depending on the schedules, the wage value changes. Example Criteria From 19:00 to 1:00 am, the wage is 2,000 Fr...
mathetes
Apr 17, 2022Silver Contributor
Before we deal with the formula, I'd want to understand the table. It seems that there's a big gap in the rate schedule: what rate applies between 4:00 and 19:00?
And why the question mark on that one row? Isn't the answer simple?
Rob. 19:00. 23:30. ?
That looks like 4.5 hours at 2,000. i.e., 9,000 Right?
- MASB70Apr 17, 2022Copper ContributorMathetes,
Thank you for your interesting in my problem.
The schedule is at nighttime.
Then the rate is from 19:00 to 1:00 the wage is 2,000 per hour
From 1:00 until 4:00 in the morning the wage is 2,500 per hour
In the case of my example Rob, yes the wage will be 9,000, however the formula that I'm using now has problems when the worked time doesn't pass 24:00
I hope this explanation can help you.
Thank you- HansVogelaarApr 17, 2022MVP
Did you look at the last reply in Calculate wage by hours ?
- MASB70Apr 17, 2022Copper Contributor
Hans
Sorry I did not find your reply until right now.
I will try the formula updated when I get home in few minutes.
Just say thank you for your time and your help
MAS