I need to make a calculation for profit, but am struggling due to the fact the actual price is a calculation based on another price. If the original price is is any of 3 price ranges, it has a multiplication factor
Here is the normal profit calculation
Simply if K (Home Goals) does not equal J (Away Goals), then we do a simple profit calculation based on the price in AO. We are betting the game is NOT a draw
Here's the rub, though; the original price is to Back the draw and we don't have the Lay prices in this sheet, so we are approximating. There are 3 price ranges and this formula works correctly adjusting the price from AO.
So basically if price is <=3, price is increased by 10%; if <=10, price is increased by 15% and if over 10, it is increased by 20%.
How is it possible to have the codes combined so that profit or loss is calculated on any of the 3 possible prices and not the original price in AO?
Thanks in advance
Here is the normal profit calculation
=IF(AO21<>"",IF(K21<>J21,(AO21-1)*1,-1),"0")
Simply if K (Home Goals) does not equal J (Away Goals), then we do a simple profit calculation based on the price in AO. We are betting the game is NOT a draw
Here's the rub, though; the original price is to Back the draw and we don't have the Lay prices in this sheet, so we are approximating. There are 3 price ranges and this formula works correctly adjusting the price from AO.
=IF(AO21<=3,L20*1.1,IF(AO21<=10,L20*1.15,IF(AO22>10,L20*1.2,"0")))
So basically if price is <=3, price is increased by 10%; if <=10, price is increased by 15% and if over 10, it is increased by 20%.
How is it possible to have the codes combined so that profit or loss is calculated on any of the 3 possible prices and not the original price in AO?
Thanks in advance