% Calculations for positive and negative

AbrahamGluck

Board Regular
Joined
Apr 12, 2016
Messages
129
Office Version
  1. 365
Platform
  1. Windows
SymbolPrice nowPaid - Credit/DebitWin/Loss %Expectation %Expectation $
AAPL-1.50-3.00WIN50%$1.50
AAPL+1.88+1.50WIN25%$0.375
AAPL+1.88+1.5025%50%$0.75
AAPL-6.00-3.00-100%50%$1.50

<tbody>
</tbody>


I have this Table above I want help for column D and F
Column A is the product,
Column B is the Price as of now,
Column C is Price I paid or received for the sale,
Column E is my % expectation to return on the capitol on my paid price, Column F is the same with the $ amount
Column D is Results after calculating if Column B (price now) met the Expectation (column E) after checking Column C what I paid for it at the first place, and the formula needs to work for positive and negative as you can see the difference in the table
if the excitation is as expected the return should be WIN if anything other the return should be a % amount if its profit is a positive % or negative for loss -%
 
Re: % Calculations for positive and negetive

Hi,

Last attempt:


Book1
ABCDEF
1SymbolPrice nowPaid - Credit/DebitWin/Loss %Expectation %Expectation $
2AAPL-1,5-3Win50%1,5
3AAPL1,881,5Win25%0,375
4AAPL1,881,525%50%0,75
5AAPL23,01-34%25%0.75
6AAPL-4-3-33%125%0.76
Sheet1
Cell Formulas
RangeFormula
D2=IF((B2-C2)>=F2,"Win",ABS((B2-C2)/C2)*SIGN(B2-C2))
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Re: % Calculations for positive and negetive

Hi,

Last attempt:

ABCDEF
1SymbolPrice nowPaid - Credit/DebitWin/Loss %Expectation %Expectation $
2AAPL-1,5-3Win50%1,5
3AAPL1,881,5Win25%0,375
4AAPL1,881,525%50%0,75
5AAPL23,01-34%25%0.75
6AAPL-4-3-33%125%0.76

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
D2=IF((B2-C2)>=F2,"Win",ABS((B2-C2)/C2)*SIGN(B2-C2))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>


That's great, just test it out on a few ways, and it works great!
 
Upvote 0

Forum statistics

Threads
1,216,550
Messages
6,131,304
Members
449,642
Latest member
jobon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top