Issue with calculating surplus

Dennisss11

New Member
Joined
Nov 25, 2022
Messages
9
Office Version
  1. 365
Platform
  1. MacOS
Hi everyone,
Im going crazy. Although this seems easy, I can't figure out how to get the right formula.
My situation is as follows. For an stock investment strategy I am trying to calculate how much better our strategy is performing versus the stock. I have 2 variables:
1. My profit or loss. Which can be negative or positive.
2. The profit or loss from the stock. Which also could be negative or positive.
Thing is though: when the stock has a loss, and my loss is less, this should be a positive number. When the stock has a profit, and my profit is lower, this should be a negative number. When the stock has a loss and I have a profit, my gain is more than my profit. When the stock has a profit and I have a loss, visaversa.
Lets say Cell A1 = My P/L, A2 = Stock P/L, A3 = Surplus
What should be the formula for A3?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,224,609
Messages
6,179,875
Members
452,949
Latest member
Dupuhini

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