=IF(A2<=10,0,IF(A2<=20,(A2-10)/2,5+(A2-20)*0.8))
公式:=IF(A2<=10,0,IF(A2<=20,(A2-10)*0.5,(A2-20)*0.8+10*0.5))