Hi, I wish to string a formula but I couldn't get it no matter how many times I attempt it. Please teach me how to do this.

Under [Type], if it is selected to "Bought" it will do an addition of J+K+L+M+N to answer to appear at cell [O]

However when it is selected to "Sold" it will do a subtraction of J+K+L+M+N to answer to appear at cell [O]

Screen Shot 2018-07-07 at 12.53.21 PM.png