Hank Moore
Member
Novice user here. I would like to be able to plug in a desired margin and/or markup % and show sell price. In conjunction want to show actual margin and/or markup % based on what input is.
So:
A2 = Cost
B2 = Desired Markup
C2 = Desired Margin
D2 = Sell Price
E2 = Actual Markup
F2 = Actual Margin
If the user puts a value in A2, the formula returns a value in A4 but also in A5 & A6.
If the user puts a value in A3, the formula returns a value in A4 but also in A5 & A6
Originally, I wanted to write "if there's a value in both A2 & A3, return "Error" in A4 but got stuck with the "and" part. Here's what I have.
=IF(B2>1,(A2*(100+B2)%),IF(C2>1,(D2-A2)/A2)), IF(B2>1,and C2>1,"Error")
The idea here was to enable the user to play with the markup, margin or sell price and see how that affects the other two. Is there a way to lock the formula in D2 but allow the user to manually enter a value?
Thank you
So:
A2 = Cost
B2 = Desired Markup
C2 = Desired Margin
D2 = Sell Price
E2 = Actual Markup
F2 = Actual Margin
If the user puts a value in A2, the formula returns a value in A4 but also in A5 & A6.
If the user puts a value in A3, the formula returns a value in A4 but also in A5 & A6
Originally, I wanted to write "if there's a value in both A2 & A3, return "Error" in A4 but got stuck with the "and" part. Here's what I have.
=IF(B2>1,(A2*(100+B2)%),IF(C2>1,(D2-A2)/A2)), IF(B2>1,and C2>1,"Error")
The idea here was to enable the user to play with the markup, margin or sell price and see how that affects the other two. Is there a way to lock the formula in D2 but allow the user to manually enter a value?
Thank you