如何用EXCEL计算小区停车费的数额?
在D2输入以下公式
=IF(COUNTIFS(A:A,A2,B:B," & gt= " & ampINT(B2),B:B," <& ampINT(B2+1))& gt;1,IF(COUNTIFS(A$2:A2,A2,B$2:B2," & gt= " & ampINT(B2),B$2:B2," <& ampINT(B2+1))=1,5,0),IF((C2-B2)* 24 & gt;12,(C2-B2)*24/12*5,查找((C2-B2)*24,{0,1},{0,5}))
下拉填充