uswyne
Board Regular
- Joined
- Jul 27, 2017
- Messages
- 78
- Office Version
- 2019
- 2016
- 2013
- 2010
- Platform
- Windows
[TABLE="class: grid, width: 405"]
<colgroup><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]Formula use[/TD]
[/TR]
[TR]
[TD]Date2[/TD]
[TD]Weekday[/TD]
[TD]Time In [/TD]
[TD]Time Out[/TD]
[TD]Status[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]21-Oct-17[/TD]
[TD]Saturday[/TD]
[TD]9:00:00[/TD]
[TD]14:00:00[/TD]
[TD]Present[/TD]
[TD]=IF(D3="","",IF(D3="Sunday","Off Day",IF(E3="","Absent",IF(F3="","Absent",IF(D3="Saturday",(IF(F3<TIME(14,0,0),"Early Going",IF(D3="Saturday",(IF(E3>TIME(9,0,59),"Late Coming","Present")),(IF(E3>=TIME(7,30,59),"Late Coming",IF(F3<TIME(15,30,0),"Early Going","Present")))))))))))[/TD]
[/TR]
[TR]
[TD]22-Oct-17[/TD]
[TD]Saturday[/TD]
[TD]9:00:00[/TD]
[TD]14:00:00[/TD]
[TD]Present[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]24-Oct-17[/TD]
[TD]Monday[/TD]
[TD]7:30:00[/TD]
[TD]15:30:00[/TD]
[TD]FALSE[/TD]
[TD]how to meet these below conditions[/TD]
[/TR]
[TR]
[TD]25-Oct-17[/TD]
[TD]Tuesday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]26-Oct-17[/TD]
[TD]Wednesday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]27-Oct-17[/TD]
[TD]Thursday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]28-Oct-17[/TD]
[TD]Friday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
formula I have entered is not working for weekdays, kindly help me on this regard.
Thanks
<colgroup><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]Formula use[/TD]
[/TR]
[TR]
[TD]Date2[/TD]
[TD]Weekday[/TD]
[TD]Time In [/TD]
[TD]Time Out[/TD]
[TD]Status[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]21-Oct-17[/TD]
[TD]Saturday[/TD]
[TD]9:00:00[/TD]
[TD]14:00:00[/TD]
[TD]Present[/TD]
[TD]=IF(D3="","",IF(D3="Sunday","Off Day",IF(E3="","Absent",IF(F3="","Absent",IF(D3="Saturday",(IF(F3<TIME(14,0,0),"Early Going",IF(D3="Saturday",(IF(E3>TIME(9,0,59),"Late Coming","Present")),(IF(E3>=TIME(7,30,59),"Late Coming",IF(F3<TIME(15,30,0),"Early Going","Present")))))))))))[/TD]
[/TR]
[TR]
[TD]22-Oct-17[/TD]
[TD]Saturday[/TD]
[TD]9:00:00[/TD]
[TD]14:00:00[/TD]
[TD]Present[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]24-Oct-17[/TD]
[TD]Monday[/TD]
[TD]7:30:00[/TD]
[TD]15:30:00[/TD]
[TD]FALSE[/TD]
[TD]how to meet these below conditions[/TD]
[/TR]
[TR]
[TD]25-Oct-17[/TD]
[TD]Tuesday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]26-Oct-17[/TD]
[TD]Wednesday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]27-Oct-17[/TD]
[TD]Thursday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]28-Oct-17[/TD]
[TD]Friday[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Absent[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
formula I have entered is not working for weekdays, kindly help me on this regard.
Thanks