Hi,
I am facing issue to get the result of Regular hours and over time based on the following conditions.
Input is as:
A1 = Start Time
B1= End time
Conditions as:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Regular hours[/TD]
[TD]Over Time (1x)[/TD]
[TD]Over Time (1.5 x)[/TD]
[TD]Over Time(sunday- 1.5x)[/TD]
[TD]Over Time Sunday(2x)[/TD]
[/TR]
[TR]
[TD]8:00 AM to 5: PM[/TD]
[TD]6:00 AM to 7:59 AM[/TD]
[TD]9:00 PM to 5:59 AM[/TD]
[TD]6:00 AM to 9:00 PM[/TD]
[TD]9:01 PM to 5:59 AM [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5:00 PM to 9:00 PM[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like to get the formula that is for each column (as mentioned above). Suppose a person worked from 8:00 AM to 9:00 PM then its regular hours will be in regular hours column and over time in 1x and so on.
There may be a chance a person worked from 8:00 AM to 7:59 AM for 24 hours so each column will contains related hours.
any suggestion ?
I am facing issue to get the result of Regular hours and over time based on the following conditions.
Input is as:
A1 = Start Time
B1= End time
Conditions as:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Regular hours[/TD]
[TD]Over Time (1x)[/TD]
[TD]Over Time (1.5 x)[/TD]
[TD]Over Time(sunday- 1.5x)[/TD]
[TD]Over Time Sunday(2x)[/TD]
[/TR]
[TR]
[TD]8:00 AM to 5: PM[/TD]
[TD]6:00 AM to 7:59 AM[/TD]
[TD]9:00 PM to 5:59 AM[/TD]
[TD]6:00 AM to 9:00 PM[/TD]
[TD]9:01 PM to 5:59 AM [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5:00 PM to 9:00 PM[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like to get the formula that is for each column (as mentioned above). Suppose a person worked from 8:00 AM to 9:00 PM then its regular hours will be in regular hours column and over time in 1x and so on.
There may be a chance a person worked from 8:00 AM to 7:59 AM for 24 hours so each column will contains related hours.
any suggestion ?