I have a number in cell B4 it can be anything from 0 to over 10 million. I need the formula to return a number based on each of the criteria below:
Return 40% of C4 for a number up to and including 10 000
In addition to the above add 25% of anything between 100 000 and 10 000
In addition to the above add 10% of anything between 1 000 000 and 100 000
In addition to the above add 5% of anything between 10 000 000 and 1 000 000
In addition to the above add 0.025% of anything above 10 000 000
The formula I have for this is:
=MAX(IF(B4<=10000,40/100*B4,IF(B4<=100000,(40/100*10000+25/100*(B4-10000)),IF(B4<=1000000,(40/100*10000+25/100*(90000)+10/100*(B4-100000)),IF(B4<=10000000,(40/100*10000+25/100*(90000)+10/100*(900000))+5/100*(B4-1000000),(40/100*10000+25/100*90000+10/100*900000+5/100*9000000+0.025/100*(B4-10000000)))))))
I just want to make sure it is correct and that it is the best way of doing it. I would appreciate if someone can proof read this formula and perhaps even suggest another way of doing it to cross check. If the above isn't clear enough, I can add an example.
You can use this formula to choose which tier C4 is in:
Then use the
CHOOSEfunction to select the correct calculation:These can be combined into a single formula:
Finally, you can algebraically simplify the calculations:
Hope that helps.