Need Help Calculating Wins/Losses, and Avg Win/Loss

sacajamo

New Member
Joined
May 9, 2007
Messages
18
Working on a spreadsheet for some daytrade data, I needed help calculating a couple of things. See column below as an example:. If I wanted to calculate "win-loss" as an output of 7-3 (any positive # is a win, any negative # is a loss, and it would be considered a "tie" if $0). Second question, is there a formula that would only pull the 7 "wins" below and compute average win and another that pulls the 3 "losses" and computes average loss.
Win/Loss
$1.96
-$0.87
$0.80
-$0.26
-$2.64
$2.05
$0.56
$0.52
$2.05
$3.00
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
How about this?
Book2
ABCDE
1Win/LossWinLoss
2$1.96Count73
3($0.87)Average1.56285714-1.2566667
4$0.80
5($0.26)
6($2.64)
7$2.05
8$0.56
9$0.52
10$2.05
11$3.00
Sheet1
Cell Formulas
RangeFormula
D2D2=COUNTIF(A2:A11,">0")
E2E2=COUNTIF(A2:A11,"<0")
D3D3=AVERAGEIF(A2:A11,">0")
E3E3=AVERAGEIF(A2:A11,"<0")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

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