codecamp

EXCEL 计算公司员工的工作时间

中国教程网zhangditony翻译,转载请保留此信息 .
 

To calculate an employee's working hours:计算一个员工的工作时间

Enter the following formula into a cell:
在一个单元格里输入下面的公式
=C2-B2+IF(B2>C2,1)
The number 1 in the IF formula equals 24 when working with time.
数字1在IF公式里相当于24
For example, in D4 the calculation is
例如在D4单元格计算如下:
6.00 - 20.31+ 24.00 = 9.29.

20070705_27fd85e1d8f2f14870c5t5uqvfvlkr0q[1].jpg

EXCEL 计算工龄、年龄的实用函数
EXCEL 排序后序号保持不变
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定