Calculate WIN/LOSS percentage

PhilipeC

Board Regular
Joined
May 1, 2018
Messages
56
I want to calculate the WIN/LOSS percentage from columns H4 to H20. All numbers below 0 would be considered a loss and all numbers above zero a win, and the result = %. Just an example of four numbers H4=10,H5=100,H6=-30,H8=-10 than WIN/LOSS is two wins and two losses resulting in 50%. The result would be only in percetange.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
WIN formula: =COUNTIF(H:H,">0")/COUNT(H:H)
LOSS formula: =COUNTIF(H:H,"<0")/COUNT(H:H)

Format cells as %


Excel 2010
HIJK
410WIN %:50%
5100LOSS %:50%
6-30
7-10
8
Sheet1
Cell Formulas
RangeFormula
K4=COUNTIF(H:H,">0")/COUNT(H:H)
K5=COUNTIF(H:H,"<0")/COUNT(H:H)
 
Upvote 0
Instead of having two cells one for WIN% and another for LOSS% i just want one cell for WIN/LOSS RATE. The WIN would - LOSS , an example: there is five numbers from columns H4 TO H8, H4 = -44, H5=-12, H6=-110,H7=33,H8=56 , than the WIN/LOSS rate would be WINS - LOSSES in percentage , in this case 2 wins and 3 losses resulting in a 40% WIN/LOSS rate which means only 40% of the numbers is positive above zero.
 
Upvote 0

Forum statistics

Threads
1,223,099
Messages
6,170,107
Members
452,302
Latest member
TaMere

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