一个考勤机里导出来的数据明细:
A3公式:=IF(MOD(ROW(Sheet1!U5),2)=1,Sheet1!U5,INDIRECT("Sheet1!U"&ROW(Sheet1!U5)-1))
B3公式:=IF(MOD(ROW(Sheet1!K5),2)=1,Sheet1!K5,INDIRECT("Sheet1!K"&ROW(Sheet1!K5)-1))
C3公式:=IF(MOD(ROW(Sheet1!K5),2)=1,"A"&ROW(Sheet1!K5)+1,"A"&ROW(Sheet1!K5))
D3/D4公式:=MID(Sheet1!A6,IF(MOD(ROW(),2)=1,1,6),5)
时间提取区域的公式生成方法:
=or(if(mod(row(),2)=1,f25>8:35),if(mod(row(),2)=0,f25<17:25))
=or(if(mod(row(),2)=1,E25>8:35),if(mod(row(),2)=0,E25<17:25))
=or(and(mod(row(),2)=1,f25>8:35),and(mod(row(),2)=0,f25<17:25))
=and
and(mod(row(),2)=1,f25>8:35)
and(mod(row(),2)=0,f25<17:25)
08:35 0.357638888888889
12:00 0.5
17:25 0.725694444444445
=or(and(mod(row(),2)=1,A1>0.357638888888889),and(mod(row(),2)=0,A1<0.725694444444445))
先替换
查只打下班卡 12:00之后打卡
=IF(MOD(ROW(),2)=1,COUNTIF(D25:AH25,">0.5"),0)
查迟到早退
=if(mod(row(),2)=1,countif(d3:ah3,">0.357638888888889"),countif(d3:ah3,"<0.725694444444445"))
查打卡次数
=count(a3:ah3)
欢迎转载,但请注明内容的来源或URL;
“[转]”篇章,必须保留原始来源且勿添加本blog指向。