工作日加班 =COUNTIF(B13:AF13,"√")-AH13
休息日加班=COUNTIFS($B$12:$AF$12,"日",B13:AF13,"√")+COUNTIFS($B$12:$AF$12,"六",B13:AF13,"√")
注意【 $B$12:$AF$12 】是绝对引用
工作日加班 =COUNTIF(B13:AF13,"√")-AH13
休息日加班=COUNTIFS($B$12:$AF$12,"日",B13:AF13,"√")+COUNTIFS($B$12:$AF$12,"六",B13:AF13,"√")
注意【 $B$12:$AF$12 】是绝对引用