在E2中输入或复制粘贴下列公式=IF(C2-"8:45">0,"迟到"&TEXT(C2-"8:45","[M]分钟"),"")下拉填充在F2中输入或复制粘贴下列公式=IF(D2-"17:00">0,"","早退"&TEXT("17:00"-D2,"[M]分钟"))下拉填充