我需要根據數字在特定範圍內的位置應用不同的倍數。例如:
IF >1000000 is the base, THEN base minus 1000000, multiplied by .015+25000
IF >150000<1000000 is the base, THEN base multiplied by .025
IF <150000 is the base, THEN base multiplied by .030
這就是我想出來的(b5=base):
=IF(b5>1000000),(B5-1000000)*0.015+250000,IF(B5>150000<1000000),B5*0.025,IF(B5<150000),B5*0.03
我缺什麼? MB
答案1
你可以用這個公式來做:
=IF(B5>1000000,(B5-1000000)*0.015+25000,
IF(B5>150000,B5*0.025,
B5*0.03))
請注意,您的問題不一致 - 您可能需要替換+25000
為*25000
!