Hi all
I have created a simple spreadsheet to allow me to enter a sales price for a product. The spreadsheet has a cost price and I then key a sales price. In the next column it shows the margin as a percentage using (sp-cp/sp). So this works fine but there are times where I have a margin in mind first and I want it work out the sales price for me instead so sort of reversing what I have already. I could do a new spreadsheet which allows me to type in the cost price and the margin and then show the sales price but is there a way to do this on the same spreadsheet so I effectively either type in the sales price or the margin % and it then works out the other. The margin box has the equation in it at the moment so if I was to type something into that it would presumably delete the equation and I suppose the same would happen if I was to enter an equation in the sale price. Maybe I need some sort of 'what if' statement in each box. If the cell is blank then resort to the equation, if not then accept the value typed in. Hope that all made sense to someone!!
I have created a simple spreadsheet to allow me to enter a sales price for a product. The spreadsheet has a cost price and I then key a sales price. In the next column it shows the margin as a percentage using (sp-cp/sp). So this works fine but there are times where I have a margin in mind first and I want it work out the sales price for me instead so sort of reversing what I have already. I could do a new spreadsheet which allows me to type in the cost price and the margin and then show the sales price but is there a way to do this on the same spreadsheet so I effectively either type in the sales price or the margin % and it then works out the other. The margin box has the equation in it at the moment so if I was to type something into that it would presumably delete the equation and I suppose the same would happen if I was to enter an equation in the sale price. Maybe I need some sort of 'what if' statement in each box. If the cell is blank then resort to the equation, if not then accept the value typed in. Hope that all made sense to someone!!