问题已解决
統(tǒng)計每位員工的事假和病假小時數(shù),用什么函數(shù)?



SUMIF函數(shù)用于根據(jù)單一條件對單元格進行求和。假設(shè)你的數(shù)據(jù)在A列(事假小時數(shù))和B列(病假小時數(shù)),并且員工姓名在C列,你可以使用以下公式:
excel
=SUMIF(C:C, A2, A:A) + SUMIF(C:C, B2, B:B)
這個公式將計算第2行員工的總事假和病假小時數(shù)。你需要將公式拖動到整個數(shù)據(jù)范圍以計算所有員工的總小時數(shù)。
2024 01/24 12:38

84785029 

2024 01/24 12:51
事假和病假在同一列,求每個員工的時數(shù)

84785029 

2024 01/24 13:17
數(shù)據(jù)透視表怎么用呢?

王超老師 

2024 01/24 13:35
那你這個可以直接用篩選的
