|
|
添加到我关注的
关于考勤工时审批不正确的一例子
考勤审批公式如下 if( iftown="C", if (if(out_hh+ nrt+ gxt + faddays*8 - if( workdays > indays, (indays + faddays) *8 , 174)>0, out_hh+ nrt+ gxt + faddays*8 - if( workdays > indays, (indays + faddays) *8 , 174),0)>ovc,ovc, if(out_hh+ nrt+ gxt + faddays*8 - if( workdays > indays, (indays + faddays) *8 , 174)>0, out_hh+ nrt+ gxt + faddays*8 - if( workdays > indays, (indays + faddays) *8 , 174),0)),if(door_times ="Y", IF( nrt + gxt <= ovc , nrt , IF( ovc >= nrt ,nrt, ovc)), 0))
有个人其审批结果却为0
------------------分析原因--------------
该公式只受2个参数控制,一个是if_town 一个是 door_times
建议重新分配设置这2个参数看看情况,因为如果没有保存好,该2个参数可能会并非设置的值
--------------------------结果-------------------
修正参数后,结果正确