I am trying to build a formula that would allow numeric values of cells A2-H2 to affect the following formula, but I keep getting errors if I add too many "values/formulas" to a single string. Is there a better formula to use to build this? I need to be able to attach this formula to numerous spread sheets to modify data. The profit margin has to be different based upon cost of item.
Example:
A2=8% B2=9% C2=10%, etc etc
Cost $25(B5), Margin should be set to 20%(E2), New price is $31.39 (E5)
Cost $125(B5), Margin should be set to 10%(C2), New Price is $139.99 (E5)
*A2-H2 represent gross profit margins
*B5-B1500 represent cost of goods
*E5-E1500 represent new price of goods rounded to the nearest $.99 or $.09
*F5-F1500 represent new price of goods rounded to nearest $.09 when B5-B1500<$10.
Formula for E5:
=IF(B5>=250,SUM(ROUND(B5/(1-$A$2),0),0.99),IF(B5>=175,SUM(ROUND(B5/(1-$B$2),0),0.99),IF(B5>=100,SUM(ROUND(B5/(1-$C$2),0),0.99),IF(B5>=50,SUM(ROUND(B5/(1-$D$2),0),0.99),IF(B5>=25,SUM(ROUND(B5/(1-$E$2),1),0.09),IF(B5>=10,SUM(ROUND(B5/(1-$F$2),1),0.09),""))))))
Formula for F5:
=IF(B5>=4, IF(B5<10, SUM(ROUND(B5/(1-$G$2),1),0.09),""), SUM(ROUND(B5/(1-$H$2),1),0.09))
Excel is not allowing E5 & F5 to be in a single formula due to its limits of number of formulas allows per line.
Bookmarks