我的Excel电子表格中包含以下数据,我想识别尚未花费且已关闭的商店
OutletID Name Trans Spend Customers
1234 Store1 61 $1,139.02 56
1235 ClosedStore2 0 0 0
我有以下公式:
=IF(AND(SUM(C2:F2)=0,LEFT(B2,6)="Closed","DELETE"),"")
但似乎不起作用,因为它返回#VALUE!
答案 0 :(得分:5)
你的支架放错位置。
=IF(AND(SUM(C2:E2)=0,LEFT(B2,6)="Closed"),"DELETE","")