This is the single cell formula (put on anywhere on row 2 outside data range) :
=ROUND((ROUND(((B2*8)+(C2*4))/4,0)/250)^SIGN(250-ROUND(((B2*8)+(C2*4))/4,0))*100,0)*0.9^LOOKUP(A2,{0,3;11,2;21,1})
Steps to reproduce this formula :
E2 =(B2*8)+(C2*4)
F2 =ROUND(E2/4,0)
F2 =ROUND(((B2*8)+(C2*4))/4,0)
Your if() function in G2 can be replaced to non if() formula like this :
G2 =ROUND((F2/250)^SIGN(250-F2)*100,0)
G2 =ROUND((ROUND(((B2*8)+(C2*4))/4,0)/250)^SIGN(250-ROUND(((B2*8)+(C2*4))/4,0))*100,0)
Then you need to subtract by 10% several times based on how often the value of A2 less than some conditional values. A number, subtracted by 10% is equal to 90% the number, in other words =number * 0.9
If A2 < 11 --> one time subtraction --> Number * 0.9 = Number * 0.9^1
If A2 < 21 --> two times subtraction --> (Number * 0.9) * 0.9 = Number * 0.9^2
If A2 < 31 --> three times subtraction --> ((Number * 0.9) * 0.9) * 0.9 = Number * 0.9^3
so it can be simplified as Number * 0.9^occurence
To find occurence, use lookup() function like this :
=LOOKUP(A2,{0,3;11,2;21,1})
So the final formula :
=G2 * 0.9 ^ occurence
=ROUND((ROUND(((B2*8)+(C2*4))/4,0)/250)^SIGN(250-ROUND(((B2*8)+(C2*4))/4,0))*100,0)*0.9^LOOKUP(A2,{0,3;11,2;21,1})
Bookmarks