公式:=B1-A1+IF(WEEKDAY(B1)=7,1,IF(WEEKDAY(B1)=1,2,0))
=IF(WEEKDAY(B1)=7,B1-A1+2,IF(WEEKDAY(B1)=1,B1-A1+1,B1-A1))