满足多重区域条件计算
满足多重区域条件计算。 如 要达到A是多少,B是多少。才能是这一档次。选中C2:C16,输入:
=MAX((E2-{7,15,20}>0)*(E6-{70,150,200}>0)*{100,200,300})
Ctrl + enter结束 C2:=IFERROR(LOOKUP(1,0/COUNTIFS(E2,">"&{7,15,20},E6,">"&{7,15,20}*10),{1,2,3})*100,0)
下拉。 简化:
=MAX((E2>{7,15,20})*(E6>{7,15,20}*10)*{1,2,3}*100) C2合併格公式{=LOOKUP(1,0/(E2>{0,7,15,20})/(E6>{0,70,150,200}),{0,1,2,3}/1%)
页:
[1]