问题已解决
請(qǐng)問(wèn)我要核算平常加班時(shí)數(shù),用什么函數(shù)呢



你好,如果算加班的小時(shí)數(shù)不一定,可以用條件求和sum()或sumif()或sumifs(),
如果只記次,可以使用統(tǒng)計(jì)函數(shù)countif()或countifs()
2022 01/13 20:58

84784948 

2022 01/13 21:35
考勤打卡時(shí)間表,正常下班時(shí)間是六點(diǎn),六點(diǎn)之后算是加班,我想要統(tǒng)計(jì)每天六點(diǎn)后的加班鐘數(shù)

楊揚(yáng)老師 

2022 01/13 21:57
你好,可以參考如下:
先整理好考勤表格數(shù)據(jù):正常下班時(shí)間、實(shí)際下班時(shí)間、加班時(shí)間然后在加班時(shí)長(zhǎng)下面輸入第一個(gè)函數(shù)=TEXT(),再在TEXT中再輸入MOD()函數(shù),在MOD()函數(shù)中,使用實(shí)際下班時(shí)間減去下班時(shí)間,為了分辯小時(shí)和分鐘,再后面加入一個(gè)描述,H小時(shí)M分鐘,示例公式參考:=TEXT(MOD(D2-C2,1),H小時(shí)M分鐘)? 其中D2是實(shí)際下班時(shí)間,C2是正常下班時(shí)間,然后其他的單元格,直接拖一下就可以了。如圖
FAILED

84784948 

2022 01/13 22:40
那如何提取下班時(shí)間???因?yàn)閷?dǎo)出來(lái)的打卡記錄,打卡時(shí)間都是在一個(gè)單元格內(nèi)

楊揚(yáng)老師 

2022 01/13 22:49
不知道單元格內(nèi)容是怎么顯示的?

楊揚(yáng)老師 

2022 01/13 22:50
如果是日期和時(shí)間顯示在一起是可以拆分的

84784948 

2022 01/13 22:51
這樣顯示的
FAILED

楊揚(yáng)老師 

2022 01/13 23:03
額,這個(gè)有點(diǎn)復(fù)雜哦,簡(jiǎn)單的函數(shù)無(wú)法處理了,能不能聯(lián)系打卡機(jī)方面或者打卡系統(tǒng)軟件方面解決一下,單元格中的數(shù)字沒(méi)有什么規(guī)律,簡(jiǎn)單的表格函數(shù),真的很難處理了。

楊揚(yáng)老師 

2022 01/13 23:06
你看看兩個(gè)時(shí)間中間有沒(méi)有空格 有空格的話(huà)都能處理,沒(méi)有空格的話(huà)就分不開(kāi)了,人數(shù)多的話(huà),這就只能找打卡軟件方解決問(wèn)題了。人數(shù)不多可以考慮換一種打卡系統(tǒng)。

楊揚(yáng)老師 

2022 01/13 23:09
人數(shù)不多的話(huà)還可以考慮手動(dòng)在表格兩個(gè)時(shí)間中插曲空格符號(hào),多次打卡的刪除無(wú)效打卡,然后再拆分兩個(gè)時(shí)間。
